The amazon ecs container agent is only supported on amazon ec2 instances.
Aws ecs container agent.
Your containers are defined in a task definition which you use to run individual tasks or as a service.
On the amazon linux ami.
However if your container agent remains in a disconnected state then the container instance can t operate as part of your ecs cluster.
To install the amazon ecs container agent on a non amazon linux ec2 instance.
Look for a container running with the name ecs agent.
Read up on ecs and the advantages of using containers if you are unfamiliar with the concept.
The amazon ecs container agent is included in the amazon ecs optimized amis but you can also install it on any amazon ec2 instance that supports the amazon ecs specification.
The amazon ecs container agent allows container instances to connect to your cluster.
As new amazon ecs optimized amazon linux amis and amazon ecs agent versions are released older versions are still available for launch in amazon ec2.
Below we will take a look at what the amazon ecs.
For amazon ecs optimized amazon linux 2 amis run the following command.
If you re using the amazon ecs optimized ami stop and restart the agent with the appropriate command.
The amazon ecs container agent is a software that aws has developed for its amazon ec2 container service that allows container instances to connect to your clusters.
This produces an image tagged amazon ecs container agent make that you may run as described above.
For more information see amazon ecs container instance iam.
However we encourage you to update to the latest version of the amazon ecs agent and to keep your container instance software up to date.
Your amazon ecs container agent might connect and reconnect several times an hour.
Running the amazon ecs container agent outside of amazon ec2 is not supported.
Docker image on linux the amazon ecs container agent may be built by typing make with the docker daemon v1 5 0 running.
Aws govcloud us west ecs container agent.
It runs on container instances and starts containers on behalf of amazon ecs.
You can run your tasks and services on a serverless infrastructure that is managed by aws fargate or for more control.
Launch an amazon ec2 instance with an iam role that allows access to amazon ecs.
Amazon ecs container agent.
For more information see why is my amazon ecs agent listed as disconnected.
The amazon ecs container agent is software developed for amazon ec2 container service.
The process for updating the agent differs depending on whether your container instance was launched with an amazon ecs optimized ami or another operating system.
Amazon elastic container service amazon ecs is a highly scalable fast container management service that makes it easy to run stop and manage containers on a cluster.
The best source of information on running this software is the amazon ecs documentation.