I am relatively new to Amazon Web Services and I am trying to get my head around how Elastic Load Balancing will work in context of my wordpress setup. In addition, I would like some advice on proposed infrastructure.
My initial proposed infrastructure is as follows:
- 1x EC2 m1.small - Ubuntu 12.04.3 LTS 64bit (with 1 EBS volume)
- 1x EC2 t1.micro - Ubuntu 12.04.3 LTD 64bit (with or without EBS volume?)
- 1x Micro RDS Instance - MySQL 5.6.13
EC2 My current EC2 (t1.micro) is running a LAMP stack and configured to run wordpress.
I would like to load balance this with an m1.small instance, running a clone of the t1.micro instance.
The current unknowns for me are as follows:
- How will a load balanced setup manage changes made on the wordpress CMS across instances? Will I have to keep updating the AMIs every time a change is made in wordpress?
- My website is an ecommerce website. Is there any impact of this in a load balanced setup? I.e., is there a possibility for orders to exist on one instance and not another?
It might be a pretty stupid question, but I am presuming some issues won't be relevant because the infrastructure is referencing one database.
Lastly, is there a better way I should be setting up the infrastructure for load balancing? I.e. should I be considering using Amazon S3 to store all of my files and use Cloudfront as a CDN to ensure efficient operation and resolve any EBS file replication issues.
Any help greatly appreciated.