You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Containerized four web-based games using Docker with an Nginx-optimized base image, ensuring compatibility with AWS Fargate on the Linux x86_64 architecture.
Pushed the Docker images to Amazon Elastic Container Registry (ECR) for secure and scalable image management.
Deployed the containerized games on Amazon Elastic Container Service (ECS), ensuring seamless operation in a cloud-native environment.
Implemented auto-scaling and load balancing to handle varying traffic loads efficiently and maintain high availability.
Explored blue-green deployment strategies by manually deploying a new updated service, enhancing deployment practices for minimizing downtime and risks.
Services : AWS ECS, ECR, ALB, Docker, Nginx
ECS GUIDE
Key Components of Amazon ECS
Introduction to Amazon ECS
Amazon Elastic Container Service (ECS) is a fully managed container orchestration service provided by AWS that makes it easy to deploy, manage, and scale containerized applications.
ECS supports Docker containers and allows you to run and manage containers on a cluster of EC2 instances or using AWS Fargate, a serverless compute engine.
Clusters:
A logical grouping of container instances or tasks.
Clusters can run on EC2 instances, AWS Fargate, or a mix of both.
Task Definitions:
Blueprint for your application.
Specifies parameters for the container, such as Docker image, CPU, memory, port mappings, and environment variables.
Defines multiple containers within a single task if needed.
Tasks and Services:
Tasks: A running instance of a task definition. It is the smallest unit of work in ECS.
Services: Maintain the desired number of task instances. Can be associated with load balancers to distribute traffic across tasks.
Container Instances:
EC2 instances registered to the ECS cluster.
Run the ECS agent, which manages the tasks.
ECS Agent:
A container running on each container instance that communicates with the ECS control plane to manage tasks.
Launch Types:
EC2 Launch Type: Deploys tasks on a cluster of Amazon EC2 instances managed by the user.
Fargate Launch Type: Deploys tasks on serverless infrastructure managed by AWS, removing the need to manage EC2 instances.
Task Scheduler:
Places tasks based on the specified placement strategy and constraints.
Ensures the desired state of tasks is maintained in the cluster.
Load Balancing:
Integrates with Elastic Load Balancing (ELB) to distribute incoming traffic across tasks.
Supports Application Load Balancer (ALB) and Network Load Balancer (NLB).