aws-network-monitoring

作成者: aws

EC2インスタンスにNetwork Flow Monitorエージェントをインストール、設定、トラブルシューティングし、ネットワークパスの健全性を監視します。エージェントのインストール、IAM…を対象としています。

npx skills add https://github.com/aws/agent-toolkit-for-aws --skill aws-network-monitoring

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

awsのその他のスキル

agents-build
aws
既存のエージェントプロジェクトを、メモリ、アプリ統合、VPC、マルチエージェント、移行、モデル、ブラウザ、コードインタープリター、決済、またはリソースで拡張するために使用します。
official
agents-connect
aws
エージェントをGateway経由で外部API、ツール、またはサービスに接続する場合、またはCedarポリシーでツールアクセスを制限する場合に使用します。ゲートウェイのセットアップ、ターゲット…
official
agents-debug
aws
エージェントや環境が壊れている場合に使用します。誤った回答、エラー、タイムアウト、ツールの失敗、CLIの問題など。トレースとログを読み、根本原因を診断します。…
official
agents-deploy
aws
エージェントをAWSにデプロイする際、またはデプロイが失敗した際に使用します。事前検証、CDK/IAM/クォータエラーの診断、バージョン管理、ロールバックなどを処理します。
official
agents-get-started
aws
開発者が新しいエージェントプロジェクトを作成したい場合や、AgentCoreを使い始めたい場合に使用します。フレームワークの選択、プロジェクトの雛形作成、初回デプロイなどを処理します。
official
agents-harden
aws
エージェントを本番環境向けに準備する際に使用します — IAMスコープ、インバウンド認証(JWT、SigV4)、シークレット管理、コールドスタート最適化、セッションライフサイクル、レート…
official
agents-pay
aws
実行時にx402で保護されたコンテンツの支払いが必要な場合に使用する:タスク途中でペイウォールに遭遇した際、AgentCore Paymentsを通じて決済し、適用する…
official
amazon-aurora-mysql
aws
Amazon Aurora MySQL — Aurora MySQLクラスター(MySQL互換エンジン、Auroraサーバーレス、パラレルクエリ)の作成、変更、およびアドバイスを特に行います。…
official