Mesospheric DCOS cluster on AWS. EC2 exams end and restart after stopping

I created a DCOS Mesosphere cluster on AWS using the DCOS template. I want to stop the instances after the end of the day. But after stopping the instances, they stop and are replaced by new instances. Please suggest how to stop the instances.

If EC2 instances are detached from autoscaling groups, is the DCOS cluster running?

+3


source to share


2 answers


To completely shut down the cluster, follow the docs steps , which means deleting the CloudFormation stack as well as deleting the S3 which contains the configuration data.



UPDATE: Since the OP made it clear that the main motivation is to "suspend" the cluster overnight to cut costs, I clarify that this is not currently possible. To preserve configuration data while minimizing costs, you can scale your DCOS cluster over a period of time.

+2


source


I found that this is the behavior of the instance when the server is part of an autoscale group. Remove servers from autoscale groups, then you can stop them. You can add them later.

Why does my AWS EC2 instance terminate when stopped?



http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/detach-instance-asg.html

Luck!

0


source







All Articles