翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。
依存関係の検証
依存関係検証テンプレートは、Amazon EC2、Amazon ECS、Amazon EKS ワークロードからのリージョン内の依存関係トラフィックをブロックする AWS FIS アクションを実行します。次のアクセス許可ポリシーを実行ロールにアタッチします。
{ "Version": "2012-10-17", "Statement": [ { "Sid": "SsmSendCommandOnDocuments", "Effect": "Allow", "Action": "ssm:SendCommand", "Resource": [ "arn:aws:ssm:*::document/AWSFIS-Run-Network-Packet-Loss-Sources", "arn:aws:ssm:*::document/AWSFIS-Run-Network-Packet-Loss-ECS" ] }, { "Sid": "SsmSendCommandOnInstances", "Effect": "Allow", "Action": "ssm:SendCommand", "Resource": [ "arn:aws:ec2:*:account-id:instance/*", "arn:aws:ssm:*:account-id:managed-instance/*", "arn:aws:ecs:*:account-id:task/*/*" ] }, { "Sid": "SsmListAndCancelCommands", "Effect": "Allow", "Action": [ "ssm:ListCommands", "ssm:CancelCommand" ], "Resource": "*" }, { "Sid": "Ec2DescribeForTargetResolution", "Effect": "Allow", "Action": [ "ec2:DescribeInstances", "ec2:DescribeSubnets" ], "Resource": "*" }, { "Sid": "EcsDescribeForTargetResolution", "Effect": "Allow", "Action": [ "ecs:DescribeTasks", "ecs:DescribeContainerInstances", "ecs:ListTasks" ], "Resource": [ "arn:aws:ecs:*:account-id:task/*/*", "arn:aws:ecs:*:account-id:container-instance/*/*", "arn:aws:ecs:*:account-id:cluster/*" ] }, { "Sid": "EksDescribeCluster", "Effect": "Allow", "Action": "eks:DescribeCluster", "Resource": "arn:aws:eks:*:account-id:cluster/*" }, { "Sid": "TargetResolutionByTags", "Effect": "Allow", "Action": "tag:GetResources", "Resource": "*" }, { "Sid": "FISExperimentLogging", "Effect": "Allow", "Action": [ "logs:CreateLogDelivery", "logs:GetLogDelivery", "logs:UpdateLogDelivery", "logs:DeleteLogDelivery", "logs:ListLogDeliveries" ], "Resource": "*" }, { "Sid": "FISExperimentLogGroupAccess", "Effect": "Allow", "Action": [ "logs:DescribeResourcePolicies", "logs:PutResourcePolicy", "logs:DescribeLogGroups" ], "Resource": "*" } ] }