EC2 Instance Backup
Enable EC2 Instance Backup
Sign in to your CloudAware account. Go to Admin → Backup. To set up a global backup policy, go to the "Settings" tab and select the account.
To enable scheduled backups, select the time backups will start on from the list in 'Start at'.
Note |
---|
A backup task will back up all non-terminated instances, including instances in a ‘stopped’ state. |
Dosable EC2 Instance Backup
To disable scheduled backups for EC2 Instance, select the instance under question and click ''Remove Policy'':
Note |
---|
Existing backups will be stored until they expire according to the backup policy rules. If an instance is terminated, backups are stored as well until they expire. |
Backup Metadata
AMI Description will contain the following information about the original instance from which a backup is taken:
Instance ID
Key
Security Group(s)
Instance Type
Availability Zone
Public IP Address
In addition AMI will contain 2 backups tags:
Instance ID
Policy Type
Cost allocation tags can be applied to AMIs as well. Contact support@cloudaware.com for additional details.
View EC2 Instance Backup Status
By looking at any instance in CloudAware, we can tell what backup policies are in effect and check their status.
The following fields mark the backup policy and the backup status:
Daily Backups (the number of daily snapshots specified by the policy)
Daily Backups Status (the actual number of available consecutive AMIs starting from today's date)
Tip For example, today is the 10th day of a month and Daily Backups field has value of 7 but Daily Backup Status has value of 3. It means that CloudAware only found backups for the last 3 days and the backups for the other 4 days that should be there are not present. Whenever the backup policy does not equal the backup policy’s status, a backup is missing
- Weekly Backups
Weekly Backups Status
Monthly Backups
Monthly Backups Status
In order to view EC2 Instance backups, navigate to an instance of choice.Scroll down until you see a related list called EC2 Instance Backups.
Backup Tags
EC2 backup functionality relies on AWS tags to advise the backup scheduled task on how an instance should be backed up.
- AWS backup tag name is: gig-backup
AWS backup tag value is: Nd-Nw-Nm, where N is number of days/weeks/months
For example, a backup policy 3d-10w-12m creates daily backups every day and rotates them over the period of 3 days, a weekly backup which will be rotated over 10 weeks and a monthly backup which will be rotated over 12 months. Hyphens can be omitted.
Examples of valid backup tag values:
Tip |
---|
1. 3d-10w-12m |
3 and 4 are equivalent due to backwards compatibility.
Enable Orphaned Backup Retention
The Orphaned Backup Retention allows to manage an AMI clearing process. When setting up the global backup policy, insert the number of days in the 'Orphaned Retention (Days)' field. For example, Orphaned Retention = 10 means that backups will be deleted 10 days after the source instance is terminated:
...