Live data from Hacker News

Wordpress on AWS: smooth and pain free

cloudonaut.io

91–100 of 124 posts

Re: Wordpress on AWS: smooth and pain free

#93
post #91

Why use CloudFlare? If you're already on AWS why not just use CloudFront? I've been using CloudFront on my WP installations for a few years now, ever since they've started supporting GET and POST requests.

The article doesn't mention CloudFlare?

The common argument is pricing, many people seem to prefer a relatively reliable monthly amount (that in the beginning might even be zero) to CloudFront's potentially expensive traffic costs.

Re: Wordpress on AWS: smooth and pain free

#95
post #69

It's always validating to see someone else write a blog post of the same decisions you made. This guide is good. For doing the uploads folder onto s3, I couldn't recommend S3-Uploads more it has served me well https://github.com/humanmade/S3-Uploads

I work at Human Made (owner of the above repo, and an enterprise WordPress agency), and we run all our sites on an all-AWS stack. We have a few other plugins for related AWS pieces, including email via SES [1] and a dynamic image thumbnail generator that runs on Lambda [2] that might also be relevant. Using S3 for the uploads solves our problems without needing EFS, as we disable file system changes through other met…

Great information, thanks - and I have a question: have you had issues with S3 being only eventually consistent for some usage modes [0]? If so how do you work around them? My first intuition is that this property of S3 could cause occasional problems with plugin upgrades, file changes, etc.

[0] See "Amazon S3 Data Consistency Model" on this page: http://docs.aws.amazon.com/AmazonS3/latest/dev/Introduction....

Re: Wordpress on AWS: smooth and pain free

#96

I'd love to see the bill of materials for that. Its _only_ running 2 PHP instances + 2 RDS instances + EBS storage costs + S3 buckets fees + ELB fees + CloudFront fees + traffic costs.

Came here to say the same thing - I'd love to see a monthly cost on a setup that looks like this... or anything on AWS. I can run many many WP sites on a $10/month box (not AWS) with proper config tunings.

Re: Wordpress on AWS: smooth and pain free

#97
post #75

This is one way to do it, though I can't recommend it as the best way. The first step is building your WordPress site correctly, and for me, that starts with using trellis ( https://roots.io/trellis ) and bedrock ( https://roots.io/bedrock ). He's partially correct about S3 for media and uploads, but you want to take it one step further and use Imgix for actual image (jpeg/png) delivery because it'll do all of the tr…

I would recommend Fastly for caching. It's brilliant.

Re: Wordpress on AWS: smooth and pain free

#98
post #75

This is one way to do it, though I can't recommend it as the best way. The first step is building your WordPress site correctly, and for me, that starts with using trellis ( https://roots.io/trellis ) and bedrock ( https://roots.io/bedrock ). He's partially correct about S3 for media and uploads, but you want to take it one step further and use Imgix for actual image (jpeg/png) delivery because it'll do all of the tr…

Please try to avoid CloudFlare when possible. StackOverflow recently dumped CF.

http://www.slashgeek.net/cloudflare-making-internet-little-b...

Re: Wordpress on AWS: smooth and pain free

#99
post #9

Before you hop on board with this "pain free" solution, you should accept the fact that you may end up maintaining this: https://github.com/widdix/aws-cf-templates/blob/master/wordp... There should be easier way, e.g. in Azure you can start WordPress (includes MySQL, limited to one app service instance) with one click, not sure what are the costs of maintaining that, but at least starting one in that case is pain fre…

But Azure has terrible MySQL offerings, which really limit the appeal of running WordPress there.

Re: Wordpress on AWS: smooth and pain free

#100
post #4

And this cloud setup is going to cost probably for few hundreds of dollars a month. Has anybody working towards serverless version of wp?

> Has anybody working towards serverless version of wp? I'm curious on what a "serverless version of wordpress" consists of, please enlighten us on the technical details of a serverless wordpress, sincerely. And how would you have a "serverless shopping card" too ? I'm really curious about the how it. If you're talking about a static blog generator then it already exists (Hugo,...) is this what you call serverless ?

By serverless I mean version of the wp which could use Google functions (https://cloud.google.com/functions/) or Amazon Lambda (https://aws.amazon.com/lambda/) or Microsoft Azure Functions (https://azure.microsoft.com/en-us/services/functions/)

It would provide unlimited and automatic scaling, simplified setup/architecture and we would pay only for what we use.

Post reply on HN