0Pricing
AWS for Backend Developers (EC2, S3, RDS, Lambda) · Lesson

Hosting Static Websites and CDN Delivery

Serve a static website straight from an S3 bucket and accelerate global delivery with a CloudFront CDN in front of it.

S3 as a Web Server

Beyond storing files, S3 can host a static website, HTML, CSS, JS, and images, with no servers to manage. It is cheap, scalable, and a perfect fit for single-page apps and documentation sites.

Enabling Static Hosting

You enable the static website hosting feature on the bucket and specify an index document (the home page) and an error document.

All lessons in this course

  1. S3 Buckets and Objects Explained
  2. S3 Versioning and Lifecycle Policies
  3. Securing S3 Data Access
  4. Hosting Static Websites and CDN Delivery
← Back to AWS for Backend Developers (EC2, S3, RDS, Lambda)