New to AWS - Having difficulty deciding on the right product for my needs.

Prologue -

I’m an IT Admin with years of hardware and virtual server experience. I have set up a couple of ‘droplets’ at DigitalOcean in the past for small projects, but that’s the extent of my Cloud Server experience.

I’m sure this has been asked 10000 times, but my searching has left me wanting… If there are resources I’m missing in this department I’m happy to go RTFM. I’d love some real-world-experience advice on the right product if you’re willing to chime in.

Story -

We’re a small company that hosts about 10 websites. All individual WordPress installations living on one virtual server. Performance sucks and our web hosting company is expensive if we want to upgrade.

I’d like to move these to AWS.

7 of these sites are fairly static and generate minimal traffic. They hang out more for prosperity and to fulfill an occasional purpose/inquiry.

3 of these sites are more dynamic in their traffic loads. We run events that generate a lot of interest over a short period, and then go back to hibernation mode until next year. I’ll include our Wabalizer stats for our largest site at the bottom of the post -

Budget ~$250 a month or ~$3000 a year. Could squeak a little higher if there are significant gains to be had. If I can get it under that while still providing excellent performance I get to be the hero of the finance department and get a coveted gold star sticker.

So my reading has led me to these paths -

EC2 (can this scale quickly enough?)

BeanStalk (Is this too complicated for my needs?)

LightSail (Seems too basic maybe?)

Others paths to consider?

Right now I’m reading documentation on BeanStalk+RDS for Wordpress. Let me know if I’m on the right path.

>>Monthly Statistics for June 2018

>>Total Hits 11290160

>>Total Files 9056168

>>Total Pages 1473680

>>Total Visits 296917

>>Total kB Files 594181289

>>Total kB In 0

>>Total kB Out 0

>>Total Unique Sites 124543

>>Total Unique URLs 10416

>>Total Unique User Agents 8947

>>Hits per Hour 15680avg 75473max

>>Hits per Day 376338avg 875378max

>>Files per Day 301872avg 705577max

>>Pages per Day 49122avg 124623max

>>Sites per Day 4151avg 22611max

>>Visits per Day 9897avg 26583max

>>kB Files per Day 19806043avg 46677886max


Related discussions:

AWS performance sucks for Wordpress.
Look at benchmarks.

You’re pretty limited by your choice of application: Wordpress. By continuing to use wordpress, you are essentially locked in to using AWS’ two most expensive services: 1 being EC2, and 2 being RDS.

If a majority of those sites are truly static, and can be re-written to not use any server-side language (For example, giving PHP the axe) - you can get away with hosting them in S3 and serving them through CloudFront. I would imagine this would increase the speeds on those sites tremendously.

ECS2, Beanstalk, and Lightsail are essentially all the same on the backend.

Lightsail is just a small, pre-configured EC2 instance. It’s AWS’ answer to droplets.

Beanstalk is just automatic spinning up and configuring of EC2 instances, RDS instances, and load balancers based on load. You could do all of this manually, Beanstalk just makes it easier.

I am by no means an AWS expert, so maybe someone can offer some better input.

LOL, well that’s one option I hadn’t considered yet. Scrap AWS. :slight_smile:

If they’re fairly static, you could host them in EC2 or S3 and then put CloudFront (CDN) in front of them for a dramatic increase in performance

The hardest part is that budget. You’ll have some growing pains trying to set up, and the learning curve is steep.

If you treat this as a traditional lift n’ shift from one VM to another, you’ll only get what you pay for in terms of resources. For 10 sites getting that only that much traffic, you can probably still get away with operating on an m4.xlarge instance with detailed monitoring and you’ll stay well under budget — but it depends a lot on the stack you’re running. Out the door you may see a performance hit; it’s only 4 CPU’s and 16G memory, so run the numbers. If not, just do it: it’s only $150/mo to run the whole thing if you’ve the stomach for maybe needing to reboot the whole thing if an issue comes up.

If finance is willing to pay a reservation fee up front for the year, you can get twice the power for the same price, but that can be a trap— I don’t recommend it until you’ve settled on a more manageable setup.

