본문 바로가기

개발/Cloud5

[aws] s3 버킷 생성하기 / 버킷 정책 수정 AWS S3 버킷만들기 https://s3.console.aws.amazon.com/s3/home https://s3.console.aws.amazon.com/s3/home s3.console.aws.amazon.com 1. 버킷 만들기 이름, 리전 설정 다른건 생성 이후 변경 가능 설정 후 버킷 생성하기 2. 정적 웹 사이트 호스팅 활성화 만들어진 버킷 목록에서 버킷 선택 속성 -> 정적웹사이트 호스팅 -> 편집 이렇게 설정 후 변경사항 저장 버튼 클릭 3. 버킷정책 편집 권한 -> 버킷 정책 -> 편집 { "Version": "2012-10-17", "Statement": [ { "Sid": "Statement1", "Effect": "Allow", "Principal": "*", "Action": .. 2022. 3. 3.
[kubernetes] 쿠버네티스 dashboard 배포 / 접속하기 1. Metrics-server 생성하기 / 확인하기 // root 에서 metrics-server 설치 ubuntu@master1:~$ sudo -i root@master1:~# kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml serviceaccount/metrics-server created // metrics-server 생성된 것 확인 root@master1:~# kubectl get po -A NAMESPACE NAME READY STATUS RESTARTS AGE kube-system kube-scheduler-master1 1/1 Running 2 .. 2022. 2. 23.
[kubernetes] 쿠버네티스 pod 확장, deployment scaling Scaling a Deployment - 쿠버네티스에서 deployment Scale 변경하는 방법 - pod 확장/축소 --replicas=n 옵션으로 pod 개수를 변경할 수 있다. - Scale out kubectl scale deployment/이름 --replicas=3 - Scale in kubectl scale deployment/이름 --replicas=0 - 확인 kubectl get deploy,rs,po - Example -n : user정하는 옵션 따로 user 정하지 않았으면 그대로 master 에서 진행. // user1 에 example 이라는 deployment 생성. ubuntu@master1:~$ kubectl -n user1 create deploy example --i.. 2022. 2. 23.
[kubernetes] 쿠버네티스 katacoda 에서 경험해보기 1. 쿠버네티스 Launch Single Node Kubernetes Cluster 실행 https://katacoda.com/courses/kubernetes/launch-single-node-cluster Launch Single Node Kubernetes Cluster | Kubernetes | Katacoda Learn how to launch a single node Kubernetes cluster using Minikube. Learn Step 1 - Start Minikube, Step 2 - Cluster Info, Step 3 - Deploy Containers, Step 4 - Dashboard, via free hands on training. katacoda.com 2. 마지막 .. 2022. 2. 15.