With Mavis, you can protect data in the following ways:
- Create cloud-native snapshots of EC2 instances:
A cloud-native snapshot of a EC2 instance includes point-in-time snapshots of EBS volumes attached to the processed instance. Snapshots of EBS volumes (also referred to as EBS snapshots) are taken using native AWS capabilities.
.
Performing EC2 Backup
Mavis allows you to manually create snapshots of EC2 instances. You can instruct Mavis to store the created snapshots in the same AWS Regions where the processed EC2 instances reside, or in a different AWS Region or AWS account.
To manually create a cloud-native snapshot of an EC2 instance, do the following:
1. Navigate to Resources > EC2 > Elastic Block Store > Snapshots.
2. Click Create snapshot.
The IAM role specified in the backup policy settings must have permissions to access the instance. For more information on required permissions, see Best practices for AWS IAM for establishing Mavis EC2.
3. Complete the Take Manual Snapshot wizard:
a. Resource type > Volume
b. Volume ID > Select the necessary Mavis Server's Volume
c. Press Create snapshot
4. Snapshot complete.
.
Performing Volume-Level Restore
In case a disaster strikes, you can restore corrupted EBS volumes of an EC2 instance from a cloud-native snapshot, snapshot replica or image-level backup. Mavis allows you to restore EBS volumes to the original location.
There are two points to note here:
- When mounting, you need to stop Mavis EC2 first
- You need to mount the volume you just created to the root directory (/), which is the /dev/sda1 device on EC2
1. Stop Mavis instance
a. Navigate to Instances
b. Select the necessary Mavis Server EC2
c. Instance state > Stop instance.
2. Detach the default mounted Volume on EC2.
a. Navigate to Volumes.
b. Select the Mavis Server volume.
c. Actions > Detach a volume.
3. Create volume from a snapshot.
a. Volume type > General Purpose SSD (gp2).
b. Size (GiB) > 40.
c. Availability Zone > Confirm the Availability Zone of the Mavis Server EC2.
d. Snapshot ID > Please refer to Performing EC2 Backup step 4 Snapshot ID.
e. Confirm KMS key.
f. Create volume.
4. Mount the newly created Volume to the original root partition.
a. Select the new volume.
b. Actions > Attach volume.
c. Instances > Select the Mavis Server Instance ID.
d. Device name > to fill /dev/sda1 for root volume.
e. Attach volume.