I need to deploy containers on ec2 which is a handled in ECS.

0

Hi, i am getting issues in creating the services and the task which are associated with the ec2 based environmen which is under the creation of cluster of ec2 , i need to know the exactness like, how these will be deployed and created with the public ip.

nitin
已提問 7 個月前檢視次數 193 次
2 個答案
0

Hi, I think we need more details and some screens would also be helpful.

profile picture
已回答 7 個月前
  • i want to have the 5 container running inside the one task and one service within the same cluster, but didn't find the right approach however i want to use the ec2 instance to deploy them with ECS. whenever i am fetching the container with one single container with nginx image as test image then it is flashing the output but once i did with multicontainer for different images then it went from pending state to stopped one with new task defination as revision. kindly advice me like how to deploy the microservices with ECS if i have multi-images in ECR. do mention the port mapping like i have used one port(host:container __:80) in one container then can't i use the same 80 of container for tthe other as i want to have the dynamic port of host and container port as 80

0

Without more details on your use case, the best we can do is point you to the docs. I would take a look at the getting started section of the ECS documentation which is located here: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/getting-started.html

已回答 7 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南