I am using AWS Jira Data Center with the default configuration from the CloudFormation stack template. This has one node.
I am using this for testing only. I'd like to shut it down when not in use.
When I shut down the EC2 host for the Jira node, the auto scaling group automatically restarts it.
I've tried detaching it and also changing the min number of nodes in cluster from 1 to 0, but neither work.
Any ideas?
Thanks
Chris
An Amazon EC2 Auto Scaling (AS) configuration has three relevant settings to manage capacity:
The aws-quickstart/quickstart-atlassian-jira/.../quickstart-jira-dc.template.yaml CloudFormation template does not expose the desired capacity and has a default minimum and maximum size of 1, resulting in:
You can easily achieve the desired outcome by setting both minimum and maximum size to 0, which will cause AWS to automatically reduce the desired capacity to 0 and terminate the instance.
Alternatively you can only set the minimum size to 0 and manually set the desired capacity of the Auto Scaling group to 0 as well (via the AWS console or AWS CLI).
Cheers,
Steffen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.