There’s no benefits to doing this at first. Although it’s easy, all it affords you the side benefit (and extra challenge) of flexibility. With a new account you’ll be able to play around with a few configurations and see what works.

If you can get the keys to the master account, set up budget alerts so you feel safe experimenting, and get started. The first new configuration you’ll want looks like this:

  • a small rds instance (t2.micro) to host the Wordpress database server
  • a second t2.micro instance supplying the WP application
  • an AMI you can launch as a new t2.micro instance as-needed, with your configuration intact (this is a push-button operation if you have one configured)
  • an Application Load Balancer with your application instance in its Target Group.

The scary thing with this setup is that you won’t be able to predict the costs until you see it in practice. So why do it this way? Because you’ll learn how, and eventually it will save time, it will save money, and will provide both resiliency and scalability.

With a setup like this you’re still only halfway there. You’ll need to keep an eye on monitoring, of course, but don’t be afraid to turn on CloudWatch, it’s not expensive for your purposes. If you can offload the logs there (also not hard), you’ll be able to start working out better rules to figure when to turn up the number of concurrent t2.micro instances need to be warmed up and run.

From there, you’re on your own.

Have a gander on the interwebnets. Dude might have chosen a shit setup.

Super helpful, thank you.

You appear to be making the same mistakes that many people with budgets about 4 orders of magnitude higher appear to be making when considering migrating to AWS or another cloud provider - looking primarily at costs of infrastructure costs rather than total solution cost / benefit like more services to help you deploy websites faster leading to more work you can take on / revenue opportunities.

If all you really care about in the equation is the cost / performance of your servers minus considerations for backup / DR, you’re probably fine with a bare metal hosting provider (Vultr has bare metal on-demand and maybe Packet if you have some special needs which you don’t seem to) and paying like $200 / mo total for your hosting package.

AWS Lightsail is possibly of value but is still fundamentally in the AWS EC2 ecosystem and price / performance of instances / network egress is in no way the primary win even for Lightsail’s package offerings when going with EC2, period (other services like Redshift and Aurora are much more debateable).

Other options also include managed Wordpress offerings but I get the impression this is considered too expensive but I’d argue patching and maintaining Wordpress sites is some pretty time consuming work that you’d rather not do either.

Take a look here: https://aws.amazon.com/it/blogs/architecture/wordpress-best-practices-on-aws/

Lightsail all the way. If you are still used to working with control panels like plesk or cpanel, lightsail has $5/mo virtual servers you can launch with plesk with support for 3 domains. You can pay an extra 15/mo to upgrade plesk to support up to 30 domains.

I"m a big fan of AWS, but you should always keep an open mind as to whether it’s the right solution for your current problem. In most cases it is, but in your case it sounds like a better wordpress host would suit you better. AWS won’t manage patching wordpress for you. Dedicated wordpress hosts will.

Probably use a dedicated Wordpress SaaS ( such as https://wpengine.com.au/ ). It’ll be far cheaper in hosting, maintenance and especially security patching.

A good place to reference is our white paper for hosting Wordpress on AWS https://d0.awsstatic.com/whitepapers/wordpress-best-practices-on-aws.pdf. Combined with automatic WP and Plugin updates enabled I think the overhead to manage it is minimal. There are quite a few QuickStart guides to get you up in a few minutes. With added reliability comes added cost in almost any situation. If your goal is cost savings, I’d encourage consolidating the lower traffic sites into one cluster of auto scaled EC2. With no upfront reserved instances, plus leveraging the AWS Free Tier, it ends up being very cost effective. You’ll have the reliability of AWS, the variety of our services should you want to add functionality in the future, and the cost savings of doing it without a third party. Examples of other services that become interesting because you’re within the AWS ecosystem is Aurora Serverless. This is an ideal database option that is inexpensive and built to handle infrequently accessed use cases. I’d recommend starting with the white paper of best practices.

This. Wpengjne is amazing. Integrated backup, amazing support, handle upgrades and patching.