From fd9cbe16323443b1982a2cd86524d0993e0f0bd3 Mon Sep 17 00:00:00 2001 From: tulna07 Date: Fri, 27 Sep 2024 13:39:02 +0700 Subject: [PATCH] update --- content/5-Create-AWS-ECR/_index.md | 12 ++++++------ .../1-Create-ECS-Task-Definition/_index.md | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/content/5-Create-AWS-ECR/_index.md b/content/5-Create-AWS-ECR/_index.md index 971eb46..b5838c4 100644 --- a/content/5-Create-AWS-ECR/_index.md +++ b/content/5-Create-AWS-ECR/_index.md @@ -21,28 +21,28 @@ You now create a AWS ECR private repository and push a dummy Docker image to it. ![0002](/images/5/0002.svg?featherlight=false&width=100pc) -Scroll down to the bottom. Click **Create repository**. +**4.** Scroll down to the bottom, click **Create repository**. ![0003](/images/5/0003.svg?featherlight=false&width=100pc) -**4.** Turn on [Docker Desktop](https://www.docker.com/products/docker-desktop/) or any program that can build and push your Docker image to AWS ECR repository. This workshop will use Docker Desktop as an example. +**5.** Turn on [Docker Desktop](https://www.docker.com/products/docker-desktop/) or any program that can build and push your Docker image to AWS ECR repository. This workshop will use Docker Desktop as an example. ![0004](/images/5/0004.svg?featherlight=false&width=100pc) -**5.** Clone the following repository [github.com/Definitely-not-AWS-Workshops/ip-printer](https://github.com/Definitely-not-AWS-Workshops/ip-printer). +**6.** Clone the following repository [github.com/Definitely-not-AWS-Workshops/ip-printer](https://github.com/Definitely-not-AWS-Workshops/ip-printer). ```git git clone https://github.com/Definitely-not-AWS-Workshops/ip-printer ``` -Change the directory to the repository you have just cloned. +**7.** Change the directory to the repository you have just cloned. ```git cd ip-printer ``` -**6.** Run the following commands to build and push Docker image to AWS ECR repository, +**8.** Run the following commands to build and push Docker image to AWS ECR repository, - Retrieve an authentication token and authenticate your Docker client to your registry. Replace **\** with yours. Use the AWS CLI, @@ -68,6 +68,6 @@ docker tag awsome-books:latest .dkr.ecr.us-east-1.amazonaws docker push .dkr.ecr.us-east-1.amazonaws.com/awsome-books:v0.0.0 ``` -**7.** Check out your AWS ECR private repository to find the Docker image with the tag v0.0.0. Make a note of the **Image URI** using the **Copy URI** button for a later use. +**9.** Check out your AWS ECR private repository to find the Docker image with the tag v0.0.0. Make a note of the **Image URI** using the **Copy URI** button for a later use. ![0005](/images/5/0005.svg?featherlight=false&width=100pc) diff --git a/content/7-Create-AWS-ECS-Resources/1-Create-ECS-Task-Definition/_index.md b/content/7-Create-AWS-ECS-Resources/1-Create-ECS-Task-Definition/_index.md index 64ea031..03370d5 100644 --- a/content/7-Create-AWS-ECS-Resources/1-Create-ECS-Task-Definition/_index.md +++ b/content/7-Create-AWS-ECS-Resources/1-Create-ECS-Task-Definition/_index.md @@ -33,7 +33,7 @@ Let's create an AWS ECS Task Definition - a JSON file that defines the configura **5.** In the **Container - 1** section, - For **Name**, enter `awsome-books`. -- For **Image URI**, choose one that you have noted down in step **7** in [5. Create AWS ECR](5-create-aws-ecr). +- For **Image URI**, choose one that you have noted down in step **9** in [5. Create AWS ECR](5-create-aws-ecr). - For **Container port**, enter `8080`. ![0004](/images/7/1/0004.svg?featherlight=false&width=100pc)