Amazon S3
Cloud service · AWS · Updated

Amazon S3

In short

Amazon S3 (Simple Storage Service) is a scalable cloud storage service offered by Amazon Web Services (AWS) that allows users to store and retrieve any amount of data from anywhere on the web.

Cloud Services Hub →

Free Amazon S3 tools

6 key features of Amazon S3

Amazon S3 is a highly durable, scalable, and secure object storage service that offers cost-effective pricing, easy management, and event notification features, ideal for businesses of all sizes.

01
High Durability

Amazon S3 provides 99.999999999% durability for objects over a given year, ensuring high levels of data protection and reliability. This is achieved by automatically replicating data across multiple systems.

02
Scalability

S3 can handle large amounts of data and traffic, seamlessly scaling up or down as needed without compromising performance or speed. This makes it ideal for businesses of any size.

03
Security and Compliance

Offers comprehensive security features like encryption, access control lists, and bucket policies. S3 also complies with regulatory requirements, providing a secure environment for your data.

04
Cost-effective

With its pay-as-you-go model, charges depend on usage and the features enabled, rather than storage and transfer alone. S3 offers various storage classes for different use cases, helping to optimize costs.

05
Easy to Manage

Amazon S3 features an intuitive web interface, enabling users to organize data and configure finely-tuned access controls. Lifecycle policies can automate tasks like transitioning objects between storage classes or archiving.

06
Event Notifications

S3 can notify applications or services in real time when objects are uploaded or deleted, enabling automation of workflows and integration with other AWS services for processing or analysis.

Where Amazon S3 is used

Amazon S3 is utilized for backup and disaster recovery, static website and web application hosting, big data analytics, software delivery, and as a backbone for content delivery networks, offering scalable, secure, and cost-effective solutions across diverse use cases.

  1. 01
    Backup and Storage

    Amazon S3 provides a highly durable and scalable storage solution that can be used for online backup of critical data. It supports versioning, allowing recovery of retained object versions after accidental deletion or overwrite, offering a robust solution for disaster recovery plans.

  2. 02
    Application Hosting

    Developers use Amazon S3 to host static websites and web applications by storing HTML, CSS, JavaScript, and media files. This reduces the need for complex server infrastructure, making it a cost-effective and scalable way to deliver content to users.

  3. 03
    Big Data Analytics

    Amazon S3 works seamlessly with Amazon Elastic MapReduce (EMR) and other AWS services for analytics and data processing. S3 provides a centralized repository for storage, making it easier to perform big data analytics on a vast amount of data, aiding in generating insights and driving decisions.

  4. 04
    Software Delivery

    S3 is used by software vendors to distribute applications, updates, and patches. Thanks to its global reach and high availability, it ensures that users around the world can download software quickly and reliably.

  5. 05
    Content Delivery

    With Amazon S3's integration with Amazon CloudFront, it serves as a robust content delivery network (CDN) solution, caching content at edge locations worldwide. This setup accelerates the delivery of content to end-users, improving user experience and reducing load times.

How Amazon S3 is priced

Amazon S3 offers a variety of pricing models, including Standard Storage for frequently accessed data, Intelligent-Tiering for automatic cost optimization, and several options for infrequently accessed or archived data at lower costs.

Amazon S3 Standard Storage

This model charges for the storage space you actually use. It is designed for frequently accessed data and prices are based on the amount of data stored per month in gigabytes.

Amazon S3 Intelligent-Tiering

A cost-optimization feature that automatically moves your data to the most cost-effective access tier, based on how frequently you access each object. Charges apply for storage, monitoring, and automation fees.

Amazon S3 Standard-Infrequent Access (S3 Standard-IA)

Designed for data that is less frequently accessed, but requires rapid access when needed. Lower storage price compared to S3 Standard, but with a retrieval fee.

Amazon S3 One Zone-Infrequent Access (S3 One Zone-IA)

Similar to S3 Standard-IA, but stores data in a single Availability Zone. Offers lower storage costs at the risk of data availability.

Amazon S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive

Long-term backup and archive storage charged for storage, applicable requests, and retrievals. S3 Glacier Flexible Retrieval offers retrieval options from 1 minute to 12 hours, while S3 Glacier Deep Archive can restore data within 12 hours. Minimum storage durations are 90 days for Flexible Retrieval and 180 days for Deep Archive; earlier deletion, overwrite, or transition incurs a prorated charge for the remaining duration.

Amazon S3 Glacier Instant Retrieval

Storage has a minimum billable object size of 128 KB and a minimum duration of 90 days, with a prorated remaining-duration charge for earlier deletion, overwrite, or transition.

Requests and Data Retrieval

Requests against buckets and objects are charged by request type and quantity, including requests made through the console. Retrieval charges apply to Standard-IA, One Zone-IA, and Glacier Instant Retrieval reads and to applicable archive restores; a temporarily restored archive copy also incurs S3 Standard storage charges.

Data Transfer and Transfer Acceleration

Data transfer and transfer acceleration are separate S3 cost components.

Data Management and Insights

Data management and insights features have separate pricing.

Replication

