📢 Webinar Alert! Reliability Automation - AI, ML, & Workflows in Incident Management. Register Here
Blog
SRE
Setting up Route 53 Health Checks

Setting up Route 53 Health Checks

June 10, 2022
Setting up Route 53 Health Checks
In This Article:
Our Products
On-Call Management
Incident Response
Continuous Learning
Workflow Automation

We live in an age where the internet and digital data drive modern day markets, which results in huge amounts of data being generated and consumed. Hence, it has become very important for online platforms to manage this traffic and serve their customers more efficiently. In this blog we will explore the Amazon Route 53 service and see how it addresses domain name system routing and health check problems.

What is a Domain Name System (DNS)?

Humans often use names, addresses, or some form of identification to identify other humans, objects, and places. For example, if you wish to visit a restaurant, you would need to know the name of the restaurant and the corresponding address that can be used to find the place you wish to visit. Similarly, if you wish to visit a person, you would ask for the person’s address where that individual lives.

The Internet uses domain names to label resources that lie on the internet. You can think of the domain name system as an address book over the internet, used by humans to access resources online.

Every device that is connected to the Internet has a unique address associated with it called the IP address. It can be used by other machines to find the device. An IP address looks something like this, 192.168. 1.1. Hence, remembering these IP addresses can be a tedious task. Therefore, we use domain names (an easy-to-remember address or a name) that humans can keep track of, like google.com, cricbuzz.com, etc. These domain names will have IP addresses associated with them, and the DNS servers will link these domain names to the respective IP addresses, thus eliminating the need for humans to memorize IP addresses.

How do DNS Servers Work?

Suppose a user wishes to visit a website xyz.com and types the domain name in the browser. The request goes to the DNS server that translates or resolves the domain name (xyz.com) to a machine-readable IP address and, in response, returns the IP address that is associated with the domain name. The client then sends the resolved IP address to the web server and, in return, receives the content the user requested.

What is Amazon Route 53 and its Benefits?

Amazon Route 53 is a highly available and scalable Domain Name System (DNS) service. It is used to perform the following functions:

  • Domain registration: This service can be used to register domain names for websites. It selects the domain names and registers them using the AWS console.
  • DNS routing: It helps connect a browser to a website or web server when a user enters the domain name. It routes traffic to the end user, ensuring the best experience.
  • Health Check: It monitors the health and performance of the resources. It does that by sending automated requests over the internet to a resource.
  • Weighted round-robin load balancing: It spreads traffic between several services by using a round-robin algorithm.

Benefits of Route 53

  • Highly Scalable and Reliable: It can handle large numbers of queries (millions) without the need for human interaction and offers a consistent ability to route users to applications.
  • Ease of use: It is very easy to configure DNS settings and the service provides a fast response to queries.
  • Secure: The user secures the access rights by integrating Route 53 with AWS IAM, which offers numerous security features.

Route 53 Health Checks

These checks are used to monitor the health and performance of your web applications, web servers, and other resources. These health checks monitor the following:

  • The health of a resource you specify.
  • The status of other health checks.
  • The status of an Amazon CloudWatch alarm.

Here is an overview of how the health checks work.

  1. You create a health check and specify values that define how you want the health check to work, following values need to be specified:
    • The IP address or domain name of the endpoint that Route 53 should monitor.
    • The protocol that Amazon Route 53 will use for the check.
    • Frequency of Route 53 to send a request to the endpoint.
    • Failure threshold before Route 53 considers it unhealthy.
  2. Route 53 sends requests to the endpoint at the specified interval.
  3. If there is a response from the endpoint, Route 53 considers the endpoint to be healthy with no action.
  4. If there is no response to the request, Route 53 counts the number of consecutive requests not responded by the endpoint,
    • If the count reaches the failure threshold value, the endpoint is considered unhealthy.
    • If the endpoint responds before the failure threshold value is met, Route 53 resets the count to 0.
  5. You can configure CloudWatch and Simple Notification Service to trigger alerts when health checks return unhealthy results. You can also check the status of your Route 53 health checks in the Route 53 console. For more information, see Monitoring health check status and getting notifications.

How does Route 53 Determine the Status of Health Checks?

