I have an EC2 cluster and I'm trying to add EC2 machines to it.
I have added ECS_CLUSTER=cluster_name
to /etc/ecs/ecs.config
with user data but the instance doesn't join the cluster.
I'm looking for log files or any other evidence of the cluster-joining process that may indicate why my instance is not joining. I do not have a /var/log/ecs
folder.
You need to use an ECS AMI,
Or you need to install the ECS agent
http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-install.html
And then you need to start/restart the ecs agent after changing that config
restart ecs