DEV Community

Headless Wordpress CMS on AWS

Randy Findley on November 04, 2018

Quickly spin up a headless Wordpress CMS on AWS using Docker Headless CMS is very popular at the moment. But what is a headless CMS and ...
Collapse
 
teaglebuilt profile image
dillan teagle

I am in the process of trying to deploy a blog with wordpress and react. As of now I am using terraform for creating an ec2 instance and then an s3 instance for the react front end. Now, I am using docker-compose to launch the application locally.

Looking at your approach, what would you suggest? You are also planning on hosting your front end through s3, obviously reduce cost, but how will you map this to where you can retrieve your data from your api in your frontend/s3?

I am considering your approach, although I do not have enough experience to suggest anything different.

Collapse
 
mte90 profile image
Daniele Scasciafratte

Now I am curious as example how you are using that WordPress instance and if you made a new interface for it.

PS: thanks for the tutorial :-)

Collapse
 
rgfindl profile image
Randy Findley

I am not using it yet. When I do I plan to use a static site generator, like gatsbyjs.org, to create the frontend website. A static S3/CloudFront website, like the the one in here github.com/thestackshack/serverles....

I think it would be cool to also use the WordPress webhook to trigger AWS CodePipeline & CodeBuild to regenerate the static site. So when I update the WordPress content the website will also be updated. Maybe I'll do another post with that.

Collapse
 
hzburki profile image
Haseeb Burki

Have you found a way to use Wordpress webhooks to trigger AWS CodePipeline and CodeBuild ???

Thread Thread
 
jfgrissom profile image
Jay F. Grissom