Cheap static site hosting, after a year of AWS bills
This site is a folder of files, so hosting it should cost close to nothing. I pulled a year of bills to see what it really costs, then priced the alternatives. The short version: hosting is free almost everywhere, and the only real cost is the domain name.
What it costs today
The site runs on three AWS services, plus the domain. These are the numbers from the billing console, November 2025 to October 2026.
| Line | What it does | Per year |
|---|---|---|
Domain, .net |
Keeps the name gnohj.net |
$17.00 |
| Route 53 | DNS: points the name at the site | $6.05 |
| S3 | Stores the files in a private bucket | $0.09 |
| CloudFront | The CDN: HTTPS and caching near the visitor | $0.00 |
| Total | $23.14 |
Storage and the CDN together cost nine cents. CloudFront is free because the site is small: at most 67,000 requests and about 0.1 GB a month, against a free tier of 1 TB. The other $23.05 pays for the name: the domain itself, and DNS for it.
Option 1: pay nothing, without the domain
Every host gives out an address on its own domain for free, with hosting, DNS and HTTPS included.
| Host | Free address |
|---|---|
| GitHub Pages | gnohj.github.io |
| Cloudflare Pages | gnohj.pages.dev |
| Netlify | gnohj.netlify.app |
| Vercel | gnohj.vercel.app |
The price is the address.
It carries another company’s name, depends on that company’s terms, and changes if I change hosts.
I am keeping gnohj.net, so everything below assumes the domain stays.
Option 2: keep the domain
A .net domain is rented from its registry, which charges every registrar a yearly fee.
Cloudflare’s registrar passes that fee on with no markup, and its DNS is free.
That makes about $11.86 a year the floor for keeping the name.
The figure is what price trackers list today, so I will check it at transfer time.
Every host in this table is free and supports a custom domain. What changes the total is where the domain is registered and who answers DNS.
| Option | Domain | DNS | Hosting | Per year |
|---|---|---|---|---|
| AWS as it is today | $17.00 | $6.05 | $0.09 | $23.14 |
| AWS on CloudFront’s free plan | $17.00 | $0.00 | $0.00 | $17.00 |
| Cloudflare for domain, DNS and hosting | $11.86 | $0.00 | $0.00 | $11.86 |
| Another free host, domain and DNS on Cloudflare | $11.86 | $0.00 | $0.00 | $11.86 |
Moving only the hosting off AWS would save nine cents. The saving comes from the registrar and the DNS, and the host is a matter of taste.
What to know about each host:
- CloudFront’s free plan. AWS added it in late 2025. It covers 1 million requests and 100 GB a month, the Route 53 fees and 5 GB of S3, with no overage charges. It needs a firewall rule set attached to the site and is not open to every account.
- Cloudflare. Requests for static files are free and unlimited. A domain registered there has to use Cloudflare’s DNS.
- GitHub Pages. A soft limit of 100 GB a month. On the free GitHub plan the repository has to be public.
- Netlify. The free plan is 300 credits a month and each production deploy costs 15, so 20 deploys a month before traffic is counted.
- Vercel. 100 GB a month, limited to personal, non-commercial use.
What Cloudflare saves
Against the bill today, $11.28 a year, or 94 cents a month. Against CloudFront’s free plan, $5.14 a year.
Projected over five years at today’s prices:
| Year | AWS, running total | Cloudflare, running total | Saved so far |
|---|---|---|---|
| 1 | $23.14 | $12.36 | $10.78 |
| 2 | $46.28 | $24.22 | $22.06 |
| 3 | $69.42 | $36.08 | $33.34 |
| 4 | $92.56 | $47.94 | $44.62 |
| 5 | $115.70 | $59.80 | $55.90 |
The move itself adds no new expense. The $11.86 transfer fee adds a year to the domain and replaces the $17.00 renewal. Year one includes 50 cents for a month of Route 53 while both setups run.
Why move, when the saving is that small
Under a dollar a month is not a reason to move anything. These are the reasons that hold up.
- Fewer parts. Cloudflare serves
/blog/from/blog/index.htmlon its own. On AWS that takes a function, next to a bucket policy, an access control and a deploy script that clears the cache. - No bill to watch. Static requests are unlimited, so no amount of traffic makes the site cost money.
- One place. Domain, DNS, certificate and files sit in one account.
And the reasons to stay.
- It works, and it is tuned. Caching, security headers, HTTP/3 and the private bucket are set up and tested.
- No lock-in on DNS. On AWS the registrar and the DNS can be separated.
- Practice. I work with AWS, and running my own site on it keeps me close to the details.
The plan
I am going to move, for the smaller number of parts. Each step can be undone until the last one.
- Deploy a copy to Cloudflare. Upload the same build to a preview address and check every kind of URL: pages, the 404 page, the feed and the old project redirects.
- Carry over the settings. Security headers and cache times move into a
_headersfile in the repository. - Move DNS. Add the domain to Cloudflare, copy the records, then point the nameservers at Cloudflare. Pointing them back undoes this.
- Watch for a week. Both setups stay up, so a rollback is a DNS change and nothing else.
- Transfer the domain before it renews in January.
- Delete the AWS side. The distribution, the bucket and the hosted zone go last, once nothing points at them.