View a markdown version of this page

Validasi ketergantungan - AWS Pusat Ketahanan

Terjemahan disediakan oleh mesin penerjemah. Jika konten terjemahan yang diberikan bertentangan dengan versi bahasa Inggris aslinya, utamakan versi bahasa Inggris.

Validasi ketergantungan

Template validasi Keter gantungan menjalankan AWS FIS tindakan yang memblokir lalu lintas ketergantungan dalam wilayah dari beban kerja Amazon EC2, Amazon ECS, dan Amazon EKS. Lampirkan kebijakan izin berikut ke peran eksekusi.

{ "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": "*" } ] }