Chapter 6: Increasing Application Performance Using AWS Auto Scaling
In the previous chapter, you learned how to set up your application load balancer. This chapter will further extend that concept and see how to use a load balancer with an AWS Auto Scaling group.
AWS Auto Scaling is used to scale your application up or down based on demand. If the demand increases, then Auto Scaling will launch a new instance, and if the demand decreases, it will scale down or terminate instances.
This chapter will start by looking at Auto Scaling and how to set it up. We will further look at various Auto Scaling policies and which one to use under which circumstances. Then, we will look at how to scale your application based on demand using Auto Scaling. We will wrap up this chapter by automating the Auto Scaling process using Terraform.
In this chapter, we are going to cover the following main topics:
- Setting up Auto Scaling
- Understanding Auto Scaling policies
- Scaling an...