Replication has separate pricing.

Transform and Query

Transform and query features have separate pricing.

Glacier Provisioned Capacity Units

Provisioned Capacity Units reserve expedited Glacier retrieval capacity for a month. Each unit provides at least three expedited retrievals every five minutes and up to 150 MB/s of retrieval throughput.

Amazon S3 Files

Charges apply to active data stored on the file system's high-performance storage and to reads and writes against that storage. Reads served directly from the S3 bucket incur S3 GET request charges but no S3 Files data access charges.

Amazon S3 Tables

Table buckets incur storage, request, and per-object monitoring charges, with additional fees for table maintenance and replication.

Amazon S3 Vectors

Charges cover vector storage, requests, uploaded data, and queried data. PUT pricing is based on logical GB uploaded, including vector data, metadata, and keys.

Amazon S3 Express One Zone

High-performance storage for frequently accessed data, with storage billed per GB per month.

Amazon S3 Tables Migration

Migration incurs destination-table storage charges and migration PUT and GET request charges. The initial table migration has no separate charge; the first 500 syncs per table migration are free within three months of starting migration, and additional syncs are charged based on the number of source-table objects.

Services Amazon S3 works with

Amazon EC2Amazon EC2

Amazon S3 can be used as a storage backend for Amazon EC2 instances, allowing these instances to store and retrieve data from S3 buckets.

Amazon RDSAmazon RDS

Amazon S3 integrates with Amazon RDS for database backup and restore functionalities.

AWS LambdaAWS Lambda

AWS Lambda allows you to run code in response to changes in S3 buckets, without provisioning or managing servers.

Amazon CloudFrontAmazon CloudFront

Amazon S3 integrates with Amazon CloudFront to deliver content with low latency and high transfer speeds by using S3 as the origin server.

AWS GlueAWS Glue

AWS Glue can crawl data in Amazon S3, making it available for ETL (Extract, Transform, Load) operations.

Amazon RedshiftAmazon Redshift

Amazon Redshift can use Amazon S3 as a data storage backend for loading large datasets into Redshift clusters.

Amazon API GatewayAmazon API Gateway

Amazon S3 buckets and objects can be exposed through API Gateway REST APIs using AWS service integrations. An API can retrieve an object or upload a file without an intermediary compute function.

Amazon AppFlowAmazon AppFlow

Amazon S3 can be a source or destination for AppFlow flows, allowing data transfers between buckets and supported SaaS applications. For example, a flow can periodically deliver Salesforce records into a data lake.

Amazon AthenaAmazon Athena

Amazon S3 stores the datasets that Athena queries using SQL, as well as query results. Athena can analyze supported file formats in buckets and query Apache Iceberg tables in S3 Tables.

Amazon Augmented AI (Amazon A2I)Amazon Augmented AI (Amazon A2I)

Amazon S3 holds input data referenced by A2I human review workflows and receives their review results. These outputs can be retained as labeled datasets or used to audit human decisions.

Amazon S3 exam questions

Real practice exam questions on Amazon S3, with the correct answer and its explanation. Answer them with every option in the exam simulator.

AIB-C01 (beta)

A financial services company is preparing the storage foundation for an AI credit-assessment initiative. Auditors require the company to retain each approved training dataset snapshot and its model-validation report for three years. During that period, the retained versions must remain unaltered and must not be permanently deletable, even by privileged storage administrators. The company wants managed storage without operating storage servers. Which approach best meets these requirements?

Show answerCORRECT ANSWER

Store the artifacts in Amazon S3 with Versioning and Object Lock, applying a three-year compliance-mode retention period to every required object version.

S3 Object Lock compliance mode prevents protected object versions from being overwritten or permanently deleted during their retention period, including by the account root user. Applying the required retention to each artifact provides managed, immutable storage for the audit evidence.

MLA-C02 (beta)

A company continuously uploads training-data files to an Amazon S3 general-purpose bucket. Every object must remain encrypted with the same customer managed AWS KMS key. All uploads use one ingestion IAM role.

As ingestion volume grows, the upload backlog increases. Investigation shows that AWS KMS is throttling GenerateDataKey requests made by S3 for the uploads. Network capacity and upload-worker resources are sufficient, and S3 request rates remain below its scaling limits. The application already retries throttled requests with exponential backoff, but the sustained arrival rate exceeds the throughput supported by the current encryption request pattern.

The company cannot increase its KMS request quota or change the required KMS key. Which change should an ML engineer make to improve sustained ingestion throughput?

Show answerCORRECT ANSWER

Enable S3 Bucket Keys for new uploads while continuing to use the required customer managed KMS key.

S3 Bucket Keys reduce the number of requests S3 makes to KMS by using a time-limited bucket-level key to create unique object data keys. This addresses the identified KMS throughput bottleneck while preserving SSE-KMS encryption with the required customer managed key.

SAP-C03

A company aggregates application logs from 90 AWS accounts through CloudWatch Logs cross-account subscriptions and Amazon Data Firehose into an Amazon S3 bucket in a central logging account. Firehose writes compressed objects between 16 MB and 64 MB in size to S3 Standard. The company retains these objects for 5 years.

