You are not logged in.

#1 2017-09-05 18:01:56

kpp
Member
Registered: 2017-09-05
Posts: 1

AWS EC2 attach image to cluster

Hello.

I ran 2 commangs:

$ ecs-cli configure --region us-east-1 --cluster dht-cluster
$ ecs-cli up --keypair amazon-us-east1 --capability-iam --size 2 --image-id ami-78252303

I took image AMI from https://www.uplinklabs.net/projects/arch-linux-on-ec2/

The commands created dht-cluster and 2 instances, but they did not attached instances to the cluster. It seems like I have to connect to each instance and run `echo ECS_CLUSTER=dht-cluster >> /etc/ecs/ecs.config`. Is there any way to automate it?

Offline

#2 2017-09-05 18:13:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: AWS EC2 attach image to cluster

Not an Arch discussion, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB