Amazon S3

Amazon Simple Storage Service (Amazon S3) is an object storage built to retrieve any amount of data from anywhere.

Amazon S3 Non-archival Storage Classes

  • Stores files as objects in buckets
  • Provides different storage classes for different use cases
    • Standard: for freqently accessed data
    • Intelligent Tiering: moves data to correct class based on usage
    • Standard-IA: for infrequently accessed data with the standard resilience
    • S3 One Zone-IA: for infrequently accessed data that is stored in only one AZ
  • Stores data across multiple availability zones
  • Enables URL access for files
  • Offers configurable rules for data lifecycle Can serve as a static website host

Use cases

For fast storage and access of -

  • Images, documents, tabular data in files, etc.
  • Machine Learning models
  • Database backups, logs, and other dumps
  • Hosting website

Demo

  • Connect to ai-academy-2022 S3 bucket
  • Using AWS Python SDK, list all the objects in the ai-academy-2022 bucket