2026-07-16 · Todd Rafferty's Blog Sitemap
Latest Articles
S3 hosting

How to Host a Static Website on Amazon S3 for Under $1 per Month

How to Host a Static Website on Amazon S3 for Under $1 per Month

Recent Trends

Over the past few years, static site generators like Hugo, Jekyll, and Eleventy have gained traction. Combined with cloud object storage, developers can replace traditional web servers with low-maintenance, pay-as-you-go hosting. Amazon S3, originally designed for file storage, now supports static website endpoints. Many small businesses, personal blogs, and documentation sites have moved to this model, citing cost reductions and simplified operations.

Recent Trends

Background

Amazon S3 (Simple Storage Service) allows users to store and retrieve any amount of data. In 2011, AWS added static website hosting features, enabling S3 buckets to serve HTML, CSS, and JavaScript files directly over HTTP. The service charges for storage, requests, and data transfer, but typical low-traffic static sites fall well within the AWS Free Tier limits—5 GB storage, 20,000 GET requests, and 2,000 PUT requests per month. Beyond the free tier, costs remain minimal: storage at roughly $0.023 per GB, requests at about $0.004 per 10,000, and data transfer at approximately $0.09 per GB (first 1 TB). For a site with a few hundred visitors, monthly bills often stay under $1.

Background

User Concerns

  • Unexpected costs: While the base scenario is cheap, large volumes of requests or data transfer (e.g., from image-heavy pages or bot traffic) can push costs higher. Users must monitor billing alerts and set budget limits.
  • Custom domains and HTTPS: S3 does not natively support HTTPS connections for static websites. To add HTTPS, users must place CloudFront (AWS’s CDN) in front of the S3 bucket. CloudFront introduces additional costs (around $0.085 per GB for data transfer out), but for low traffic it remains affordable.
  • Limited dynamic functionality: S3 only serves pre-built static files. Any dynamic features require third-party services or AWS Lambda/AWS API Gateway, adding complexity and potential cost.
  • Learning curve for non-developers: Setting up an S3 bucket, configuring permissions, and optionally linking CloudFront requires basic understanding of AWS console and IAM policies.

Likely Impact

The availability of ultra-low-cost static hosting encourages more content creators and developers to decouple frontends from backends. For documentation projects, marketing landing pages, and portfolio sites, the cost savings are substantial compared to shared hosting or managed WordPress plans that charge $5–$10 per month. However, enterprises must evaluate total cost of ownership when adding CloudFront, DNS management via Route53, and monitoring tools. The trend may also push other cloud providers to adjust pricing for object storage with web serving capabilities.

What to Watch Next

  • AWS Free Tier changes: Any reduction or removal of the 12-month free tier for S3 would affect new users; existing accounts retain benefits for one year after sign-up.
  • Competitor moves: Cloudflare Pages, Netlify, and Vercel offer free tiers with built-in CDN, HTTPS, and global edge delivery. S3 remains viable when users require tight integration with other AWS services or need to serve large static assets.
  • Security and traffic spikes: As more sites move to S3, attackers may target unsecured buckets or overwhelm endpoints. AWS’s WAF and Shield can mitigate this, but at extra cost.
  • Tooling improvements: Frameworks that simplify deploying to S3 (like AWS Amplify or the AWS CLI) are likely to evolve, lowering the barrier for non-developers.