Step 1: Set Up Your AWS Account
- Sign In: Log into your AWS Management Console.
- IAM User: Ensure you have an IAM user with appropriate permissions (AWSBackupFullAccess is a good starting point).
Step 2: Create a Backup Vault
- Navigate to AWS Backup:
- In the AWS Management Console, search for “Backup” and select AWS Backup.
- Create Backup Vault:
- Click on Backup vaults in the left navigation pane.
- Click on Create backup vault.
- Provide a name for your vault.
- (Optional) Configure encryption settings and resource policy.
- Click Create backup vault.
Step 3: Set Up a Backup Plan
- Create Backup Plan:
- Click on Backup plans in the left pane.
- Click on Create backup plan.
- Choose Build a new plan or Use a template.
- Configure Backup Plan:
- Provide a name and optional description.
- Set the backup rule details (frequency, backup window, lifecycle rules).
- Choose the backup vault created in Step 2.
- Click Create plan.
Step 4: Assign Resources to the Backup Plan
- Assign Resources:
- After creating the backup plan, you’ll see an option to Assign resources.
- Click on it and choose the resource type (e.g., EC2, EFS).
- Specify the resource ID (e.g., instance IDs for EC2).
- Optionally tag resources for dynamic assignment.
- Click Assign resources.
Step 5: Manually Trigger a Backup
- Go to Backup Jobs:
- Click on Backup jobs in the left pane.
- Create a Backup Job:
- Click on Create backup job.
- Select the backup plan you created earlier or choose specific resources.
- Review settings and click Create backup job.
- Monitor Backup Jobs:
- You can view the progress and status of backup jobs under the Backup jobs section.
Step 6: Restore from Backup
Navigate to Recovery:
- Click on Protected resources in the left pane.
- Select the resource you want to restore.
Restore Resource:
- Click on Actions and choose Restore.
- Specify restore options (e.g., restore location).
- Click Restore and monitor the progress.
Step 7: Clean Up
Delete Backup Vault:
- Ensure that all backups are deleted from the vault.
- Click on the vault name, then select Delete vault.
Remove Backup Plans:
- Delete any created backup plans if not needed.
IAM Users and Permissions:
- Review and remove any unnecessary IAM users or policies created for the lab.
No comments:
Post a Comment