About
We will manage Docker images of cats and dogs in Amazon ECR.
Create Amazon ECS cluster, task definitions, and services.Choose right launch type either EC2 or Fargate for each service. Deploy simple containerized application cats and dogs path-routed through ALB. Monitor ECS cluster and services in Amazon CloudWatch Container Insights. Centralize container logs using AWS FireLens and Amazon CloudWatch Logs. Scale ECS services and cluster automatically.
Read more:https://ecs-cats-dogs.workshop.aws/en/01_intro.html
IAM role created - Administrator access.
Cloudformation stack created.
Region: ap-northeast-2

What we will do.

Create Amazon ECR cats, dogs repositories.
build and tag cats, dogs docker images from AWS Cloud9 IDE.
Push the images to Amazon ECR.
AmazonEC2ContainerRegistryFullAccess policy attached to ecs-demogo

Cloud9 instance attached ecs-demogo IAM role.

AWS managed credentials turned off in Cloud9.

GetCallerIdentity command ran.

Updated and installed CLI tools

Current region set as default.

Cats, Dogs repository created in ECR.

cats image built with Dockerfile.

dogs image built with Dockerfile.

cats image pushed to ECR repository.

dogs image pushed to ECR repository.

Cats image in ECR.

Dogs image in ECR.

DEMOGO-ECS cluster created.

IAM policy attached to ecsInstancerole

Task definition created.

catsdef,dogsdef created.

ALB created

ECS services created.

Cats services created.

Dogs service created.

Failed to load application

Failure reason
Task did not run properly.

Top comments (0)