AWS Storage Services

Simple Storage Service – S3

  • S3 is an object storage service for the cloud that is highly available.
  • Objects(files) are stored in buckets(directories).
  • Unlimited storage that can hold millions of objects per bucket.
  • Objects can be public or private. 
  • You can upload objects via the console, CLI, or programmatically within code using SDKs.
Features
  1. You can set bucket level or object-level access control using Access control lists, bucket policies, or access point policies.
  2. You can use S3 logs to track access to your buckets and objects.
  3. You can enable versioning to create multiple versions of your file in order to protect against accidental deletion and to use a previous version.
  4. S3 is a regional service, but bucket names must be globally unique.
  5. Durability is important so your objects are never lost or compromised. S3 is designed for 99.999999999% (11 9’s) of durability.
  6. Availability is important so you can access your data quickly when you need it. S3 standard availability is 99.99%.
Types of storage classes
  1. S3 standard
    • General-purpose storage.
    • Data stored across multiple availability zones.
    • Low latency and high throughput.
    • Recommended for frequently accessed data.
  2. S3 Intelligent-Tiering
    • Automatically moves your data to the most cost-efficient storage class.
    • Automatic cost savings.
    • No retrieval fees.
    • Data stored across multiple availability zones.
    • Recommended for data with the unknown or changing access pattern.
  3. S3 Standard-Infrequent Access(IA)
    • Data accessed less frequently but required rapid access.
    • Data stored across multiple availability zones.
    • Cheaper than the S3 standard.
    • Recommended for:
      • Long-lived data.
      • Infrequently accessed.
      • Millisecond access when needed.
  4. S3 One Zone-Infrequent Access(IA)
    • Like S3 Standard IA but data stored in a single availability zone.
    • Cost 20% less than S3 Standard-IA.
    • Data stored in this storage class can be lost.
    • Recommended for:
      • Re-creatable data.
      • Infrequently accessed with millisecond access.
      • Availability and durability are not essential. Still, availability is 99.5%.
  5. S3 Glacier
    • Long-term data storage and archival for lower costs.
    • Data retrieval takes longer.
    • 3 retrieval options:
      • 1-5 minutes
      • 3-5 hours
      • 5-12 hours
    • Data stored across multiple availability zones
    • Recommended for:
      • Long-term backups.
      • Cheaper storage options.
  6. S3 Glacier Deep Archive
    • Like S3 glacier but longer access times.
    • 2 retrieval options:
      • 12 hours
      • 48 hours
    • Cheapest of all S3 options.
    • Data stored across multiple availability zones.
    • Recommended for:
      • Long-term data archival is accessed once or twice a year.
      • Retaining data for regulatory compliance requirements.
  7. S3 Outposts
    • Provide object storage on-premises.
    • A single storage class.
    • Store data across multiple devices and servers.
    • Recommended for:
      • Data that needs to be kept local.
      • Demanding application performance needs.
Uses:
  1. Static Website hosting
  2. Data Archive
  3. Analytics systems
  4. Mobile Applications
Important for exams:
  1. S3 is a regional service but has a global namespace.
  2. S3 offers unlimited storage with many storage classes. Understand the use cases for each storage class.
More services:
  1. EBS(Elastic Block Store) volume:
    • It is like a flash drive.
    • It can be connected to one instance at a time.
    • Data persists when an instance is not running.
    • Tied to one availability zone.
    • Recommended for:
      • Quickly accessible data.
      • Running database on an instance.
      • Long-term data storage.
  2. EC2 instance store:
    • Storage on disks physically attached to an instance.
    • Faster with higher I/O speeds.
    • Storage is temporary i.e. data will lose once the instance is stopped.
    • Recommended for:
      • Temporary storage needs
      • Data replicated across multiple instances.
  3. EFS(Elastic File System):
    • Serverless network file system for sharing files.
    • Only supports the linux file system.
    • Expensive than EBS.
    • Accessible across different availability zones in the same region.
    • Recommended for:
      • Main directories for business-critical apps.
      • Lift and shift existing enterprise apps.
  4. Storage gateway:
    • Hybrid storage service.
    • Connect on-premises and cloud data.
    • Supports hybrid model.
    • Recommended for:
      • Moving backups to the cloud.
      • Reducing costs for hybrid cloud storage.
      • Low latency access to data.
  5. AWS Backup:
    • Helps you to manage data backups across multiple AWS services.
    • Integrates with resources like EC2, EBS, EFS, and more.
    • Create a backup plan that includes frequency and retention.
Important for the exam:
  1. Understand the use cases for EBS.
  2. Don’t forget instance store volumes are temporary.
  3. Don’t’ forget EFS supports only linux file systems.
  4. Storage gateway supports a hybrid model.

Discover more from Information Security Blogs

Subscribe to get the latest posts sent to your email.

Leave a comment

Discover more from Information Security Blogs

Subscribe now to keep reading and get access to the full archive.

Continue reading