분류 전체보기
-
ECS 비용 최적화 VPC endpoint service vs NAT gatewayinfra 2024. 8. 9. 02:57
이번에 하려는 일은 ecs의 설정 시 비용 문제에 관해 다루어 보려고 한다. ecs를 사용하려고 비용을 보니까. ec2나 다른 기타 비용은 얼마 안나오는데 vpc비용이 과하게 크게 잡혔다. 이걸 확인해본 결과 ecs와 private subnet안에 있는 인스턴스와 연결을 위한 vpc endpoint에 관련하여 비용이 많이 나왔다는 것을 알 수 있었다. https://docs.aws.amazon.com/ko_kr/AmazonECS/latest/developerguide/vpc-endpoints.html 참고 자료 내가 연결한 vpc endpoint 목록 여기서 s3 gateway같은 경우 fargate를 사용할 때 연결하라고 되있고ssm은 aws parameterstore를 쓰기위해 등등 연결이 되어 ..
-
eks (4) CI CD 전체적인 구성카테고리 없음 2024. 5. 31. 03:58
전체 구성graph TDA[Application Repository]--코드 업데이트--> B[Github Actions] --도커 이미지 업데이트--> D[ECR] -->C[GitOps Repository]--매니페스트 파일에서 태그 이름 변경 및 푸쉬--> E[ArgoCD] --스캔 매니페스트 파일--> F[DEPLOY] 설명처음에 코드가 저장되어있는 레포지토리에서 Github Actions를 통해 ECR 도커 이미지를 업데이트 하고 업데이트 한 도커 manifest.yaml의 내용 중 도커 이미지의 태그 이름을 업데이트 한 이름으로 바꾸어 준다. 그리고 푸쉬하면 ArgoCD에서 배포하는 형식이다.
-
eks (2) 번외 RunBook카테고리 없음 2024. 5. 16. 13:28
AWS EKS NodeGroup "Create failed": Instances failed to join the kubernetes cluster AWS EKS NodeGroup "Create failed": Instances failed to join the kubernetes clusterI am able to create an EKS cluster but when I try to add nodegroups, I receive a "Create failed" error with details: "NodeCreationFailure": Instances failed to join the kubernetesstackoverflow.com 클러스터 구축을 위하여 node group를 생성하던 중 au..
-
eks (3) ArgoCD 설치 및 alb 생성카테고리 없음 2024. 5. 14. 23:11
설치kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml기타 필요한 부분 중 빼먹은 부분ip6 cidr 구성https://docs.aws.amazon.com/ko_kr/vpc/latest/userguide/modify-vpcs.html#vpc-associate-ipv6-cidr VPC 구성 - Amazon Virtual Private Cloud이 페이지에 작업이 필요하다는 점을 알려 주셔서 감사합니다. 실망시켜 드려 죄송합니다. 잠깐 시간을 내어 설명서를 향상시킬 수 있는 방법에 대해 말씀해 주십시오.docs...
-
eks (2)카테고리 없음 2024. 5. 12. 00:16
nodeRole 생성 node group 생성https://stackoverflow.com/questions/57494369/kubectl-apply-deployment-to-specified-node-group-aws-eks Kubectl apply Deployment to specified Node Group - AWS EKSI have created multiple stacks (node groups) within my EKS cluster, and each group runs on a different instance type (for example, one group runs on GPU instances). I have added an entry in mapRole...stackoverflow..
-
github action aws 인증카테고리 없음 2024. 5. 11. 00:47
github actions aws 인증https://aws.amazon.com/ko/blogs/security/use-iam-roles-to-connect-github-actions-to-actions-in-aws/ Use IAM roles to connect GitHub Actions to actions in AWS | Amazon Web ServicesMay 22, 2023: We updated the post to reflect case sensitivity in the IDP entered: https://token.actions.githubusercontent.com. The IDP created in this post should be entered in lowercase through the..