Prasanna Natarajan

AWS VPC Architecture for a highly-available, scalable Rails Application

Recently I worked on a client project where the requirements were this:

This post details about the second phase where I had a working rails application in hand, that I wanted to deploy it in a secure infrastructure within AWS.

The client had a few requirements as to how the security aspect of the infrastructure would be:

With these requirements in hand, I set out to design and develop the following infrastructure.

This architecture closely resembles the ‘Scenario 2’ example seen in AWS Documentation, with slight changes.

The whole setup was later automated via AWS Cloudformation as a parameterized json template. With just that template and the necessary params, the client was able to spin the app and its infrastructure in various AWS regions around the world.