AWS ECS -Instance not reg to cluster

I’ve seen instances where instance is not registering to AWS ECS cluster.

  1. Check ECS agent running – “docker ps” if not then start it.
  2. Check if “ECS_CLUSTER=<cluster_name>” defined in /etc/ecs/ecs.config
  3. Remove the file if already exists in /var/lib/ecs/data/ecs_agent_data.json and restart the ECS agent – “restart ecs”.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s