@jialin.huang
FRONT-ENDBACK-ENDNETWORK, HTTPOS, COMPUTERCLOUD, AWS, Docker
To live is to risk it all Otherwise you are just an inert chunk of randomly assembled molecules drifting wherever the Universe blows you

© 2024 jialin00.com

Original content since 2022

back
RSS

AWS Snapshots vs. Backups — Differences in Terms and Service Support

TL;DR

When AWS services store snapshots, configurations, or backups in S3:

  • Snapshots are typically invisible and billed under their respective services, not S3
  • Templates and configs are usually visible
  • Backups are usually visible

Backups and snapshots are similar in description, but with key differences:

  • Snapshots primarily serve HA and disaster recovery purposes, usually with retention periods
  • Backups focus on user data protection with user-defined management approaches. You can decide whether to delete them.
  • Some services distinguish between manual and automatic snapshots (e.g., DocumentDB treats manual snapshots more like backups)
  • Services may use terms interchangeably (e.g., Neptune uses "automated backup and manual snapshot")

Snapshots/Templates Not Visible in S3

Default snapshots prioritize quick recovery and high availability, typically with retention periods. While viewable in service consoles, they're stored in S3 but not visible in the S3 console.

Snapshots

  1. EBS 🔺
    More backup-like than snapshot-like. No minimum or maximum retention period.
  1. RDS (including Aurora, often discussed separately)
    retention period 1 to 35 days
  1. Redshift
    retention period 1 to 35 days
  1. Redshift Serverless

    Recovery Points: Automatic creation every 30 minutes, kept for 24 hours

    https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-snapshots-recovery-points.html

  1. DocumentDB
    retention period 1 to 35 days
  1. Neptune
    retention period 1 to 35 days
  1. EFS, FSx 🔺
    depends on you, I think it’s more like a backup instead of snapshot because we can delete on my own.
  1. ElasticCache (only Redis, no Memcached)
    retention period 1 to 35 days

Other Resources

  1. EC2 AMIs(Amazon Machine Images)
  1. ECS task definitions
  1. Lambda function code
  1. Elastic Beanstalk application versions

Backups

  1. RDS backups

    Database snapshots aren't visible, but some databases can export full backups to visible S3 locations

  1. EFS backups

    EFS snapshots aren't directly visible, but AWS Backup can store visible EFS backups in S3

  1. DynamoDB table backups
    • PITR (Point-in-Time Recovery) backups aren't visible
    • Table exports to S3 are visible
    • Can restore to any point within the last 35 days
      restore to any given second in the preceding 35 days.
  1. DocumentDB

    Manual snapshots function more like backups

  1. S3 itself

Templates/Configurations Visible in S3

This section is less critical; it’s just for visibility comparison purposes, so feel free to ignore it, LOL.

  1. CloudFormation templates
  1. Elastic Beanstalk application source bundles
  1. AWS Glue ETL scripts
  1. AWS Step Functions state machine definitions
  1. Custom Lambda Layers
  1. AWS Config configuration snapshots
  1. AWS CloudTrail logs
  1. AWS WAF logs

References

https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-export-snapshot.html

https://docs.aws.amazon.com/documentdb/latest/developerguide/backup_restore-compare_automatic_manual_snapshots.html

https://docs.aws.amazon.com/documentdb/latest/developerguide/backup_restore.html

https://docs.aws.amazon.com/ebs/latest/userguide/ebs-deleting-snapshot.html

https://docs.aws.amazon.com/config/latest/developerguide/neptune-cluster-backup-retention-check.html

https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-snapshots-recovery-points.html

https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html

https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-snapshots-recovery-points.html

https://aws.amazon.com/dynamodb/pitr/

EOF