amazon web services - How to add already existing ECS Instance to newly created ECS Cluster -
i'm new aws , i'm searching way add existing ecs instance newly created ecs cluster.
also there task running on cluster1, can copy task run on cluster2, when try copy json file following error message: 'should contain "family", "containerdefinitions", "volumes", "taskrolearn", "networkmode"' ?
thank in advance.
do mean running ec2 instance ecs cluster? ec2 instance needs have docker installed , have docker run ecs-agent environment variable ecs_cluster set cluster name.
i can recommend ecs optimized ami amazon. has docker , ecs-agent installed , configured cluster name in launch configurations user data field.
for question two: when copy json need remove attributes top of json. remove these attributes:
"requiresattributes" "taskdefinitionarn" "status" "revision": "taskrolearn"
Comments
Post a Comment