Elastic Container Service (ECS) Flashcards

1
Q

What happens if you terminate a ECS container instance while it was in STOPPED state?

A

If you terminate a container instance while it is in the STOPPED state, that container instance isn’t automatically removed from the cluster.

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

How do you set an EC2 instance to join an ECS cluster?

A

In the /etc/ecs/ecs.config file you have to configure the parameter ECS_CLUSTER=’your_cluster_name’ to register the container instance with a cluster named ‘your_cluster_name’.

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

Which environment variable can be used by AWS X-Ray SDK to ensure that the daemon is correctly discovered on ECS?

A

AWS_XRAY_DAEMON_ADDRESS

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

What is AWS_XRAY_DAEMON_ADDRESS on ECS?

A

AWS_XRAY_DAEMON_ADDRESS is an ECS environment variable where you set the name of the X-Ray ECS container.

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