惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

罗磊的独立博客
爱范儿
爱范儿
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园_首页
博客园 - 叶小钗
酷 壳 – CoolShell
酷 壳 – CoolShell
Apple Machine Learning Research
Apple Machine Learning Research
云风的 BLOG
云风的 BLOG
量子位
博客园 - 三生石上(FineUI控件)
Stack Overflow Blog
Stack Overflow Blog
小众软件
小众软件
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
V2EX
人人都是产品经理
人人都是产品经理
V
Visual Studio Blog
Jina AI
Jina AI
L
LangChain Blog
M
MIT News - Artificial intelligence
MongoDB | Blog
MongoDB | Blog
Last Week in AI
Last Week in AI
Martin Fowler
Martin Fowler
WordPress大学
WordPress大学

Datadog | The Monitor blog

Introducing our open source AI-native SAST Instrument and monitor Boomi integration flows with OpenTelemetry and Datadog Not all index scans are equal: How we cut query latency by over 99% Platform engineering metrics: What to measure and what to ignore Integrate Recorded Future threat intelligence with Datadog Cloud SIEM CI/CD security: threat modeling using a MITRE-style threat matrix CI/CD security: How to secure your GitHub ecosystem Ingress NGINX is EOL: A practical guide for migrating to Kubernetes Gateway API Operating agentic AI with Amazon Bedrock AgentCore and Datadog LLM Observability: Lessons from NTT DATA Introducing the Datadog Code Security MCP Capture and analyze custom heatmaps in Session Replay Understand session replays faster with AI summaries and smart chapters Monitor ClickHouse query performance with Datadog Database Monitoring How we designed empathetic alert sounds for on-call engineers Search and act across Datadog to resolve issues faster with Bits Assistant Measure the business impact of every product change with Datadog Experiments Analyzing round trip query latency Configuring JavaScript caches for better performance Introducing Bits AI Dev Agent for Code Security Datadog achieves ISO 42001 certification for responsible AI Monitor Nutanix clusters, hosts, and VMs with Datadog Monitor Juniper Mist in Datadog A new Host Map for modern infrastructure Annotate traces to improve LLM quality with Datadog LLM Observability What’s new in Cloud SIEM: AI-powered investigations, enhanced threat intelligence, and scalable security operations Explore Kubernetes with native OpenTelemetry data Monitor Oracle Fusion Cloud Applications with Datadog Announcing the Datadog Terraform provider v4.0.0 Scaling Kubernetes workloads on custom metrics How to design cloud environments for AI-powered threat analysis
Monitor AWS Network Load Balancer with Datadog
Bruce Wang · 2018-02-08 · via Datadog | The Monitor blog
Bruce Wang

Bruce Wang

Amazon’s Elastic Load Balancing (ELB), offered as part of the Amazon Web Services (AWS) platform, allows for the distribution of incoming traffic requests across EC2 instances. Load balancers reduce the maximum load placed on individual hosts, increase the fault tolerance of applications, and provide a single client-side connection point to simplify client access. Amazon offers three types of ELBs: Classic ELBs, Application Load Balancers (ALBs), and Network Load Balancers (NLBs). AWS NLBs differ from the other ELBs in that they route incoming client requests at the TCP connection level, using connection header details to determine which target to connect the client to.

Any issues in your NLBs may result in loss of application functionality, so it is crucial to ensure they are working properly. Monitoring your NLBs gives you insight into key network traffic metrics to help troubleshoot possible issues in your application more efficiently.

Datadog’s AWS integration now allows you to collect and analyze NLB metrics alongside more than 1,000 other integrations, including Classic ELBs, ALBs, and the rest of the AWS platform.

Monitor AWS NLB with Datadog’s out-of-the-box dashboard

Datadog’s NLB integration comes with a customizable, out-of-the-box dashboard, pictured above, that enables you to start monitoring your NLB metrics right away. Along with relevant tags provided by Amazon CloudWatch, such as load balancer name, target group name, and availability zone, Datadog’s NLB integration automatically ingests any custom tags that you add and applies them to your metrics. Here are some ways that you can use key NLB metrics to help you monitor your infrastructure.

Monitor network traffic

You can monitor the number of bytes processed and requests handled by your NLBs to effectively gauge the level of network traffic in your application. Comparing these metrics with application-level metrics—such as latency and errors—can help you determine whether decreases in performance are simply caused by hosts becoming overwhelmed with requests, or whether other factors are at play.

NLBs will automatically scale along with your EC2 fleet if you use your load balancer in conjunction with AWS Auto Scaling, but other parts of your infrastructure may also need to be scaled accordingly. Since Datadog also integrates with the rest of the AWS platform, you can compare and correlate network traffic with metrics across other components of your infrastructure to determine which resources need to be scaled accordingly.

As the network traffic handled by the load balancer increases, target CPU Utilization also increases. If this trend continues, hosts may need to be scaled up.
Monitor AWS NLB traffic and predict usage trends
As the network traffic handled by the load balancer increases, target CPU Utilization also increases. If this trend continues, hosts may need to be scaled up.

Keep track of reset packets

Reset (RST) packets are responsible for the immediate termination of a TCP connection. They can be generated by target hosts, clients, or the load balancer itself. An abnormal rise in the number of reset packets generated by the load balancer likely requires an immediate response, as this means that the load balancer is dropping a significant amount of connections.

On customizable Datadog dashboards you can correlate data between NLBs and your other systems. For instance, you can compare the number of reset packets sent by hosts against key application metrics, such as latency or resource utilization, to determine if infrastructure issues are affecting your users.

Visualize host health

Observing the aggregate health of hosts is a great way to monitor the overall health of your backend. NLBs will—in accordance with provided settings—periodically send requests to check the status of target hosts. Setting up automated alerts on the number of healthy or unhealthy hosts enables you to quickly get notified about any issues.

Using Datadog’s selection of visualizations allows you to quickly gain insight into the health of your infrastructure. For instance, you can use a toplist to identify particular areas of concern at a glance.

Monitor AWS NLB and the health of your targets

Start monitoring your NLBs today

If you’re already using Datadog, check out our documentation for instructions on how to begin monitoring your NLBs and the rest of your AWS environment. And if you don’t yet have a Datadog account, here’s a free trial to get you started.