본문 바로가기

TANGO/기본 환경 구성

ELB 서비스 Role 확인

AWS ELB(ElasticLoadBalancing) 서비스 역할이 없는 경우 아래와 같이 서비스 역할을 만들어야 한다.

$ aws iam get-role --role-name "AWSServiceRoleForElasticLoadBalancing" || aws iam create-service-linked-role --aws-service-name "elasticloadbalancing.amazonaws.com"

{
    "Role": {
        "AssumeRolePolicyDocument": {
            "Version": "2012-10-17", 
            "Statement": [
                {
                    "Action": "sts:AssumeRole", 
                    "Effect": "Allow", 
                    "Principal": {
                        "Service": "elasticloadbalancing.amazonaws.com"
                    }
                }
            ]
        }, 
        "MaxSessionDuration": 3600, 
        "RoleId": "AROAVMEFOR4YMYELTJRWV", 
        "CreateDate": "2021-05-08T00:19:01Z", 
        "RoleName": "AWSServiceRoleForElasticLoadBalancing", 
        "Path": "/aws-service-role/elasticloadbalancing.amazonaws.com/", 
        "RoleLastUsed": {
            "Region": "ap-northeast-2", 
            "LastUsedDate": "2021-05-08T06:27:32Z"
        }, 
        "Arn": "arn:aws:iam::369647062832:role/aws-service-role/elasticloadbalancing.amazonaws.com/AWSServiceRoleForElasticLoadBalancing"
    }
}

'TANGO > 기본 환경 구성' 카테고리의 다른 글

Amazon EFS CSI Driver  (0) 2021.05.08
AMAZON EBS CSI DRIVER  (1) 2021.05.08
AWS Load Balancer Controller (Ingress Controller) 설치  (0) 2021.05.08
kube-ops-view 설치  (0) 2021.05.08
Kubernetes Dashboard  (0) 2021.05.08