Compute - ECS (Elastic Container Service) Flashcards

1
Q

What is Amazon ECS?

A
  • Amazon ECS stands for Amazon EC2 Container Service.
  • It allows running Docker-enabled applications across a cluster of EC2 instances.
  • It abstracts the complexity of cluster management using AWS Fargate.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Docker?

A
  • Docker is software that automates the installation and distribution of applications inside Linux Containers.
  • Containers hold all the necessary components for an application to run, except for an operating system.
  • Docker enables portability, lightweightness, flexibility, and scalability of containerized applications.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the benefits of using Amazon ECS?

A
  • It eliminates the need to manage a complex cluster management system.
  • It handles cluster management and monitoring, allowing developers to focus on application development.
  • It provides seamless integration with Docker and existing containerized applications.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the deployment models available in Amazon ECS?

A
  • Fargate launch: Requires less configuration, automatically handles scaling, and abstracts underlying infrastructure management.
  • EC2 launch: Offers more customization and control over instances, scaling, and infrastructure configuration.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How does monitoring work in Amazon ECS?

A
  • Monitoring is done using AWS CloudWatch.
  • CloudWatch monitors metrics related to containers and clusters.
  • Alarms can be created based on these metrics to receive notifications for specific events.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What additional features can be used with Amazon ECS clusters?

A
  • Security Groups: Provide instance-level security at the port and protocol level.
  • Elastic Load Balancing: Distributes incoming traffic across multiple instances in the cluster.
  • Auto Scaling: Automatically adjusts the number of instances based on demand.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Can Amazon ECS clusters scale dynamically?

A
  • Yes, Amazon ECS clusters are dynamically scalable.
  • Clusters can start with a single small instance and scale up to thousands of larger instances.
  • Scaling is limited to a single region and can span multiple availability zones within that region.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What agents are installed on Amazon ECS instances?

A
  • Docker daemon: Manages container execution and management.
  • ECS agent: Communicates with the Docker daemon and translates ECS commands into Docker commands.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly