CU-CommunityApps / ct-aws-backups

Repository used for creating aws backups.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ct-aws-backups

The purpose of this process is to give a repo to a group and connect Cloudformation gitsync to this repository for an automated process for backing up EC2 instances with the Tag cit:backup-scheme = default for all instances.


Change Log:

  • 2024.02.28: Created Public Access & Updated Full service offering documentation link
  • 2024.02.14: Announced Service Offering
  • 2024.02.08: Update Step-by-Step, Removed Test Instance
  • 2024.02.07: Updating with process documentation for implementing via Cloudformation Gitsync

Resource Links:


Suggested Repo Use

Due to the way Gitsync polls the repo branch for commit changes this is the suggested way to create and run this repo.

  • Default Branch: deploy This branch will be used to trigger the deployment.
  • Stable Branch: master or main This should be used for stable deployments. Once a deployment succeeds this branch should have the latest successful deployment. This branch is considered stable so it can be merged into deploy if a deployment fails.

The Step-by-Step Guide has this process for creating the repo in this way and locks the repo down to require a Pull request being created from a branch off of deploy branch. This follows the gitflow process requiring 1 review of the Pull Request to merge and trigger the deployment.


Test Instance (Commented Code)

⚠️ Normally commented code is not left within a configuration but this code can be useful for testing.

Commented code within stackset.yml MyEC2Instance1 was left for anyone wanting to fork this repo and create a test EC2 instance with the appropriate tag.

  • Tag Name: cit:backup-scheme
  • Tag Value: default

About

Repository used for creating aws backups.