I host am ExpressionEngine based website on a single Amazon EC2 instance in the US East (Virginia) region. I use Ubuntu.
The website allows members to post their content, and displays it for other members and for users who are not logged in.
Goal: I need to begin serving the same website across the globe, equally fast to Hong Kong, New York, and Los Angeles.
I considered two solutions:
1.Setting up three separate EC2 instances for three regions: Virginia, Oregon, and Singapore. Use Amazon Rot53 Geo Location to direct traffic to instances based on the browser's IP address.
Pro: the website will load fast for the region.
Contra: these will be essentially three separate websites. Unless I am mistaken?
- Setting up one instance in a region equally remote from all three locations: (Ireliand), and boost the server to the highest performance available.
Pro: It will be the same website for all regions.
Contra: it will cost a lot to make it fast enough.
My challenges:
a) I do not know a way to sync server settings, database, and content between multiple Ubuntu instances in real time. If a knowledgeable person could explain to me how to do that, I would be most grateful.
b) I am not thoroughly familiar with all Amazon AWS resources. Does AWS has a built-in method that would allow me to achieve my goal of serving a single PHP / MySQL based membership website across the globe equally fast in all three chosen locations?