Live data from Hacker News

Wordpress on AWS: smooth and pain free

cloudonaut.io

41–50 of 124 posts

Re: Wordpress on AWS: smooth and pain free

#41
post #35

I do performance WP hosting and would like to try out EFS but it is not available locally yet. What I do is use redundant RDS, ELB etc but on all the WP installs have an inhouse plugin that with any change it ioniced rsyncs that vhosts tree to all webservers and ssh's a command to them all to dump their WP cache. It may seem hackish but the sites absolutely fly, have tried several clustered file systems but all that…

Why not roll your own NFS, then?

And if your cache is all on disk, a very quick win would involve moving that to memcache, no? That also makes forced expiration very easy.

Of course there are managed services for all of these things anyway.

Re: Wordpress on AWS: smooth and pain free

#42

I can host several WordPress sites on a 5$ / month droplet. How much would this AWS version cost? In 99,99% of the cases it's not every an option

You could host several WordPress sites on a free tier AWS EC2, too. Where things get a little more complicated is when you're getting real traffic and want to be fault tolerant and redundant.

RDS is here because keeping your database on the same server as your web server is not ideal at scale.

EFS is here because at some point you want to scale horizontally and it's one method to share underlying code (and perhaps cache).

ELB is here because if you have more than one web server, you need a load balancer

And as you scale, you could add services. This guide isn't for anyone who can host a tiny site on a tiny instance. You'd do that in AWS the same way you would with Digital Ocean.

Re: Wordpress on AWS: smooth and pain free

#44
post #41
post #35

I do performance WP hosting and would like to try out EFS but it is not available locally yet. What I do is use redundant RDS, ELB etc but on all the WP installs have an inhouse plugin that with any change it ioniced rsyncs that vhosts tree to all webservers and ssh's a command to them all to dump their WP cache. It may seem hackish but the sites absolutely fly, have tried several clustered file systems but all that…

Why not roll your own NFS, then? And if your cache is all on disk, a very quick win would involve moving that to memcache, no? That also makes forced expiration very easy. Of course there are managed services for all of these things anyway.

I was thinking where is the memcache in all those diagrams, AWS has very simple redundant memcache setup.

Re: Wordpress on AWS: smooth and pain free

#45
post #41
post #35

I do performance WP hosting and would like to try out EFS but it is not available locally yet. What I do is use redundant RDS, ELB etc but on all the WP installs have an inhouse plugin that with any change it ioniced rsyncs that vhosts tree to all webservers and ssh's a command to them all to dump their WP cache. It may seem hackish but the sites absolutely fly, have tried several clustered file systems but all that…

Why not roll your own NFS, then? And if your cache is all on disk, a very quick win would involve moving that to memcache, no? That also makes forced expiration very easy. Of course there are managed services for all of these things anyway.

The thing is that users update their sites very little and memcache is another expense.

Re: Wordpress on AWS: smooth and pain free

#47
post #20
post #18

Why is anyone running WordPress anymore.? So many better options.100s if not 1,000s. The fact that you need elaborate guides to host it one of the most common hosting providers is yet another example. It's junk. Time to move on. Edit: and the down votes are why this piece of garbage lives on. Please stop trying to hide how awful WordPress is. We all know it's terrible. Just because you work on it for a living doesn't…

Because moving an existing site to another platform is non-trivial. Sure I could figure out how to move over my theme, hundreds of posts, my menus, sidebars, hundreds of images, and all of my registered users. Or I could just stick with the existing good enough system and go do something else.

>Because moving an existing site to another platform is non-trivial.

It's not just that it's non-trivial, it's that when it comes down to a real analysis, these "clearly better" alternatives aren't clearly better at all. They generally much, much worse.

There is a hipsterism in technology just like every other field where people identify themselves by the things they reject. The GP post is such a claim, with over the top bombast making everyone know how much they dislike Wordpress, acting as if there is some unnatural force (e.g. user delusion) keeping it popular. It's popular because it may just be the best option for the purpose it serves.

And I don't develop Wordpress themes or plugins, and of course curse it occasionally. I leverage it as a tool.

Re: Wordpress on AWS: smooth and pain free

#48
post #29
post #24

Earlier quoted context omitted.

Sure, you need to support legacy software that is so junky you have no way to migrate off the platform. You're trapped in the dump. Even more reason to avoid WordPress and not get trapped in your situation.

You're complaining about lock-in, yet recommend hosted site-builders?

That is one disadvantage. If you bothered to read the rest of my comments you would see that I said it depends on your use case. If you just need a basic website you are much better off using a site builder than wasting quite possibly 1000s of dollars on support when something breaks. Be honest. So many non profits with limited budgets have wasted so much money that should have been spent on the actual purpose. All because of the lies they have been told by shady agencies who want the sweet sweet support contracts that junk like WordPress requires.
Post reply on HN