AWS에 쿠버네티스(Kubernetes) 환경 구성하기
우선 시작하기에 앞서 환경을 정의하자. 우리의 로컬 컴퓨터는 Windows OS를 사용한다. 일단 시작해보자. AWS에서 Security Group 만들기 우리는 EC2를 Windows의 cmd 를 이용해 접속할 것이므로, ssh접속을 허용하는 Security Group을 만들어야 한다. 먼저 EC2 메뉴로 가자. 어차피 잠깐 만들었다가 지울 클라우드 환경이기에, Inbound를 모든 IP-4에 대해 열어주자. (0.0.0.0/) EC2 Launch Template 만들기 k8s는 여러개의 컨테이너를 관리하는 프로그램이기에, 여러 PC들을 만들어야 제대로 실험해볼 수 있다. 동일한 EC2를 계속 만드는게 은근 귀찮은 노가다이므로 템플릿을 만들어 저장해놓고 한번에 같은 스펙을 가진 여러 인스턴스들을 만들자..
2023.11.04