In the previous chapter, we discussed traditional web hosting, web hosting in the cloud using AWS, and the architecture for the application. We also saw a comparison between EC2 instances with a load balancer, Docker, and serverless architecture such as Amazon Lambda, as well as use cases for these architectures.
In this chapter, we will discuss Amazon EC2 best practices and troubleshooting. Also, we will cover the advanced topics of Elastic Load Balancing (ELB), auto scaling, and fault tolerance. We will monitor and optimize the infrastructure cost. Lastly, we will deploy a practical real-world example of a CI/CD application with EC2 instances and a load balancer.
In this chapter, we will cover the following topics:
- Amazon EC2 best practices and troubleshooting
- Elastic Load Balancing, auto scaling, and fault...