Chapter 4: Scalable Compute Capacity in the Cloud via EC2
In the previous chapter, you learned how to set up your networking using VPC, which acts as your own data center in the cloud. Once you have a networking component ready, the next step is to create virtual machines, also known as instances in AWS terminology, where you will host your code.
AWS EC2 is one of the most well-known components of the AWS cloud and provides scalable compute capacity in the cloud. It eliminates the need to invest upfront in hardware so that you can develop and deploy your application faster in the cloud. It enables you to scale up or down to handle changes in demand/spikes based on your requirements.
This chapter will start by setting up an EC2 instance using the AWS console. Setting up an EC2 instance requires a lot of manual effort. We will look at how to automate the entire process using CloudFormation. We'll also look at one of the critical tasks of managing our AWS bill by setting...