Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cheapest, future-scalable way to host a HTTPS PHP Website on AWS?

I've already got an RDS instance configured and running, but currently we're still running on our old web host. We'd like to decrease latency by hosting the code within AWS.

Two concerns: 1) Future scalability 2) Redundancy ... not a huge concern but AWS does occasionally go down.

Has anyone had this problem where they just need to cheaply run what is essentially a database interface via a language such as PHP/Ruby, in 2 regions? (with one as a failover)

Does Amazon offer something that automatically manages resources, that's also cost effective?

like image 368
Ben Guild Avatar asked Jul 25 '26 15:07

Ben Guild


1 Answers

Amazon's Elastic Beanstalk service supports both PHP and Ruby apps natively, and allows you to scale your app servers automatically.

In a second region, run a slave RDS instance off of your master (easy to set up in RDS) and have another beanstalk setup there ready as a failover.

like image 50
platforms Avatar answered Jul 28 '26 04:07

platforms



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!