-
Download Gcloud SDK and Configure the gcloud environment클라우드/GCP 2023. 2. 2. 10:52
gcloud components install beta
Download and install the Cloud SDK
필요한경우 : 엔터치기 / Y 치기
Creating Compute instance
gcloud compute instances create lab-1
--만약 zone지정을 하고 싶다면 gcloud compute instances create lab-1 --zone us-central1-f
새로운 환경에서 로그인
gcloud init --no-launch-browser
Pick cloud project to use:
[1] qwiklabs-gcp-01-660d40e8803e
[2] qwiklabs-resources
[3] Enter a project ID
[4] Create a new project
Please enter numeric choice or text value (must exactly match list item): 1에서 pick cloud project는 해당 계정에서 선택한 프로젝트를 바라보는것.
기존 계정(main user / default)으로 돌아오기
gcloud config configurations activate default
같은 명령어로 user2로 돌아오기
gcloud config configurations activate user2
반응형'클라우드 > GCP' 카테고리의 다른 글
Cloud Translation API : source 를 HTML이 아닌 Text로 인식시키기 (' 가 ' 로 번역될때) (0) 2023.02.10 윈도우 로컬환경에서 Google Cloud Platform API 사용하기 전 Credentials 인증정보 세팅 (0) 2023.02.10 [gcp]firewall update 명령어 (0) 2023.01.30 [GCP]LoadBalancing 실제로 늘어나는거 확인하기 / 로드밸런서 (0) 2022.05.12 [GCP]윈도우 cmd에서 gcp연결하기 (0) 2021.09.29