Elastic Container Service (ECS) Flashcards
What happens if you terminate a ECS container instance while it was in STOPPED state?
If you terminate a container instance while it is in the STOPPED state, that container instance isn’t automatically removed from the cluster.
How do you set an EC2 instance to join an ECS cluster?
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’.
Which environment variable can be used by AWS X-Ray SDK to ensure that the daemon is correctly discovered on ECS?
AWS_XRAY_DAEMON_ADDRESS
What is AWS_XRAY_DAEMON_ADDRESS
on ECS?
AWS_XRAY_DAEMON_ADDRESS is an ECS environment variable where you set the name of the X-Ray ECS container.