Tutti Nuovi

user:thomas utente che ha creato il gist

title:mygist titolo del gist

filename:myfile.txt nome di file nel gist

extension:yml estensione del file nel gist

language:go linguaggio del file nel gist

topic:homelab gists with given topic

Entra


Tutti Nuovi Entra

All gists matching topic cloud-infra

Più recente creazione
Meno recente creazione
Più recente aggiornamento
Meno recente aggiornamento

timmy / ☁️ GCP 指令大全:靜態 IP、VM 操作、SSH 一次搞懂

0 mi piace
0 forks
3 files
Ultima volta attivo 8 months ago
從專案切換、建立靜態 IP,到 VM 外部 IP 更換與 SSH 連線,全套 gcloud CLI 操作全收錄,超實用筆記!🛠️
cli-tools cloud-infra compute-engine gcloud gcp networking ssh static-ip vm
1 # 設定當前使用的 GCP 專案
2 gcloud config set project <YOUR_PROJECT_ID>
3 gcloud config set project my-gcp-project-123456
4
5 # 查詢目前帳戶下的所有 Compute Engine 虛擬機(VM)
6 gcloud compute instances list
7
8 # 在 GCP 中建立一個靜態 IP
9 gcloud compute addresses create <STATIC_IP_NAME> --region <REGION>
10 gcloud compute addresses create my-static-ip --region us-central1
Più nuovi Più vecchi

Creato da Opengist ⋅ Load: 29ms⋅

Italiano
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文