Setting up the AWS infrastructure
This section introduces you to provisioning the AWS infrastructure in order to deploy and run the A1Electronics
e-commerce application securely on AWS. You will also see the code changes required at the application level. By the end of this section, you will be familiar with creating EC2 and RDS instances, and the choices you need to make for configuring them for you own deployments. We will automate the entire process, which will allow you to launch and stop existing RDS and EC2 instances, and also create new ones. So let's begin.
The AWS cloud deployment architecture
Before we start, we need to have the deployment architecture in place. The term deployment architecture here describes the manner in which a set of resources like the web server, the application server, databases, DNS servers, load balancers, or any other specific AWS resources are configured on the network to fulfil the system requirements (and ultimately satisfy your business goals)...