e c s Flashcards

1
Q

ECS
(Elastic Container Service)

A

A fully managed container orchestration service for running and managing Docker containers on AWS.

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

What are the two options for infrastructure to run ECS on?

A
  1. serverless (fargate)
  2. managed (ec2)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is a container in ECS?

A

A lightweight, standalone executable package of software that includes everything needed to run it: code, runtime, system tools, libraries, and settings.

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

what is an ECS task?

A

A single instance of a running container or a group of containers that define how a containerized application should be deployed.

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

what is an ECS service?

A

A long-running ECS task that can be managed, scaled, and monitored, ensuring the desired number of tasks are always running

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

What is an ECS Cluster?

A

A logical grouping of EC2 instances or Fargate resources where containers are run.

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

What is a Task Definition?

A

A blueprint that describes how a Docker container should be run, including its image, CPU, memory, port mappings, and environment variables.

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

What does the EC2 launch type in ECS offer?

A

More control over the underlying infrastructure with managed clusters of EC2 instances for running containers.

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

What AWS service can be used with ECS for secure container networking?

A

Amazon VPC (Virtual Private Cloud).

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

How does ECS manage access control?

A

Through AWS IAM (Identity and Access Management) roles and policies.

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

Which AWS service is commonly used with ECS for load balancing?

A

Elastic Load Balancing (ELB), including ALB (Application Load Balancer) for HTTP/HTTPS traffic.

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

Which AWS service integrates with ECS for secrets management?

A

AWS Secrets Manager or AWS Systems Manager Parameter Store for managing sensitive data.

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

What is Amazon ECR?

A

A fully managed container image registry service that allows you to store, manage, and deploy Docker container images.

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

How does ECR integrate with ECS?

A

ECR stores container images that ECS pulls to deploy and run tasks.

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

Where do you specify the container image in ECS?

A

In the ECS task definition, where you provide the URI of the container image in ECR.

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

How does ECR handle image versioning?

A

ECR supports image tagging, allowing you to manage different versions of container images (e.g., :latest, :v1.0.1).

17
Q

What is the benefit of tagging images in ECR?

A

Tagging helps manage and update specific image versions in ECS task definitions for smooth deployments and rollbacks.

18
Q

How do ECS tasks access ECR?

A

ECS tasks assume IAM roles with permissions to access specific ECR repositories, ensuring only authorized tasks can retrieve images.