IAM
-
[eks] An error occurred (AccessDeniedException) when calling the DescribeCluster operationInfra/DevOps 2023. 3. 22. 18:43
요즘 aws eks 인프라 구축을 하고있다. local에서 kubectl을 통해 직접 node/pod에 접근하지 않고, 퍼블릭 영역에 중개 서버를 두고 통해서 접근을 하고자 한다. 그래서 private subnet 영역에 eks cluster를 세팅하고, public subnet에 중개 서버(ec2 instance)를 두었다. 그 과정에서, 중개서버에서 eks-cluster를 연결하려고 하는데 아래와 같은 에러가 발생 했다. 명령어: $ aws eks update-kubeconfig --name --region 에러 코드: An error occurred (AccessDeniedException) when calling the DescribeCluster operation: User: arn:aws:st..
-
[AWS] EKS 시작하기(1) - 사전 준비과정 (ECR & Tools)Infra/AWS 2020. 7. 24. 14:33
ECR에 도커 이미지 PUSH IAM User 생성 (access key / secret key 발급) 사전 준비 kubectl 설치 $ curl -LO "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/darwin/amd64/kubectl" % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 47.8M 100 47.8M 0 0 10.1M 0 0:00:04 0:00:04..
-
[aws] create account for codecommit accessInfra/AWS 2019. 12. 9. 15:23
If you got a aws-codecommit repository, you need a access account. So, you should create a IAM user. and generate HTTPS G credentîals ror AWS coaecommít. AWS > IAM > Users > Security credentials Click the Generate button. Copy the User name & password. git clone PATH