Thursday, 19 September 2024

AWS Backup labs step by step

 

Step 1: Set Up Your AWS Account

  1. Sign In: Log into your AWS Management Console.
  2. IAM User: Ensure you have an IAM user with appropriate permissions (AWSBackupFullAccess is a good starting point).

Step 2: Create a Backup Vault

  1. Navigate to AWS Backup:
    • In the AWS Management Console, search for “Backup” and select AWS Backup.
  2. 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

  1. 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.
  2. 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

  1. 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

  1. Go to Backup Jobs:
    • Click on Backup jobs in the left pane.
  2. 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.
  3. Monitor Backup Jobs:
    • You can view the progress and status of backup jobs under the Backup jobs section.

Step 6: Restore from Backup

  1. Navigate to Recovery:

    • Click on Protected resources in the left pane.
    • Select the resource you want to restore.
  2. 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

  1. Delete Backup Vault:

    • Ensure that all backups are deleted from the vault.
    • Click on the vault name, then select Delete vault.
  2. Remove Backup Plans:

    • Delete any created backup plans if not needed.
  3. IAM Users and Permissions:

    • Review and remove any unnecessary IAM users or policies created for the lab.

No comments:

Post a Comment