Skip to content
cccskills
Official · AWSFreePublished on GitHub

aws-network-monitoring

Set up Network Flow Monitor agents on EC2 to track network latency and packet loss. Configure publishing permissions, verify agent operation, and troubleshoot missing metrics, HTTP 403 errors, or connectivity failures.

OriginalShow the original description

Installs, configures, and troubleshoots Network Flow Monitor agents on EC2 instances to monitor network path health. Covers agent installation, IAM permissions, monitoring network paths, and troubleshooting agents reporting no metrics, HTTP 403 errors, or connectivity failures.

Works withAWS

Run score Not tested

See how to install

Good for

  • Installing Network Flow Monitor agents on EC2
  • Configuring IAM permissions for publishing metrics
  • Investigating missing metrics and HTTP 403 errors
  • Monitoring network latency and packet loss

Files included (4)

  • SKILL.md3.4 KB
  • references/agent-install-ec2.md5.0 KB
  • references/agent-permissions.md1.5 KB
  • references/troubleshooting.md2.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

AWS Network Monitoring

Overview

Domain expertise for installing and configuring Amazon CloudWatch Network Flow Monitor agents on EC2 instances. Covers IAM permission setup, agent installation via SSM Distributor or command-line install, agent activation, verification, and troubleshooting.

Network Flow Monitor agents are lightweight software that publish performance metrics (latency, packet loss) to the Network Flow Monitor backend, enabling monitoring of network path health between workloads.

Works best with the AWS MCP server — enables running SSM commands, attaching IAM policies, and validating agent status directly. All guidance also works with standard AWS CLI access.

Routing

User needAction
Installing Network Flow Monitor agents on EC2Read agent-install-ec2.md
Configuring IAM for Network Flow Monitor agentsRead agent-permissions.md
Troubleshooting Network Flow Monitor agents (403, no metrics, connectivity)Read troubleshooting.md
Spans multiple areasRead the most specific reference first, then consult others as needed

Files

FileContent
agent-install-ec2.mdEnd-to-end Network Flow Monitor agent installation via SSM Distributor, activation, verification
agent-permissions.mdIAM policy setup for Network Flow Monitor agent metric publishing
troubleshooting.mdError → cause → fix for Network Flow Monitor agent issues (HTTP 403, missing metrics, connectivity)

Supported versions

For supported Linux distributions, kernel versions, and architectures, see the AWS documentation. Windows is not supported.

Security Considerations

  • Least-privilege IAM: Attach only CloudWatchNetworkFlowMonitorAgentPublishPolicy for publishing metrics and AmazonSSMManagedInstanceCore for SSM management. Do not use *FullAccess policies.
  • Private subnets: When the instance is in a private subnet, prefer VPC endpoints for SSM (com.amazonaws.<region>.ssm, .ssmmessages, .ec2messages) over a NAT gateway to keep traffic on the AWS network.
  • Credential storage: Never embed AWS credentials on the instance; the publish policy MUST be attached to the instance role, not configured as static keys.
  • Audit trail: Ensure CloudTrail is enabled in the account so SSM SendCommand invocations and IAM AttachRolePolicy actions performed during agent setup are logged for security investigations.
  • References: CloudWatch Network Flow Monitor security, IAM best practices

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

agent-advisor

Official · AWSFreeSummary

Choose where to run an AI agent on AWS through a guided assessment. Develop an architecture and rough cost estimate, then optionally create a migration plan and executable proof of concept to test the proposed setup.

  • Comparing AWS runtimes for an AI agent
  • Planning an existing AI agent's migration to AWS
  • Building an executable proof of concept
aws/agent-toolkit-for-aws3KUpdated Oct 23, 2026

agents-build

Official · AWSFreeSummary

Extend an existing AgentCore agent with memory across sessions, app integration, browser access, code execution, payments, or collaboration between agents. The skill also guides private network setup, model changes, migration from Bedrock Agent, and resource removal.

  • Add memory across conversations
  • Call an agent from a web or mobile app
  • Coordinate several agents
aws/agent-toolkit-for-aws3KUpdated Oct 23, 2026

agents-connect

Official · AWSFreeSummary

Connect an AgentCore agent to external APIs, MCP servers, and Lambda tools through AgentCore Gateway. Configure credentials and outbound authentication, and use Cedar policies, rules that control which tools an agent may call.

  • Connecting an agent to an external MCP server
  • Exposing Lambda functions as agent tools
  • Turning an OpenAPI specification into tools
aws/agent-toolkit-for-aws3KUpdated Oct 23, 2026

agents-debug

Official · AWSFreeSummary

Diagnose AgentCore agent failures by reading logs and traces, records of execution steps. Investigate wrong answers, tool errors, timeouts, and memory problems, or check environment prerequisites when the CLI itself fails.

  • Diagnose wrong answers from an AgentCore agent
  • Find causes of failing tool calls
  • Investigate timeouts and startup errors
aws/agent-toolkit-for-aws3KUpdated Oct 23, 2026

agents-deploy

Official · AWSFreeSummary

Prepare and troubleshoot AgentCore deployments to AWS by checking configuration, permissions, and deployment changes. Diagnose common failures, choose deployment targets, and manage versions through rollback, version pinning, or canary deployments that gradually introduce a new version.

  • Check configuration and permissions before deployment
  • Diagnose deployment errors
  • Preview changes for a staging deployment
aws/agent-toolkit-for-aws3KUpdated Oct 23, 2026

agents-get-started

Official · AWSFreeSummary

Create a new agent project on AWS with AgentCore. Get help choosing a framework, generating the project structure, running it locally, and completing the first deployment and invocation, with explanations of the generated files.

  • Create a first agent project on AWS
  • Compare Strands, LangGraph, and other supported frameworks
  • Create and host a new MCP server
aws/agent-toolkit-for-aws3KUpdated Oct 23, 2026

See all skills by aws

Report a problem with this skill