Monday, April 25, 2016

Amazon Hosting A Web app Architecture Overview

The idea is to get to know how to deploy a scalable, robust web app on AWS infrastructure. The aim is listed below 

- Create a Virtual Server, called Ec2 instance, and use it as an application server in the cloud. 
- Create a database server, called DB instance
- Deploy a sample Web App to the application server
- Set up a scaling and load balancing to distribute traffic across a minimum number of application servers
- Associate a domain with the web app. 

Below is the web app hosting architecture 

For low cost, reliable application and database servers, Amazon EC2 provides virtual servers in the cloud. Developer can control the protocols, ports, and source IP Address ranges that can access the virtual servers. Amazon EBS provides a persistent file system for Amazon EC2 Virtual servers. Amazon RDS provides cost-efficient and resizable database server that easy to administer. 

Below architecture diagram shows an example architecture for a web app. 
The web application tiers runs on EC2 instances in public subnets. Access to EC2 instance over SSH is controlled by a security group, which acts as a firewall. 
The auto scaling group maintains a fleet of EC2 instances that can scale to handle the current load. The auto scaling group spans multiple availability zones. The load balancer get adjusted accordingly whenever auto scaling group expands or terminates a EC2 instance. 

Access to DB instances from EC2 instances is controlled by security group. 



references:

No comments:

Post a Comment