I have created a Mesosphere DCOS cluster on AWS using the DCOS template. I want to stop the instances after the day end. But after stopping the instances they are terminated and replaced by new instances. Please suggest how to stop the instances.
If the EC2 instances are detached from the auto scaling groups, is the functioning of the DCOS cluster hampered?
To fully shut down the cluster, follow the steps in the docs, which means deleting the CloudFormation stack as well as removing the S3 bucket that contains config data.
UPDATE: since the OP made it clear that the underlying motivation is to 'pause' the cluster over night in order to cut down on costs, I'm clarifying hereby that this is not possible, currently. In order to keep the configuration data around while minimizing the costs you can scale the DCOS cluster down, for a certain period of time.