AWS 계정별 리전 할당법 1 그룹 생성 infra-admin - admin권한 - s1004 student - s1005 , s1004 2 계정 생성시 tag s1004 s1005 AllowedRegion ap-northeast-2 s1005 AllowedRegion ap-northeast-3 3 정책 생성 정책 편집기 seo-region ec2sull student 그룹에 정책 할당 4 확인 s1004 로그인- 리전 이동 s1005 로그인 - 리전 이동 , 서버 생성 { "Version": "2012-10-17", "Statement": [ { "Sid": "DenyOutsideOwnRegion", "Effect": "Deny", "NotAction": [ "iam:*", "organizations:*", "sts:*", "support:*", "budgets:*", "ce:*", "account:*", "health:*", "cloudfront:*", "route53:*", "route53domains:*", "waf:*", "globalaccelerator:*", "s3:GetBucketLocation", "s3:ListAllMyBuckets" ], "Resource": "*", "Condition": { "StringNotEquals": { "aws:RequestedRegion": "${aws:PrincipalTag/AllowedRegion}" } } } ] }