FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Create AWS CloudFront on Pay-as-You-Go (not the Free Plan)
How-ToDevOps

Create AWS CloudFront on Pay-as-You-Go (not the Free Plan)

via Dev.toRost1mo ago

The AWS Free plan is not working for me and Pay-as-you-go is hidden for new CloudFront Distributions on AWS Console . When you host Hugo-based sites on AWS , you typically put the bucket behind CloudFront and attach a Lambda@Edge function so that requests to directory paths (e.g. /blog/ ) are rewritten to /blog/index.html for S3 website-style origins. You can then use hugo deploy or deploy with the AWS CLI to sync the built site. The catch: you need a CloudFront distribution that uses that Lambda and, if you want to avoid flat-rate plan commitments, pay-as-you-go pricing. The console no longer lets you choose that-only Free or Pro plans. This post shows how to create a pay-as-you-go distribution by reusing an existing distribution’s config via the AWS CLI and the scripts in this article’s scripts folder. When the console only offers Free or Pro Amazon introduced CloudFront flat-rate pricing plans (Free, Pro, Business, Premium) that bundle the CDN with WAF, DDoS protection, Route 53, an

Continue reading on Dev.to

Opens in a new tab

Read Full Article
19 views

Related Articles

I have blogged about the difference between code coverage and test coverage and why it matters to distinguish between these 2.
How-To

I have blogged about the difference between code coverage and test coverage and why it matters to distinguish between these 2.

Dev.to Beginners • 1d ago

The origin story of Apple’s long-running relationship with FoxConn
How-To

The origin story of Apple’s long-running relationship with FoxConn

The Verge • 1d ago

Switzerland — Best Crypto Exchange (2026)
How-To

Switzerland — Best Crypto Exchange (2026)

Dev.to Beginners • 1d ago

Cursor Your Dream, Part 2: How to Move From First Prompt to First Working App
How-To

Cursor Your Dream, Part 2: How to Move From First Prompt to First Working App

Hackernoon • 1d ago

How-To

The Difference between `let`, `var` and `const`

Medium Programming • 1d ago

Discover More Articles