You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
NB: Atlassian CloudFormation Backup Machine has been renamed to Atlassian Labs DC Backmac.
Backmac is an AWS SAM app for performing backups of Atlassian Data Center applications (Jira, Confluence, and Crowd) running in AWS as CloudFormation stacks.
The IT Platform Engineering team at Atlassian built this tool internally as a backup solution which also allows for copying backups to our DR region as required.
Backmac utilizes an EventBridge schedule to trigger a Lambda that will look for all Cloudformation stacks in a region with the tag "backmac_enabled" set to "true"; any stacks found meeting this criteria will be added to an SQS queue and the State Machine execution will be triggered.
The State Machine orchestrates a series of Lambda functions and a dedicated EC2 compute node and works through the following tasks (high-level):
Assuming the prerequisites above have been satisfied, first-time deploys should be as simple as:
sam build sam deploy --guided
--guided flag will step through the deploy process, creating the SAM-managed deployment bucket, asking for values for the above parameters, permissions to create IAM roles, and whether to present the changeset for verification, and will save those values to the samconfig.toml file enabling future deploys without the
Updates are handled via the same commands (
deploy); you can either re-specify the
--guided flag to update any template values in the interactive prompts, or you can just update the samconfig.toml directly.
Make sure at least one stack is tagged with 'backmac_enabled=true'
Backmac will run on the EventBridge schedule entered during the creation of Backmac, and will back up any stack that is tagged as above.
Backmac will also create an additional Lambda (also executed on an EventBridge schedule) to clean up any backups older than their "backup_delete_after" date (which Backmac will set to 30 days after backup by default).
Backmac is not supported by Atlassian; it is provided as is.
More detailed information about the Backup Machine, and migrating to AWS CloudFormation in general, is provided in this video.
Denise Unterwurzacher [Atlassian]