AWS cloud hosting vs. a local managed server host for a web app in Cape Town

19 April 2016

Host your new web app on AWS or on your own server at a local hosting company?  If you're in most countries AWS wins, but not in South Africa.

Cloud advantages

Minor advantages

Cloud disadvantages

Minor disadvantages

Costs

Costs for AWS and a dedicated box are about the same:

The speed test

I created a 22MB static web page (some text & seven images) and deployed it to AWS in Ireland and to Hetzner in Westerford, Cape Town. The load times for AWS were 500 ms for the text (DOM) and 30 s for the full page. The load times for local were 28 ms for the text (DOM) and 28 s for the full page.

Conclusion

Even though the time taken to load a full page is the same on AWS & locally, having a user wait an extra 200 ms or so on every button click makes a big difference to the appearance of speed on a modern web app. We decided to use a local server. But we can always cancel our monthly subscription any time and move to AWS later if we want. All components will run in Docker instances on one server so they're isolated.