现在,我的AWS账户具有以下策略:
要在VPC中设置具有自动伸缩组,目标组,子网的“应用程序负载平衡器”,我还需要其他哪些策略?
答案 0 :(得分:-1)
AmazonVPCFullAccess,
AutoScalingFullAccess,
Application Load Balancer:
AssumeRolePolicyDocument={
"Version": "2008-10-17",
"Statement": [{
"Effect": "Allow",
"Principal": {"Service": ["ecs.amazonaws.com", "application-autoscaling.amazonaws.com"]},
"Action": ["sts:AssumeRole"]
}]
},
with ManagedPolicyArns
["arn:aws:iam::aws:policy/service-role/AmazonEC2ContainerServiceRole",
"arn:aws:iam::aws:policy/service-role/AmazonEC2ContainerServiceAutoscaleRole"]
编写具有最小特权访问权限的自定义策略可能会更好