There are three types of Amazon Route 53 health checks. Those are:

  • Health checks that monitor an endpoint.
  • Health checks that monitor other health checks.
  • Health checks that monitor CloudWatch alarms.

Let us explore how these health checks work.

Health checks that monitor an endpoint

When a health check is created to monitor an endpoint, the health checkers send requests to the endpoint specified to determine whether the endpoint is healthy. You can specify a location you want Route 53 to use, and also the interval between checks. The health checker evaluates the health of the endpoint based on:

  • Response time.
  • Whether the endpoint responds to the number of consecutive health checks specified (the failure threshold).

This data from the health checkers is aggregated to determine whether the endpoint is healthy.

Health checks that monitor other health checks

You can also monitor the status of other health checks. This process is called a calculated health check. The parent health checker monitors other health checks called child health checks. Here's how the monitoring works:

  • Route 53 adds up the number of healthy child health checks.
  • It compares the summed up number to the specified value, if it meets the number the health check gives a positive result.

Health checks that monitor CloudWatch alarms

If your health check is based on a CloudWatch alarm, Route 53 monitors the data stream for the corresponding alarm instead of monitoring the alarm state. If the data stream indicates that the state of the alarm is OK, the health check is considered healthy. If the data stream indicates that the state is alarming, the health check is considered unhealthy. In the event that the data stream doesn't provide enough information to determine the state of the alarm, the health check status depends on the parameters you have set: healthy, unhealthy, or last known status.

Setting Up Route 53 Health Checks

Here is a step-by-step guide to help you set up your first Amazon Route 53 health check,

Step1: Go to AWS Web Console and open Route 53 Service.

Step2: Click on Create health checks.

Step3: Fill in your website and IP details as shown in the image below and then click on Next.

Step4: Set up the CloudWatch alarm. Enter a relevant topic name and the list of email addresses that you wish to notify. Click on Create health check.

There you go! Your Route 53 health check is created, and it will display the status of the associated resource.

Amazon Route 53 is a highly versatile service with various routing, health check, and monitoring capabilities to go along with the DNS solutions it offers. It readily integrates with an exhaustive set of AWS and other cloud services giving it an edge over its competition.

Written By:
June 10, 2022
Vishal Padghan
Vishal Padghan
June 10, 2022
SRE
Cloud Computing
Monitoring
Share this blog:
In This Article:
Get reliability insights delivered straight to your inbox.
Get ready for the good stuff! No spam, no data sale and no promotion. Just the awesome content you signed up for.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
If you wish to unsubscribe, we won't hold it against you. Privacy policy.
Get reliability insights delivered straight to your inbox.
Get ready for the good stuff! No spam, no data sale and no promotion. Just the awesome content you signed up for.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
If you wish to unsubscribe, we won't hold it against you. Privacy policy.
Get the latest scoop on Reliability insights. Delivered straight to your inbox.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
If you wish to unsubscribe, we won't hold it against you. Privacy policy.
Squadcast is a leader in Incident Management on G2 Squadcast is a leader in Mid-Market IT Service Management (ITSM) Tools on G2 Squadcast is a leader in Americas IT Alerting on G2 Best IT Management Products 2024 Squadcast is a leader in Europe IT Alerting on G2 Squadcast is a leader in Enterprise Incident Management on G2 Users love Squadcast on G2
Squadcast is a leader in Incident Management on G2 Squadcast is a leader in Mid-Market IT Service Management (ITSM) Tools on G2 Squadcast is a leader in Americas IT Alerting on G2 Best IT Management Products 2024 Squadcast is a leader in Europe IT Alerting on G2 Squadcast is a leader in Enterprise Incident Management on G2 Users love Squadcast on G2
Squadcast is a leader in Incident Management on G2 Squadcast is a leader in Mid-Market IT Service Management (ITSM) Tools on G2 Squadcast is a leader in Americas IT Alerting on G2
Best IT Management Products 2024 Squadcast is a leader in Europe IT Alerting on G2 Squadcast is a leader in Enterprise Incident Management on G2
Users love Squadcast on G2
Copyright © Squadcast Inc. 2017-2024

Setting up Route 53 Health Checks