Investigators frequently read recent logs. Historical datasets can remain unread for several months, but an investigation can make any historical dataset heavily accessed again without advance notice. Every object must remain available through millisecond-latency GET requests without a restore operation. The company wants storage placement to adapt automatically as access patterns change. It must not incur S3 per-GB data retrieval charges when investigators read historical datasets.

Which configuration meets these requirements with the LEAST operational overhead?

Show answerCORRECT ANSWER

Keep Firehose delivery to S3 Standard. Configure an S3 Lifecycle rule covering existing and future archive objects to transition them to S3 Intelligent-Tiering at the earliest eligible object age. Leave both optional asynchronous archive tiers disabled.

Lifecycle transitions place both existing objects and newly delivered objects into S3 Intelligent-Tiering without requiring Firehose to select that storage class directly. Intelligent-Tiering automatically moves eligible objects among Frequent Access, Infrequent Access, and Archive Instant Access according to access patterns, with millisecond access and no per-GB retrieval charges. Access to an object in an infrequent tier returns it to Frequent Access. Disabling the optional Archive Access and Deep Archive Access tiers avoids restore requirements, and the stated object sizes qualify for automatic tiering.

Practice Amazon S3 in a full exam

Questions on Amazon S3 in each practice exam, with every answer option and an explanation for each:

Start a free practice exam

What is Amazon S3

3 min read

Amazon S3, which stands for Amazon Simple Storage Service, is a scalable object storage service offered by Amazon Web Services (AWS) that allows users to store and retrieve vast amounts of data from anywhere on the web. It was launched in 2006 and quickly became an essential component of the internet's infrastructure, leveraged by startups, large corporations, and government agencies alike for a variety of storage solutions. 

At its core, Amazon S3 is designed to make web-scale computing easier and more accessible for developers. It provides a simple web services interface that can be used to store and retrieve any amount of data, at any time, from anywhere on the web. S3 is designed to provide 99.999999999% durability and 99.99% availability by default; these are design targets rather than unconditional guarantees. S3 Standard, S3 Standard-IA, S3 Intelligent-Tiering, and the S3 Glacier storage classes store objects across at least three Availability Zones. S3 One Zone-IA instead stores objects redundantly within one Availability Zone, and directory buckets store objects within a single Availability Zone or Local Zone. 

One of the key features of Amazon S3 is its scalability. Users can store as little or as much data as they want and access it when needed, without worrying about pre-provisioning storage space or bandwidth. They only pay for what they use, with no minimum fee or setup cost, which makes it an attractive option for both small-scale projects and enterprise-level operations. The pricing model of Amazon S3 is tiered, based on the amount of data stored and the operations performed on the data, such as requests for access and data transfer out of the AWS region. 

In addition to its high durability and scalability, Amazon S3 offers a rich set of features designed to meet a wide range of requirements. These include various storage classes tailored for different use cases, ranging from frequently accessed data to long-term archiving at lower costs. It also provides comprehensive security and compliance capabilities, ensuring that data is protected both at rest and in transit. Users can manage access to their objects stored in S3, using finely tuned permissions, and secure their data using encryption options. 

Buckets and their objects are private unless access permissions are explicitly granted.

S3 Lifecycle configuration is set per bucket and supports at most 1,000 rules per bucket; this limit cannot be increased.

S3 uses different bucket types for different workloads. General purpose buckets support all storage classes except S3 Express One Zone. Directory buckets use S3 Express One Zone for low-latency processing within a single Availability Zone. Table buckets store Apache Iceberg tables and automatically maintain them for analytics. Vector buckets use dedicated vector APIs, rather than S3 object APIs, to store vectors and query them by semantic similarity.

S3 Files provides a shared file system linked to an S3 bucket. Authoritative data remains in the bucket, while file-system writes are stored on high-performance storage and synced back to the bucket, maintaining consistency in both directions.

An S3 object consists of its data and descriptive metadata. Each object has a key that uniquely identifies it within its bucket.

The default quota is 10,000 general purpose buckets per AWS account; a quota increase can be requested.

S3 on Outposts stores data in an on-premises Outpost unless you explicitly transfer it to an AWS Region.

The flexibility of Amazon S3 extends to its integration with other AWS services and third-party applications, enabling a broad spectrum of workflows and scenarios. Whether it's hosting a website, running big data analytics, backing up and recovering critical data, or serving as a data lake for various applications, Amazon S3 provides the foundation upon which diverse needs can be met. Its API-driven approach also allows developers to easily integrate storage capability into their applications or software, leveraging the extensive documentation and SDKs provided by AWS. 

In summary, Amazon S3 stands out as an innovative, highly reliable, and scalable object storage solution. Its comprehensive features and integrations make it a versatile and essential tool for storing and retrieving data on the cloud, satisfying the demands of evolving digital landscapes and the ever-growing need for efficient, secure, and cost-effective storage solutions.

Learn Amazon S3 in lessons

51 short lessons on Amazon S3 in 10 certification courses.

and 45 more lessons

Open the lessons

Concepts related to Amazon S3

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.