# Serverless Static Wordpress on AWS for $0.01 a day

**URL:** <https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138>\
**Category:** AWS Compute Discussion\
**Created:** [June 20, 2021, 8:39pm UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138 "2021-06-20T20:39:22Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![rafaturtle](https://awshq.com/letter_avatar_proxy/v4/letter/r/8c91f0/32.png) [@rafaturtle](https://awshq.com/u/rafaturtle)\
**Post date:** [June 20, 2021, 8:39pm UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/1 "2021-06-20T20:39:22Z")

</div>

Serverless Static Wordpress on AWS for $0.01 a day

> **[Serverless Static WordPress on AWS for $0.01 a day - TechToSpeech](https://dev.to/aws-builders/serverless-static-wordpress-on-aws-for-0-01-a-day-1b29)**
>
> Announcing a community Terraform module that will deploy Serverless Static Wordpress on AWS with SSL, CDN, and WAF for only $0.01 a day.

---

<div class="post-metadata">

**Author:** ![theDaveAt](https://awshq.com/letter_avatar_proxy/v4/letter/t/e0b2c6/32.png) [@theDaveAt](https://awshq.com/u/theDaveAt)\
**Post date:** [June 21, 2021, 12:40am UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/2 "2021-06-21T00:40:36Z")

</div>

This is exactly the kind of article I’ve been waiting for (both the short and long versions)! Nice combination of “service when I need it” and “static when I don’t”.

Looking forward to more articles that leverage server less capabilities in creative ways!

---

<div class="post-metadata">

**Author:** ![DeputyCartman](https://awshq.com/letter_avatar_proxy/v4/letter/d/4af34b/32.png) [@DeputyCartman](https://awshq.com/u/DeputyCartman)\
**Post date:** [June 21, 2021, 1:28am UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/3 "2021-06-21T01:28:25Z")

</div>

The constant stream of announcements and new products is why I’m not really kidding when I idly ponder “I wonder when companies are going to post Cloud Compute Announcement Manager”

That’s all you do. Keep precise up to date reports and data on new announcements and make sure your org knows them and has a precise understanding of what you can do with your cloud compute providers.

I think we’ve all read, had, etc. conversations where you and/or the other person you’re talking to go “Holy shit, I didn’t know feature existed!”

---

<div class="post-metadata">

**Author:** ![SoProTheyGoWoah](https://awshq.com/letter_avatar_proxy/v4/letter/s/8dc957/32.png) [@SoProTheyGoWoah](https://awshq.com/u/SoProTheyGoWoah)\
**Post date:** [June 21, 2021, 2:00am UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/4 "2021-06-21T02:00:18Z")

</div>

Maybe some automation to shut down and start up the container would take it to the next level.

---

<div class="post-metadata">

**Author:** ![hashkent](https://awshq.com/letter_avatar_proxy/v4/letter/h/e99b99/32.png) [@hashkent](https://awshq.com/u/hashkent)\
**Post date:** [June 21, 2021, 2:06am UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/5 "2021-06-21T02:06:19Z")

</div>

My question is why do you need WAF when your site is static? Additionally depending on use case pushing your static files generated into git and publish to Cloudflare pages or Netlify are also “free” options.

---

<div class="post-metadata">

**Author:** ![phx-au](https://awshq.com/letter_avatar_proxy/v4/letter/p/a183cd/32.png) [@phx-au](https://awshq.com/u/phx-au)\
**Post date:** [June 21, 2021, 2:09am UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/6 "2021-06-21T02:09:43Z")

</div>

> [https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zj6oechff6x86lbjnshd.png](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zj6oechff6x86lbjnshd.png)

Or, just use a tool designed for the job like Hugo?

---

<div class="post-metadata">

**Author:** ![acantril](https://awshq.com/letter_avatar_proxy/v4/letter/a/45deac/32.png) [@acantril](https://awshq.com/u/acantril)\
**Post date:** [June 21, 2021, 2:33am UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/7 "2021-06-21T02:33:55Z")

</div>

> [@phx-au](#):
>
> Or, just use a tool designed for the job like Hugo?

maybe people like the Wordpress UI and management process… Hugo and Jekyll (both of which ive used) come with their own tradeoffs.

---

<div class="post-metadata">

**Author:** ![acantril](https://awshq.com/letter_avatar_proxy/v4/letter/a/45deac/32.png) [@acantril](https://awshq.com/u/acantril)\
**Post date:** [June 21, 2021, 2:34am UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/8 "2021-06-21T02:34:10Z")

</div>

This is awesome /u/rafaturtle is this your article or just posting one you found ?

---

<div class="post-metadata">

**Author:** ![rafaturtle](https://awshq.com/letter_avatar_proxy/v4/letter/r/8c91f0/32.png) [@rafaturtle](https://awshq.com/u/rafaturtle)\
**Post date:** [June 21, 2021, 2:35am UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/9 "2021-06-21T02:35:15Z")

</div>

> [@acantril](#):
>
> This is awesome /u/rafaturtle is this your article or just posting one you found ?

Sorry. I was going to add the right attribution. But I liked so much that I wanted to share straight away.

---

<div class="post-metadata">

**Author:** ![the\_screenslaver](https://awshq.com/letter_avatar_proxy/v4/letter/t/4bbf92/32.png) [@the\_screenslaver](https://awshq.com/u/the_screenslaver)\
**Post date:** [June 21, 2021, 3:15am UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/10 "2021-06-21T03:15:53Z")

</div>

> [@phx-au](#):
>
> Or, just use a tool designed for the job like Hugo?

Because for non developers , these tools are not so easy. My site is built like this, but with an ec2 which runs only when I need to create a post. These static page generators you mentioned is not user-friendly enough for me.

---

<div class="post-metadata">

**Author:** ![acantril](https://awshq.com/letter_avatar_proxy/v4/letter/a/45deac/32.png) [@acantril](https://awshq.com/u/acantril)\
**Post date:** [June 21, 2021, 3:22am UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/11 "2021-06-21T03:22:19Z")

</div>

> [@rafaturtle](#):
>
> Sorry. I was going to add the right attribution. But I liked so much that I wanted to share straight away.

oh no dramas, I was just going to give an award if it was yours because its an awesome guide.

---

<div class="post-metadata">

**Author:** ![absoluteczech](https://awshq.com/letter_avatar_proxy/v4/letter/a/e0b2c6/32.png) [@absoluteczech](https://awshq.com/u/absoluteczech)\
**Post date:** [June 21, 2021, 3:23am UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/12 "2021-06-21T03:23:39Z")

</div>

This is amazing. Been waiting for something like this for awhile!

---

<div class="post-metadata">

**Author:** ![will\_work\_for\_twerk](https://awshq.com/letter_avatar_proxy/v4/letter/w/e480ec/32.png) [@will\_work\_for\_twerk](https://awshq.com/u/will_work_for_twerk)\
**Post date:** [June 21, 2021, 4:19am UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/13 "2021-06-21T04:19:38Z")

</div>

> [@hashkent](#):
>
> My question is why do you need WAF when your site is static? Additionally depending on use case pushing your static files generated into git and publish to Cloudflare pages or Netlify are also “free” options.

I THINK WAF is used here to keep costs low. When considering all the bot/scraping traffic out there, a hit to the firewall would cost much less than the cloudfront/s3 transfer.

---

<div class="post-metadata">

**Author:** ![30thnight](https://awshq.com/letter_avatar_proxy/v4/letter/3/ba8739/32.png) [@30thnight](https://awshq.com/u/30thnight)\
**Post date:** [June 21, 2021, 4:47am UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/14 "2021-06-21T04:47:08Z")

</div>

For people wanting to replicate, you don’t need to do everything listed on the graph. If you use the plugin mentioned (WP2Static) - S3 + Cloudfront is all that’s really important.

---

<div class="post-metadata">

**Author:** ![Coolbsd](https://awshq.com/letter_avatar_proxy/v4/letter/c/3be4f8/32.png) [@Coolbsd](https://awshq.com/u/Coolbsd)\
**Post date:** [June 21, 2021, 5:23am UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/15 "2021-06-21T05:23:04Z")

</div>

Great post about how to use AWS resources, however if WordPress it the only think you care about then probably use GCP free tier, I’m running multiple super-low-traffic WP sites on a F1-micro instance there without a cost.

---

<div class="post-metadata">

**Author:** ![cklingspor](https://awshq.com/letter_avatar_proxy/v4/letter/c/43a26b/32.png) [@cklingspor](https://awshq.com/u/cklingspor)\
**Post date:** [June 21, 2021, 5:37am UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/16 "2021-06-21T05:37:35Z")

</div>

This is pretty cool and I think I might use some parts of this. I came up with a similar architecture but way higher costs since I don’t create a static page out of the WordPress site.  
I’m not sure about the 0.01$ claim though as there is AWS [EFS](https://aws.amazon.com/de/efs/pricing/) involved which will be around 0.30$ a gigabyte per month and as I understood the author this efs is not going anywhere even if the container is shut down and the Aurora database does not cost anything.

But Anyways, this is cool and I’ll definitely check it out to see if I can optimize what I’ve build.

---

<div class="post-metadata">

**Author:** ![petewilcock](https://awshq.com/letter_avatar_proxy/v4/letter/p/b5e925/32.png) [@petewilcock](https://awshq.com/u/petewilcock)\
**Post date:** [June 21, 2021, 7:41am UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/17 "2021-06-21T07:41:35Z")

</div>

> [@acantril](#):
>
> This is awesome /u/rafaturtle is this your article or just posting one you found ?

This is me 🙂 Nice to see it shared to reddit!

---

<div class="post-metadata">

**Author:** ![petewilcock](https://awshq.com/letter_avatar_proxy/v4/letter/p/b5e925/32.png) [@petewilcock](https://awshq.com/u/petewilcock)\
**Post date:** [June 21, 2021, 7:42am UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/18 "2021-06-21T07:42:53Z")

</div>

Hey, I wrote this module so let me know if you have any questions on its set-up! Really nice to see it have such a strong response so quickly!

The more detailed write-up is here: [https://www.techtospeech.com/serverless-static-wordpress-on-aws-the-long-version/](https://www.techtospeech.com/serverless-static-wordpress-on-aws-the-long-version/)

---

<div class="post-metadata">

**Author:** ![petewilcock](https://awshq.com/letter_avatar_proxy/v4/letter/p/b5e925/32.png) [@petewilcock](https://awshq.com/u/petewilcock)\
**Post date:** [June 21, 2021, 7:45am UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/19 "2021-06-21T07:45:07Z")

</div>

> [@hashkent](#):
>
> My question is why do you need WAF when your site is static? Additionally depending on use case pushing your static files generated into git and publish to Cloudflare pages or Netlify are also “free” options.

WAF is just an option in the event you really need it. Given this is all configured in Terraform, you wouldn’t be able to add the WAF manually since it’s part of the CloudFront distribution configuration.

But no you really don’t need WAF for a static site unless you have a specific need. It adds to the costs substantially ($8 a month is substantial!) and is definitely not $0.01 a day.

---

<div class="post-metadata">

**Author:** ![petewilcock](https://awshq.com/letter_avatar_proxy/v4/letter/p/b5e925/32.png) [@petewilcock](https://awshq.com/u/petewilcock)\
**Post date:** [June 21, 2021, 7:49am UTC](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138/20 "2021-06-21T07:49:14Z")

</div>

> [@phx-au](#):
>
> Or, just use a tool designed for the job like Hugo?

There are a zillion people with existing, substantial Wordpress sites that aren’t going to migrate their content to another CMS manually. But converting it to static on the other hand…

[Next page](https://awshq.com/t/serverless-static-wordpress-on-aws-for-0-01-a-day/13138.md?page=2)
