e c s Flashcards
ECS
(Elastic Container Service)
A fully managed container orchestration service for running and managing Docker containers on AWS.
What are the two options for infrastructure to run ECS on?
- serverless (fargate)
- managed (ec2)
what is a container in ECS?
A lightweight, standalone executable package of software that includes everything needed to run it: code, runtime, system tools, libraries, and settings.
what is an ECS task?
A single instance of a running container or a group of containers that define how a containerized application should be deployed.
what is an ECS service?
A long-running ECS task that can be managed, scaled, and monitored, ensuring the desired number of tasks are always running
What is an ECS Cluster?
A logical grouping of EC2 instances or Fargate resources where containers are run.
What is a Task Definition?
A blueprint that describes how a Docker container should be run, including its image, CPU, memory, port mappings, and environment variables.
What does the EC2 launch type in ECS offer?
More control over the underlying infrastructure with managed clusters of EC2 instances for running containers.
What AWS service can be used with ECS for secure container networking?
Amazon VPC (Virtual Private Cloud).
How does ECS manage access control?
Through AWS IAM (Identity and Access Management) roles and policies.
Which AWS service is commonly used with ECS for load balancing?
Elastic Load Balancing (ELB), including ALB (Application Load Balancer) for HTTP/HTTPS traffic.
Which AWS service integrates with ECS for secrets management?
AWS Secrets Manager or AWS Systems Manager Parameter Store for managing sensitive data.
What is Amazon ECR?
A fully managed container image registry service that allows you to store, manage, and deploy Docker container images.
How does ECR integrate with ECS?
ECR stores container images that ECS pulls to deploy and run tasks.
Where do you specify the container image in ECS?
In the ECS task definition, where you provide the URI of the container image in ECR.