Jun 10, 2022
Last Updated:
November 20, 2024
Share this post:
Setting up Route 53 Health Checks
Table of Contents:

    We live in an age where the internet and digital data drive modern day markets, which results in huge amounts of data being generated and consumed. Hence, it has become very important for online platforms to manage this traffic and serve their customers more efficiently. In this blog we will explore the Amazon Route 53 service and see how it addresses domain name system routing and health check problems.

    What is a Domain Name System (DNS)?

    Humans often use names, addresses, or some form of identification to identify other humans, objects, and places. For example, if you wish to visit a restaurant, you would need to know the name of the restaurant and the corresponding address that can be used to find the place you wish to visit. Similarly, if you wish to visit a person, you would ask for the person’s address where that individual lives.

    The Internet uses domain names to label resources that lie on the internet. You can think of the domain name system as an address book over the internet, used by humans to access resources online.

    Every device that is connected to the Internet has a unique address associated with it called the IP address. It can be used by other machines to find the device. An IP address looks something like this, 192.168. 1.1. Hence, remembering these IP addresses can be a tedious task. Therefore, we use domain names (an easy-to-remember address or a name) that humans can keep track of, like google.com, cricbuzz.com, etc. These domain names will have IP addresses associated with them, and the DNS servers will link these domain names to the respective IP addresses, thus eliminating the need for humans to memorize IP addresses.

    How do DNS Servers Work?

    Suppose a user wishes to visit a website xyz.com and types the domain name in the browser. The request goes to the DNS server that translates or resolves the domain name (xyz.com) to a machine-readable IP address and, in response, returns the IP address that is associated with the domain name. The client then sends the resolved IP address to the web server and, in return, receives the content the user requested.

    What is Amazon Route 53 and its Benefits?

    Amazon Route 53 is a highly available and scalable Domain Name System (DNS) service. It is used to perform the following functions:

    • Domain registration: This service can be used to register domain names for websites. It selects the domain names and registers them using the AWS console.
    • DNS routing: It helps connect a browser to a website or web server when a user enters the domain name. It routes traffic to the end user, ensuring the best experience.
    • Health Check: It monitors the health and performance of the resources. It does that by sending automated requests over the internet to a resource.
    • Weighted round-robin load balancing: It spreads traffic between several services by using a round-robin algorithm.

    Benefits of Route 53

    • Highly Scalable and Reliable: It can handle large numbers of queries (millions) without the need for human interaction and offers a consistent ability to route users to applications.
    • Ease of use: It is very easy to configure DNS settings and the service provides a fast response to queries.
    • Secure: The user secures the access rights by integrating Route 53 with AWS IAM, which offers numerous security features.

    Route 53 Health Checks

    These checks are used to monitor the health and performance of your web applications, web servers, and other resources. These health checks monitor the following:

    • The health of a resource you specify.
    • The status of other health checks.
    • The status of an Amazon CloudWatch alarm.

    Here is an overview of how the health checks work.

    1. You create a health check and specify values that define how you want the health check to work, following values need to be specified:
      • The IP address or domain name of the endpoint that Route 53 should monitor.
      • The protocol that Amazon Route 53 will use for the check.
      • Frequency of Route 53 to send a request to the endpoint.
      • Failure threshold before Route 53 considers it unhealthy.
    2. Route 53 sends requests to the endpoint at the specified interval.
    3. If there is a response from the endpoint, Route 53 considers the endpoint to be healthy with no action.
    4. If there is no response to the request, Route 53 counts the number of consecutive requests not responded by the endpoint,
      • If the count reaches the failure threshold value, the endpoint is considered unhealthy.
      • If the endpoint responds before the failure threshold value is met, Route 53 resets the count to 0.
    5. You can configure CloudWatch and Simple Notification Service to trigger alerts when health checks return unhealthy results. You can also check the status of your Route 53 health checks in the Route 53 console. For more information, see Monitoring health check status and getting notifications.

    How does Route 53 Determine the Status of Health Checks?

    There are three types of Amazon Route 53 health checks. Those are:

    • Health checks that monitor an endpoint.
    • Health checks that monitor other health checks.
    • Health checks that monitor CloudWatch alarms.

    Let us explore how these health checks work.

    Health checks that monitor an endpoint

    When a health check is created to monitor an endpoint, the health checkers send requests to the endpoint specified to determine whether the endpoint is healthy. You can specify a location you want Route 53 to use, and also the interval between checks. The health checker evaluates the health of the endpoint based on:

    • Response time.
    • Whether the endpoint responds to the number of consecutive health checks specified (the failure threshold).

    This data from the health checkers is aggregated to determine whether the endpoint is healthy.

    Health checks that monitor other health checks

    You can also monitor the status of other health checks. This process is called a calculated health check. The parent health checker monitors other health checks called child health checks. Here's how the monitoring works:

    • Route 53 adds up the number of healthy child health checks.
    • It compares the summed up number to the specified value, if it meets the number the health check gives a positive result.

    Health checks that monitor CloudWatch alarms

    If your health check is based on a CloudWatch alarm, Route 53 monitors the data stream for the corresponding alarm instead of monitoring the alarm state. If the data stream indicates that the state of the alarm is OK, the health check is considered healthy. If the data stream indicates that the state is alarming, the health check is considered unhealthy. In the event that the data stream doesn't provide enough information to determine the state of the alarm, the health check status depends on the parameters you have set: healthy, unhealthy, or last known status.

    Setting Up Route 53 Health Checks

    Here is a step-by-step guide to help you set up your first Amazon Route 53 health check,

    Step1: Go to AWS Web Console and open Route 53 Service.

    Step2: Click on Create health checks.

    Step3: Fill in your website and IP details as shown in the image below and then click on Next.

    Step4: Set up the CloudWatch alarm. Enter a relevant topic name and the list of email addresses that you wish to notify. Click on Create health check.

    There you go! Your Route 53 health check is created, and it will display the status of the associated resource.

    Amazon Route 53 is a highly versatile service with various routing, health check, and monitoring capabilities to go along with the DNS solutions it offers. It readily integrates with an exhaustive set of AWS and other cloud services giving it an edge over its competition.

    What you should do now
    • Schedule a demo with Squadcast to learn about the platform, answer your questions, and evaluate if Squadcast is the right fit for you.
    • Curious about how Squadcast can assist you in implementing SRE best practices? Discover the platform's capabilities through our Interactive Demo.
    • Enjoyed the article? Explore further insights on the best SRE practices.
    • Schedule a demo with Squadcast to learn about the platform, answer your questions, and evaluate if Squadcast is the right fit for you.
    • Curious about how Squadcast can assist you in implementing SRE best practices? Discover the platform's capabilities through our Interactive Demo.
    • Enjoyed the article? Explore further insights on the best SRE practices.
    • Get a walkthrough of our platform through this Interactive Demo and see how it can solve your specific challenges.
    • See how Charter Leveraged Squadcast to Drive Client Success With Robust Incident Management.
    • Share this blog post with someone you think will find it useful. Share it on Facebook, Twitter, LinkedIn or Reddit
    • Get a walkthrough of our platform through this Interactive Demo and see how it can solve your specific challenges.
    • See how Charter Leveraged Squadcast to Drive Client Success With Robust Incident Management
    • Share this blog post with someone you think will find it useful. Share it on Facebook, Twitter, LinkedIn or Reddit
    • Get a walkthrough of our platform through this Interactive Demo and see how it can solve your specific challenges.
    • See how Charter Leveraged Squadcast to Drive Client Success With Robust Incident Management
    • Share this blog post with someone you think will find it useful. Share it on Facebook, Twitter, LinkedIn or Reddit
    What you should do now?
    Here are 3 ways you can continue your journey to learn more about Unified Incident Management
    Discover the platform's capabilities through our Interactive Demo.
    See how Charter Leveraged Squadcast to Drive Client Success With Robust Incident Management.
    Share the article
    Share this blog post on Facebook, Twitter, Reddit or LinkedIn.
    We’ll show you how Squadcast works and help you figure out if Squadcast is the right fit for you.
    Experience the benefits of Squadcast's Incident Management and On-Call solutions firsthand.
    Compare our plans and find the perfect fit for your business.
    See Redis' Journey to Efficient Incident Management through alert noise reduction With Squadcast.
    Discover the platform's capabilities through our Interactive Demo.
    We’ll show you how Squadcast works and help you figure out if Squadcast is the right fit for you.
    Experience the benefits of Squadcast's Incident Management and On-Call solutions firsthand.
    Compare Squadcast & PagerDuty / Opsgenie
    Compare and see if Squadcast is the right fit for your needs.
    Compare our plans and find the perfect fit for your business.
    Learn how Scoro created a solid foundation for better on-call practices with Squadcast.
    Discover the platform's capabilities through our Interactive Demo.
    We’ll show you how Squadcast works and help you figure out if Squadcast is the right fit for you.
    Experience the benefits of Squadcast's Incident Management and On-Call solutions firsthand.
    We’ll show you how Squadcast works and help you figure out if Squadcast is the right fit for you.
    Learn how Scoro created a solid foundation for better on-call practices with Squadcast.
    We’ll show you how Squadcast works and help you figure out if Squadcast is the right fit for you.
    Discover the platform's capabilities through our Interactive Demo.
    Enjoyed the article? Explore further insights on the best SRE practices.
    We’ll show you how Squadcast works and help you figure out if Squadcast is the right fit for you.
    Experience the benefits of Squadcast's Incident Management and On-Call solutions firsthand.
    Enjoyed the article? Explore further insights on the best SRE practices.
    Written By:
    June 10, 2022
    June 10, 2022
    Share this post:
    Subscribe to our LinkedIn Newsletter to receive more educational content
    Subscribe now
    ant-design-linkedIN

    Subscribe to our latest updates

    Enter your Email Id
    Thank you! Your submission has been received!
    Oops! Something went wrong while submitting the form.
    FAQs
    More from
    Vishal Padghan
    What is Runbook Automation and Best Practices for Streamlined Incident Resolution
    What is Runbook Automation and Best Practices for Streamlined Incident Resolution
    November 29, 2024
    Scaling Success: How Squadcast Helped Fortune 500 Giants Migrate and Optimize Operations
    Scaling Success: How Squadcast Helped Fortune 500 Giants Migrate and Optimize Operations
    November 28, 2024
    The Shift Left Movement: Empowering Developers and Responders to Secure Code Early
    The Shift Left Movement: Empowering Developers and Responders to Secure Code Early
    November 27, 2024
    Learn how organizations are using Squadcast
    to maintain and improve upon their Reliability metrics
    Learn how organizations are using Squadcast to maintain and improve upon their Reliability metrics
    mapgears
    "Mapgears simplified their complex On-call Alerting process with Squadcast.
    Squadcast has helped us aggregate alerts coming in from hundreds...
    bibam
    "Bibam found their best PagerDuty alternative in Squadcast.
    By moving to Squadcast from Pagerduty, we have seen a serious reduction in alert fatigue, allowing us to focus...
    tanner
    "Squadcast helped Tanner gain system insights and boost team productivity.
    Squadcast has integrated seamlessly into our DevOps and on-call team's workflows. Thanks to their reliability...
    Alexandre Lessard
    System Analyst
    Martin do Santos
    Platform and Architecture Tech Lead
    Sandro Franchi
    CTO
    Squadcast is a leader in Incident Management on G2 Squadcast is a leader in Mid-Market IT Service Management (ITSM) Tools on G2 Squadcast is a leader in Americas IT Alerting on G2 Best IT Management Products 2022 Squadcast is a leader in Europe IT Alerting on G2 Squadcast is a leader in Mid-Market Asia Pacific Incident Management on G2 Users love Squadcast on G2
    Squadcast awarded as "Best Software" in the IT Management category by G2 🎉 Read full report here.
    What our
    customers
    have to say
    mapgears
    "Mapgears simplified their complex On-call Alerting process with Squadcast.
    Squadcast has helped us aggregate alerts coming in from hundreds of services into one single platform. We no longer have hundreds of...
    Alexandre Lessard
    System Analyst
    bibam
    "Bibam found their best PagerDuty alternative in Squadcast.
    By moving to Squadcast from Pagerduty, we have seen a serious reduction in alert fatigue, allowing us to focus...
    Martin do Santos
    Platform and Architecture Tech Lead
    tanner
    "Squadcast helped Tanner gain system insights and boost team productivity.
    Squadcast has integrated seamlessly into our DevOps and on-call team's workflows. Thanks to their reliability metrics we have...
    Sandro Franchi
    CTO
    Revamp your Incident Response.
    Peak Reliability
    Easier, Faster, More Automated with SRE.