Name β Sudarshan Yadav, Contact - 7709877817
Email Id β sudarshanyadav4080@gmail.com
AWS Snapshots β Simple Step By Step Guide π
This repo contains a very simple explanation of AWS Snapshots for quick reference.
πΉ EBS Snapshot (EC2 Disk Backup)
Steps:
- Select an EBS Volume
- Click Create Snapshot
- Snapshot gets stored in S3 (internally by AWS)
- You can restore that snapshot to a new EBS Volume
- Attach the volume to any EC2 instance and use it again
Simple example:
- Before updating server β take snapshot
- If update fails β restore snapshot β server comes back to old state
πΉ RDS Snapshot (Database Backup)
Steps:
- Select RDS Database
- Click Take Snapshot
- AWS stores backup of the full DB
- You can restore DB anytime from that snapshot
Used for:
- Database backup
- Database disaster recovery _______________________________________
πΉ Important Things to Remember
| Feature | Meaning |
|---|---|
| Incremental | Only changed data stored β saves cost |
| Encrypted | Can protect data with KMS |
| Cross-Region Copy | Useful for disaster recovery |
| Manual Delete | Old snapshots cost money β delete when not needed |
π₯ Simple One-Line Answer for Interview
βSnapshot is a point-in-time backup of AWS storage like EBS and RDS. We take snapshots before changes and restore them when needed for backup and disaster recovery.β
π AWS Snapshot β 20 Interview Q&A
1οΈβ£ What is an AWS Snapshot?
A snapshot is a point-in-time backup of your EBS volume or database.
2οΈβ£ Where are EBS snapshots stored?
Stored internally in Amazon S3 (fully managed by AWS).
3οΈβ£ Are EBS snapshots full or incremental?
Snapshots are incremental β only changed blocks stored.
4οΈβ£ Why do we take a snapshot?
For backup, rollback, and disaster recovery.
5οΈβ£ Can we restore a snapshot?
Yes β Create a new EBS volume from a snapshot anytime.
6οΈβ£ Can we copy snapshots to another region?
Yes β Cross-Region Snapshot Copy for DR.
7οΈβ£ Are snapshots encrypted?
Yes β using AWS KMS keys.
8οΈβ£ Do we need to stop an EC2 instance before taking a snapshot?
No β Live backups supported (crash-consistent).
9οΈβ£ Do snapshots include OS & configurations?
Yes β Everything on EBS volume.
10οΈβ£ How do we reduce snapshot cost?
Delete unused snapshots β pay only for storage.
11οΈβ£ Can we share snapshots?
Yes β share with other AWS accounts (unencrypted).
12οΈβ£ How to automate snapshot creation?
Using DLM (Data Lifecycle Manager) or AWS Backup.
13οΈβ£ Can snapshots be scheduled?
Yes β via Backup Plans / DLM / Lambda cron jobs.
14οΈβ£ Can we convert a snapshot to an AMI?
Yes β snapshot β Create AMI β launch EC2.
15οΈβ£ What is a crash-consistent snapshot?
Backup while system is running β ensures data consistency.
16οΈβ£ Can we tag snapshots?
Yes β helps billing & organization.
17οΈβ£ Do snapshots save empty blocks too?
No β only stored data β cost saving.
18οΈβ£ If volume deleted, is data gone?
No β Snapshot keeps data safe β can recreate volume later.
19οΈβ£ Is snapshot restore faster?
Yes β Restore fast but lazy loading takes time for full data.
20οΈβ£ Snapshot vs AMI
| Feature | Snapshot | AMI |
|---|---|---|
| Content | Only EBS Volume data | OS + Apps + Snapshots |
| Usage | Backup/Restore | Launch EC2 Instances |
π Connect With Me
- GitHub: https://lnkd.in/d2F3JPa3
- Dev.to Blog: https://lnkd.in/dNtgqAME
- LinkedIn: https://lnkd.in/d3NctxFT
- Resume (Google Drive): https://lnkd.in/dHDNsd_D
Top comments (0)