AwsCLI icon
If icon
SlackIncomingWebhook icon
Schedule icon

AWS Direct Connect Connection and Virtual Interface State Sentinel

Audits AWS Direct Connect dedicated links and virtual interfaces to detect link flaps, physical port downs, and BGP session drops.

Categories
CloudInfrastructure

How it works

This sentinel calls aws directconnect describe-connections and describe-virtual-interfaces using AwsCLI. It verifies that physical cross-connects and transit/private virtual interfaces maintain available operational states, firing emergency alerts when hybrid cloud connectivity drops.

What you get

  • Continuous validation of dedicated on-premises-to-cloud network links.
  • Immediate detection of physical link failures, transceiver faults, or BGP peering drops.
  • Automated Slack delivery tracking degraded connection names, IDs, and states.

Who it's for

  • Network engineers and hybrid cloud infrastructure architects.
  • SREs maintaining mission-critical enterprise interconnects.

Why orchestrate this with Kestra

Kestra runs automated scheduled operational health checks with native error handling, secret injection, and multi-channel alerting.

Prerequisites

  • AWS IAM credentials with directconnect:DescribeConnections and directconnect:DescribeVirtualInterfaces permissions.
  • Secrets AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and SLACK_WEBHOOK configured in Kestra.

Quick start

  1. Import this blueprint into Kestra.
  2. Configure aws_region and credentials.
  3. Run manually to check current Direct Connect link states.

How to extend

  • Query CloudWatch metrics for ConnectionBpsEgress and ConnectionErrorCount for bandwidth monitoring.
  • Automatically fail over traffic to backup Site-to-Site VPN tunnels when Direct Connect goes down.
  • Forward network connectivity status to PagerDuty.

Links

See How

New to Kestra?

Use blueprints to kickstart your first workflows.