Traditional Web Hosting – Amazon EC2 and Elastic Load Balancing

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, ...

Get Expert AWS Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.