Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Implementing DevOps on AWS

You're reading from   Implementing DevOps on AWS Engineering DevOps for modern businesses

Arrow left icon
Product type Paperback
Published in Jan 2017
Publisher Packt
ISBN-13 9781786460141
Length 258 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Vaselin Kantsev Vaselin Kantsev
Author Profile Icon Vaselin Kantsev
Vaselin Kantsev
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. What is DevOps and Should You Care? FREE CHAPTER 2. Start Treating Your Infrastructure as Code 3. Bringing Your Infrastructure Under Configuration Management 4. Build, Test, and Release Faster with Continuous Integration 5. Ever-Ready to Deploy Using Continuous Delivery 6. Continuous Deployment - A Fully Automated Workflow 7. Metrics, Log Collection, and Monitoring 8. Optimize for Scale and Cost 9. Secure Your AWS Environment 10. AWS Tips and Tricks

Enhancing your ELB health-checks


The stock ELB health checks allow you to check raw TCP responses or go higher in the stack and look for an HTTP/200 response.

Either is good. A basic check should get you started but as your application and its dependencies evolve, you might need to enrich your health checks too.

Let us suppose that you were serving a web application that relies on a cache and a database backend.

If the ELB was checking TCP:80 then as long as your HTTP daemon is running, it will receive an OK. If you were checking for an HTTP/200, instead that would verify access to the application's file(s) on disk but likely not much more.

Instead, you could benefit much more from pointing the ELB at a dedicated health check endpoint within your application, which verifies all its dependencies (disk: OK, cache: OK, db: OK) before returning a green light. But beware of impacting the overall application performance: the more frequently the health check is called, the more lightweight it ought...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime