ECS Flashcards

This deck aims to help retain concepts related to the ECS service.

1
Q

Which fully managed container orchestration service is designed to simplify the deployment, management, and scaling of containerized applications?

A

Amazon Elastic Container Service (ECS)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two launch types supported by ECS?

A

EC2 and Fargate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the difference between the ECS launch types?

A
  • EC2: Offers more control but requires more management
    • Instances are managed by the customer
    • The customer is responsible for capacity and availability
    • EC2 instances run continuously and must be paid for, regardless of usage
  • Fargate: A serverless option for running containerized application workloads
    • No servers to manage
    • Utilizes shared Fargate infrastructure
    • Each task is provided with an ENI within the VPC
    • Billed only for the resources consumed by the containers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which ECS launch type is better suited for large, cost-conscious workloads?

A

The EC2 launch type, especially when using spot or reserved instances

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which ECS launch type is better suited for workloads that are overhead-conscious, small/bursty, or batch/periodic?

A

The Fargate launch type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What ECS component represents a self-contained application, consisting of one or more containers?

A

Task Definition - defines containers, resources, network configuration, task execution role and more

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What ECS component represents a configuration of the container?

A

Container Definition - defines ports, image, and more

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What ECS component provides scalability and availability for tasks?

A

Service - defines tasks, placement strategy, scaling policy, health checks and more

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What ECS component groups together the deployment of Tasks or Services?

A

Cluster

How well did you know this?
1
Not at all
2
3
4
5
Perfectly