/aws-ecs-cats-dogs

Primary LanguageHTMLMIT No AttributionMIT-0

AWS ECS, Fargate Workshop

DemoGo - Cats and Dogs

Searching for Love and Happiness

catsdogs

This workshop is designed to educate engineers that might not be familiar with Amazon ECS, Fargate, and possibly even Docker container workflow.

Amazon ECS

Amazon Elastic Container Service (Amazon ECS) is a fully managed container orchestration service. ECS has been a foundational pillar for key Amazon services, it can natively integrate with other services such as Amazon Route 53, Secrets Manager, AWS Identity and Access Management (IAM), and Amazon CloudWatch providing you a familiar experience to deploy and scale your containers. ECS allows your applications the flexibility to use a mix of Amazon EC2 and AWS Fargate with Spot and On-Demand pricing options.

Purpose

  • To understand Amazon ECS fundermental concepts and new features.
  • To practice useful tools for Amazon ECS management.

AWS services you will use

  • Amazon Elastic Container Service (ECS)
  • Amazon Elastic Container Resistry (ECR)
  • AWS Fargate
  • AWS FireLens
  • Amazon CloudWatch
  • Auto Scaling
  • AWS Identity and Access Management (IAM)
  • Amazon CloudFormation
  • Amazon EC2
  • Amazon Application Load Balancer (ALB)

Architecture

Architecture

We will:

  • Deploy AWS CloudFormation stack to set up prerequisites.
  • 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.

Start here:

[English] https://ecs-cats-dogs.workshop.aws/en

[Korean] https://ecs-cats-dogs.workshop.aws/ko

License

This library is licensed under the MIT-0 License. See the LICENSE file.