View a markdown version of this page

Working with AWS Ops Agent for networking - AWS Ops Agent for networking User Guide

Working with AWS Ops Agent for networking

You don't call AWS Ops Agent for networking directly. You ask AWS Ops Agent a question in chat, or AWS Ops Agent runs an investigation, and it hands the networking questions to AWS Ops Agent for networking. In the example questions that follow, replace the example resource IDs with your own IDs.

Tips for better answers

For faster, more precise answers, follow these tips where possible.

  • Name your resources, such as an instance ID, an elastic network interface ID, a VPC ID, or a connection ID. This gives faster, more precise answers.

  • State the port and protocol when you ask about connectivity.

  • Ask follow-up questions, such as which component makes a decision, or what the analysis doesn't cover.

  • Check the scope first, so you know which accounts and Regions AWS Ops Agent for networking can analyze. For more information, see Getting started with AWS Ops Agent for networking.

What you can ask

Reachability and routing

AWS Ops Agent for networking analyzes the configuration on a path. If the path is open, it lists the hops. If the path is blocked, it names the blocking component. For example:

  • Can the instance i-0abc123example reach the database in VPC vpc-0def456example over the transit gateway on TCP port 5432?

  • Trace whether the instance i-0abc123example can reach the internet.

  • Is my development VPC isolated from my production VPC?

  • Can resources in VPC vpc-0def456example reach the service through the interface endpoint?

  • Why did the route to 10.0.0.0/16 disappear?

  • Why are the targets behind my load balancer unhealthy?

  • Can clients reach my Network Load Balancer on TCP port 443?

  • Why can't my service connect to its target through VPC Lattice?

Note

A reachable path means that the configuration allows the traffic. It doesn't mean that traffic is flowing.

Hybrid connectivity

AWS Ops Agent for networking reads the state, routing, BGP sessions, metrics, and AWS Health events for Direct Connect and AWS Site-to-Site VPN, up to the AWS side of the connection. For example:

  • Is my Direct Connect connection dxcon-0abc123example up, and are its BGP sessions established?

  • Why is my AWS Site-to-Site VPN tunnel down?

Network security analysis

AWS Ops Agent for networking reads stored findings. It summarizes them, explains them, and recommends fixes. It can also check a finding against a path. For example:

  • Summarize my network security findings by severity.

  • Which resources are exposed to the internet, and how do I fix each one?

  • Identify my top network security findings

  • Identify my top network security findings in the account 123456789010

  • Identify my top network security findings in us-west-2

  • Summarize the network security of my environment

  • Are my systems at risk of DDoS attacks?

  • How can I improve my network security?

  • Do I have any resources without WAF protection?

  • Which resources are not protected from common web vulnerabilities?

  • What are the common network security issues on my EC2 instances?

  • Do I have any WAF web ACLs that aren't protecting anything?

Note

AWS Ops Agent for networking doesn't start new network security analysis scans (it reads the stored network security analysis findings), and it doesn't certify that your network is secure or compliant. When there are no critical findings, it states what the findings cover, rather than calling the account secure.

Resilience and monitoring

  • Give me a resilience report for my network.

  • What is the impact if an Availability Zone fails?

  • Do my transit gateway attachments cover all of my Availability Zones?

  • Where do I have monitoring coverage gaps in Amazon CloudWatch Internet Monitor?

  • Am I close to any transit gateway route or route table limits?

Alarms and events

  • Explain the Amazon CloudWatch alarm PacketDropCountBlackhole.

  • Explain this AWS Health event for my network.

Design and change guidance

AWS Ops Agent for networking checks guidance against AWS documentation. For example:

  • How do I decommission a virtual interface (VIF) safely?

  • How do I migrate from a virtual private gateway to a transit gateway?

  • How do I centralize egress and east-west firewall inspection?

Requests that AWS Ops Agent for networking declines

AWS Ops Agent for networking is read-only and doesn't change your resources. AWS Ops Agent can make changes through directed actions, but AWS Ops Agent for networking declines or redirects requests such as the following:

  • Changing, deleting, or adding capacity.

  • Confirming that an issue is caused by an AWS hardware failure.

  • Certifying compliance, such as PCI DSS or FIPS 140.

  • Giving exact per-flow measurements without the underlying data.

  • Diagnosing problems inside third-party networks, such as an internet service provider (ISP).