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
- You can set bucket level or object-level access control using Access control lists, bucket policies, or access point policies.
- You can use S3 logs to track access to your buckets and objects.
- You can enable versioning to create multiple versions of your file in order to protect against accidental deletion and to use a previous version.
- S3 is a regional service, but bucket names must be globally unique.
- Durability is important so your objects are never lost or compromised. S3 is designed for 99.999999999% (11 9’s) of durability.
- Availability is important so you can access your data quickly when you need it. S3 standard availability is 99.99%.
Types of storage classes
- S3 standard
- General-purpose storage.
- Data stored across multiple availability zones.
- Low latency and high throughput.
- Recommended for frequently accessed data.
- 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.
- 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.
- 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%.
- 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.
- 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.
- 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:
- Static Website hosting
- Data Archive
- Analytics systems
- Mobile Applications
Important for exams:
- S3 is a regional service but has a global namespace.
- S3 offers unlimited storage with many storage classes. Understand the use cases for each storage class.
More services:
- 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.
- 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.
- 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.
- 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.
- 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:
- Understand the use cases for EBS.
- Don’t forget instance store volumes are temporary.
- Don’t’ forget EFS supports only linux file systems.
- Storage gateway supports a hybrid model.
Discover more from Information Security Blogs
Subscribe to get the latest posts sent to your email.
