본문 바로가기

cloud111

[NCP]Subnet 생성 1. Subnet subnet 은 VPC 구축 후 각 사용성에 맞게 subnet 을 나눠 대역대를 세분화 합니다. * 개념이 생소하면 이전 게시글을 확인 해주세요 2. subnet 구축 방법 1) subnet 생성을 선택한다. 2) subnet 생성 클릭 - subnet 이름: 생성할 subnet 의 이름 작성 - vpc : subnet 을 구축할 vpc 선택 - IP 주소범위: VPC 네트워크 대역 안에서 나눌 IP 주소 범위 선택 - 가용존: KR-1, KR-2 중 선택 가능하면 한 vpc 에서 subnet 을 나눌 경우 같은 가용존으로 맞추는 것을 권장 - Network ACL: Subnet 을 기준으로 하는 네트워크 보안(차후 뒤에 설명 예정) - Ineternet Gateway 전용여부: 인터넷.. 2022. 7. 5.
[NCP] VPC 생성 1. VPC 란? : 퍼블릭 클라우드 상에서 제공되는 고객 전용 사서 네트워크 공가 : 즉 논리적으로 분리된 공간을 의미한다. * 조금 더 쉽게 설명해보자 - VPC 는 전용 네트워크 구간으로서 다른 네트워큳들과 논리적으로 분리되어 있다. - VPC 안에 Subnet 을 만들어 네트워크를 용도별 기능별로 구분해서 세분화해 나눌 수 있다. - 보안을 위해 NACL 과 ACG 를 제공한다(다른 게시글에서 설명 예정) : 따라서 클라우드에서 구축을 할시 가장 근간이 되는 네트워크 이며, VPC 없이는 서버를 만들 수도 Network 를 사용 할 수도 없다. 2. VPC생성방법 1) 콘솔 화면에서 VPC 생성 버튼을 클릭한다. 2) VPC 이름과 주소 범위를 작성한다. - 10.0.0.0 - 10.255.255.. 2022. 7. 4.
[NCP] server 생성하기 (OS) 서버를 만들어보기에 앞서, 클라우드에서 서버는 어떤의미인지 어떤 기능들이 있는지 간단하게 보면 좋을 것 같다. Q. 클라우드 상에서의 서버란? A. 클라우드 상에서 클라이언트(고객)에게 정보나 서비스를 제공하는 컴퓨터 시스템, 컴퓨터 프로그램이다. 1. NCP Server 의 기능 - init Script 기능 제공 - 공인 IP - 내 서버 imgae 기능 위와 같은 서비스를 제공한다. 2. 알고가면 좋은 것들 CPU, MEM 스펙에 따라 요금이 결정되며, 특이사항으로는, 공공기관용의 경우 Storage default 용량이 50GB 이다. 일반 민간 NCP Cloud 는 Storage default 용량이 100 GB 를 제공한다. * VPC 환경에서 만드는 방법입니다. 3. NCP 서버 생성하기 :.. 2022. 7. 4.
[cka] kodekloud-Network Policies 1.How many network policies do you see in the environment? We have deployed few web applications, services and network policies. Inspect the environment. k get networkpolicy k get netpol A) 1 2. What is the name of the Network Policy? A)payroll-policy 3.Which pod is the Network Policy applied on? A) payroll 4.What type of traffic is this Network Policy configured to handle? k describe networkpol.. 2022. 7. 1.
[cka]kodekloud-security contexts 1. What is the user used to execute the sleep process within the ubuntu-sleeper pod? In the current(default) namespace. kubectl exec ubuntu-sleeper -- whoami A) root 2.Edit the pod ubuntu-sleeper to run the sleep process with user ID 1010. Note: Only make the necessary changes. Do not modify the name or image of the pod Pod Name: ubuntu-sleeper Image Name: ubuntu SecurityContext: User 1010 k del.. 2022. 7. 1.
[cka]kodekloud-Image Security 1. What secret type must we choose for docker registry? kubectl create secret --help A) docker registry 2. We have an application running on our cluster. Let us explore it first. What image is the application using? kubectl get pods kubectl describe pods web-bd975bd87-nj92v A) nginx:alpine 3.We decided to use a modified version of the application from an internal private registry. Update the ima.. 2022. 6. 29.