Day38: Deploying Containerized Applications with Amazon ECS| 100Days of Cloud(AWS)|Kodekloud
Автор: Elsa
Загружено: 2026-02-13
Просмотров: 17
Описание:
1.Open Amazon ECR console
choose private repositories, and then choose create repository
Enter repository name
choose create
2.Build docker image on aws-cient host and tag and then push image to ECR
from LCI
cd pyapp/
docket build -t repository url
aws ecr get-login-password | docker login --username AWS --password-stdin repository url
docker push repository url
3.create and configure ECS cluster
Open the Amazon ECS console and choose Cluster.
Click on Create and under Cluster configuration enter cluster name
Next on the Infrastructure pane, select Farget only
choose create
4. Create an ECS Task definition
From the Amazon ECS dashboard navigation pane, select Task Defination.
Click create new task defination
Under Task defination configuration, enter name
Next under Infrastructure requirments, select AWS Farget.
Next browse Docker image from the created ECR repository using Browse ECR images button.
Leave every other options as default and click on Create
5.Deploy the Application Using ECS Service
Go to Clusters from navigation pane of Amazon ECS.
On the Service tab, click Create
choose task definition
Enter service name
On the Environment pane, select Farget as launch type.
Choose default vpc and subnets of choice and leave other options as default.
Go to VPC Dashboard and change default security group with an HTTP inbound rule for 0.0.0.0/0.
click create
Click on the running task shown. Enter the public IP address to a browser from Configuration pane.
In the browser, you see Welcome to KKE AWS cloud labs! text in a web page.
#myanmarit#AWS #KodeKloud #100DaysOfCloud #CloudComputing #DevOps
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: