Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Version published after converting to the new editor

You want to horizontally scale in or out an Atlassian Data Center deployment based on the 'cost-effective' Utoolity AWS Quick Start forks, e.g. to semantically stop the cluster during off-hours.

...

  1. (Optional) Create a backup of the cluster, as outlined in How to backup/restore an Atlassian Data Center deployment for replication purposes
    • (question) This is not required as such, but should likely be included as an automated convenience step down the road?!
    • (warning) This is highly advised for Bitbucket, and might be advised for Confluence/Jira as a safety measure too, see note above.
  2. Navigate to the CloudFormation console and select the target stack
  3. Select 'Actions → Update Stack', then 'Use current template', and click 'Next'
  4. Scroll down to section 'Availability/Cost (Optional)' and change 'Stack standby mode' to 'cold', keep all other parameters as is, and click 'Next' twice
  5. Preview your changes to confirm that the only affected resources are of type AWS::AutoScaling::AutoScalingGroup, then click 'Update'
  6. Once the stack has reached the UPDATE_COMPLETE status, navigate to the EC2 console to observe that the cluster nodes are shutting down (this might take a moment to start and complete based on how the underlying Auto Scaling group is configured in detail
  7. (Bitbucket only) Select the 'Bitbucket NFS node' and click 'Actions → Instance State → Stop'
    • (warning) There is currently an issue with the Bitbucket cluster not reliably coming up again, see note above.
  8. Once all cluster nodes have been shut down, navigate to the RDS console and select the cluster's RDS instance (in newer deployments it is named after the stack)
  9. Select 'Instance actions → Stop'

Scale out

Update the applicable Atlassian Data Center cluster CloudFormation stack to scale out (Stack standby mode → 'active'):

...