Amazon S3 のアイコン

Amazon S3 Essential2006年〜

A scalable object storage service

What It Does

Amazon S3 (Simple Storage Service) is an object storage service for storing and retrieving data over the internet. It has no capacity limits and provides 99.999999999% (eleven 9s) durability. You can store any type of data - images, videos, logs, backups, data lakes, and more.

Use Cases

Static website hosting, application file storage, data lake construction, backup and archiving, log aggregation, and storing ML training data - one of the most widely used services on AWS.

Everyday Analogy

Think of an infinitely expandable cloud warehouse. You can store packages (files) of any size and retrieve them from anywhere in the world. You can lock them (encryption) and choose a pricing plan (storage class) based on how long you need to keep them.

What Is S3?

Amazon S3 is the core storage service of AWS. You store objects (files) in containers called buckets. Each object is assigned a key (path) and is accessible via HTTP/HTTPS. No capacity pre-provisioning is needed - you pay based on the amount of data stored and transferred.

Storage Classes

S3 offers multiple storage classes based on access frequency. S3 Standard is for frequently accessed data. S3 Intelligent-Tiering automatically analyzes access patterns and moves data to the optimal class. S3 Glacier Instant Retrieval provides millisecond access to archive data. S3 Glacier Deep Archive is the lowest-cost option for data accessed once or twice a year. Lifecycle policies can automatically transition data between classes.

Security and Access Control

S3 blocks public access by default. Access is controlled through bucket policies and IAM policies, and data is protected with server-side encryption (SSE-S3, SSE-KMS). S3 Access Points let you set different access permissions per application. Enabling versioning preserves object change history and enables recovery from accidental deletions. For detailed coverage of security and access control, books on Amazon are a useful reference.

Getting Started

In the S3 console, click "Create bucket" and specify a bucket name and region. Upload files to the bucket and you're ready to go. The free tier includes 5 GB of S3 Standard storage, 20,000 GET requests, and 2,000 PUT requests for 12 months.

Things to Watch Out For

  • Bucket names must be globally unique. Deleted bucket names may not be immediately available for reuse
  • Data transfer costs (especially outbound to the internet) can be a significant portion of the bill. Combining with CloudFront can reduce transfer costs
  • S3's eleven-9s durability is achieved by automatically replicating data across 3 or more Availability Zones
共有するXB!