DEV Community

Aadit Unni
Aadit Unni

Posted on • Updated on

Creating New EC2 Instance using Snapshot

[7/100] #100DaysOfCloud Today, I created an snapshot of an EC2 instance and launched a new EC2 instance using the AMI of that snapshot.

Amazon EBS Snapshots :

  • EBS Snapshots are a point-in-time copy of your data, and can be used to enable disaster recovery, migrate data across regions and accounts, and improve backup compliance.
  • You can create and manage your EBS Snapshots through the AWS Management Console, AWS Command Line Interface (CLI), or the AWS SDKs.
  • At the time of snapshot creation, you do not need to stop the instance. Because of this, they are automatically taken across multiple EBS volumes. Just like AMIs, you can share snapshots across AWS accounts and regions by modifying its access permissions.
  • Snapshots support EBS Encryption.
  • Snapshots of encrypted volumes are automatically encrypted.

Use cases :

  • Disaster Recovery
    • Amazon EBS Snapshots allows you to improve disaster recovery workflows for your workloads running on premises and on AWS at low costs. You can directly create snapshots of your EBS volumes or your data on-premises, and then use these snapshots for recovery in the cloud. With the Fast Snapshot Restore feature, you can quickly restore data from these snapshots into EBS volumes and achieve low recovery time objectives.
  • Data Migration
    • With Amazon EBS Snapshots, you can easily move your data across regions, accounts, and Availability Zones. You can copy any snapshot accessible to you to another region or account, including snapshots created by you or shared with you. You can also copy snapshots that are used to create Amazon Machine Images (AMIs) available on AWS Marketplace, which can then be use to launch new EC2 instances in other regions or accounts. Additionally, you can migrate your on-premises data to AWS, by creating snapshots of that data and recovering them into EBS volumes.
  • Backup Compliance
    • With Amazon EBS Snapshots, you protect your valuable data by enforcing a regular backup schedule using DLM policies. You can set policies to retain backups as required by auditors to help improve internal compliance. Additionally, EBS Snapshots integrates with AWS CloudTrail so that you can log, monitor, and retain account activity related to actions taken for your snapshots.

You can try to create a new EC2 instance from a snapshot yourself by following the steps from the link below :
GitHub

Top comments (0)