Skip to content
Pablo Rodriguez

Using Amazon S3

Use Cases

Amazon S3 features address various customer needs through four primary use cases:

Spikes in Demand

Host web content that needs bandwidth to address extreme spikes in demand

Static Site

Host a static site that consists of HTML files, images, and videos

Financial Analysis

Store data that other services can use for analysis

Disaster Recovery

Support disaster recovery or data backup solutions

  • Purpose: Store and distribute videos, photos, music files, and other media
  • Direct Delivery: Content can be delivered directly from Amazon S3 using unique HTTP URLs
  • CDN Integration: Amazon S3 can serve as origin store for Amazon CloudFront content delivery network
  • Scalability: “The elasticity of Amazon S3 makes it well-suited for hosting web content that needs bandwidth to address extreme spikes in demand”
  • Fast-growing websites hosting data-intensive, user-generated content
  • Video and photo-sharing sites
  • Applications requiring bandwidth for extreme demand spikes

URL Format for media access:

https://<bucket-name>.s3.amazonaws.com/video.mp4
  • Static Website: “Individual webpages include static content. They might also contain client-side scripts”
  • Dynamic Website: “Relies on server-side processing, which might involve database queries that run in response to server-side scripts, such as PHP, JSP, or ASP.NET”
  1. Configure an S3 bucket for website hosting
  2. Attach a bucket policy that allows access to the objects
  3. Upload website content to the bucket
  • HTML files
  • Images and videos
  • Client-side scripts (JavaScript)
  • CSS files
  • No Server Management: “You do not need to run a virtual machine that hosts a web server. In fact, you do not need to run a server”
  • Cost-Effective: “Amazon S3 provides a low-cost solution for web hosting”
  • Performance: Includes high performance, scalability, and availability

Website URL format:

http://bucket-name.s3-website.Region.amazonaws.com

Use Case 3: Data Store for Computation and Analytics

Section titled “Use Case 3: Data Store for Computation and Analytics”

Amazon S3 supports computation and large-scale analytics workloads including:

  • Financial transaction analysis
  • Clickstream analytics
  • Media transcoding
  1. Compute Capacity: Amazon EC2 Spot Fleet spun up when bid price is low, or Amazon EMR cluster is spun up
  2. Data Extraction: Raw unprocessed data extracted from Amazon S3 and other data sources
  3. Data Transformation: Data run through compute algorithms that integrate and transform it
  4. Data Loading: Resulting processed data loaded into a different S3 bucket
  5. Resource Termination: Compute capacity terminated to save costs
  6. Analytics: Analytics tool like Amazon QuickSight harvests meaningful insights from processed data

Use Case 4: Back Up and Archive Critical Data

Section titled “Use Case 4: Back Up and Archive Critical Data”
  • On-premises Data: Data backed up from corporate data centers
  • EC2 Applications: Data from Amazon EC2 instances running applications that generate data
  • High Durability: “Because of its highly durable and scalable nature, Amazon S3 works well as a data backup and archival tool”
  • Function: “Objects that are uploaded to a bucket in one Region will be automatically copied to other S3 buckets in other Regions”
  • Process: This is an asynchronous process
  • Purpose: Achieve even higher levels of durability
  • Option: Move long-term data from Amazon S3 standard storage to Amazon S3 Glacier
  • Cost Savings: Provides more cost-effective storage for infrequently accessed data

On-premises data requiring backup to cloud storage for disaster recovery purposes.

  • Unique HTTP URLs for each object enable direct access
  • Integration with CloudFront for global content delivery
  • Automatic scaling to handle traffic spikes
  • No infrastructure management required
  • Cost-effective hosting solution
  • High availability and performance
  • Easy setup and maintenance
  • Temporary compute resources reduce costs
  • Horizontal scaling supports concurrent processing
  • Separation of raw and processed data storage
  • Integration with analytics tools
  • High durability protects against data loss
  • Cross-region replication for additional protection
  • Scalable storage without capacity planning
  • Cost-effective long-term archival options

Amazon S3’s versatility makes it suitable for diverse use cases, from simple static website hosting to complex data analytics workflows, providing the foundation for scalable, cost-effective cloud storage solutions.