Book Image

Effective DevOps with AWS - Second Edition

By : Raheja, Giuseppe Borgese, Felsen
Book Image

Effective DevOps with AWS - Second Edition

By: Raheja, Giuseppe Borgese, Felsen

Overview of this book

The DevOps movement has transformed the way modern tech companies work. Amazon Web Services (AWS), which has been at the forefront of the cloud computing revolution, has also been a key contributor to the DevOps movement, creating a huge range of managed services that help you implement DevOps principles. Effective DevOps with AWS, Second Edition will help you to understand how the most successful tech start-ups launch and scale their services on AWS, and will teach you how you can do the same. This book explains how to treat infrastructure as code, meaning you can bring resources online and offline as easily as you control your software. You will also build a continuous integration and continuous deployment pipeline to keep your app up to date. Once you have gotten to grips will all this, we'll move on to how to scale your applications to offer maximum performance to users even when traffic spikes, by using the latest technologies, such as containers. In addition to this, you'll get insights into monitoring and alerting, so you can make sure your users have the best experience when using your service. In the concluding chapters, we'll cover inbuilt AWS tools such as CodeDeploy and CloudFormation, which are used by many AWS administrators to perform DevOps. By the end of this book, you'll have learned how to ensure the security of your platform and data, using the latest and most prominent AWS tools.
Table of Contents (11 chapters)

Elastic Load Balancer (ELB)


In this section, we are going to replace the Apache with the ELB and also add an SSL certificate as shown in the following diagram:

As we did in the previous section for the RDS, it is convenient here to replace a software installed in an EC2 machine with a managed service. 

We will benefit from the following features:

  • Deploy and reliability on multiple AZs
  • A web interface to manage the proxy instead of the Apache configuration files
  • A fully manageable service that doesn't need to perform software upgrades 
  •  Scalability to handle requests (pre-warmingis requested in some scenarios)
  • Ease of storing logs on an S3 bucket 

Alternatively, when you use an ELB you need to follow the AWS method and you are not free to customize this as you want. Apache is the Swiss knife of the web server; it has modules that make it possible to do so many different kinds of operations and actions. Using an ELB, it is possible to lose something that may be useful, such as a redirect from HTTP...