Cloud GCP SDK를 통한 CLI 예 2020/04/22 22:24 by The 2nd

[kiostory@instance-1 ~]$ gcloud compute instances describe instance-1
Did you mean zone [us-central1-a] for instance: [instance-1] (Y/n)?  y

canIpForward: false
cpuPlatform: Intel Haswell
creationTimestamp: '2020-04-13T22:35:56.939-07:00'
deletionProtection: false
description: ''
disks:
- autoDelete: true
  boot: true
  deviceName: instance-1
  diskSizeGb: '20'
  guestOsFeatures:
  - type: UEFI_COMPATIBLE
  index: 0
  interface: SCSI
  kind: compute#attachedDisk
  licenses:
  - https://www.googleapis.com/compute/v1/projects/centos-cloud/global/licenses/centos-8
  mode: READ_WRITE
  source: https://www.googleapis.com/compute/v1/projects/kio-pro-1/zones/us-central1-a/disks/instance-1
  type: PERSISTENT
displayDevice:
  enableDisplay: false
fingerprint: cMXwzQREOwo=
id: '2420539400040019284'
kind: compute#instance
labelFingerprint: 42WmSpB8rSM=
machineType: https://www.googleapis.com/compute/v1/projects/kio-pro-1/zones/us-central1-a/machineTypes/g1-small
metadata:
  fingerprint: 4-xEJJiBnMs=
  kind: compute#metadata
name: instance-1
networkInterfaces:
- accessConfigs:
  - kind: compute#accessConfig
    name: External NAT
    natIP: 35.209.35.128
    networkTier: STANDARD
    type: ONE_TO_ONE_NAT
  fingerprint: fponm0Wtw_s=
  kind: compute#networkInterface
  name: nic0
  network: https://www.googleapis.com/compute/v1/projects/kio-pro-1/global/networks/default
  networkIP: 10.128.0.2
  subnetwork: https://www.googleapis.com/compute/v1/projects/kio-pro-1/regions/us-central1/subnetworks/default
reservationAffinity:
  consumeReservationType: ANY_RESERVATION
scheduling:
  automaticRestart: true
  onHostMaintenance: MIGRATE
  preemptible: false
selfLink: https://www.googleapis.com/compute/v1/projects/kio-pro-1/zones/us-central1-a/instances/instance-1
serviceAccounts:
- email: kioserviceaccount@kio-pro-1.iam.gserviceaccount.com
  scopes:
  - https://www.googleapis.com/auth/cloud-platform
shieldedInstanceConfig:
  enableIntegrityMonitoring: true
  enableSecureBoot: false
  enableVtpm: true
shieldedInstanceIntegrityPolicy:
  updateAutoLearnPolicy: true
startRestricted: false
status: RUNNING
tags:
  fingerprint: nCbHgIofsJM=
  items:
  - http-server
  - https-server
  - jupyter-notebook
zone: https://www.googleapis.com/compute/v1/projects/kio-pro-1/zones/us-central1-a
[kiostory@instance-1 ~]$


덧글

댓글 입력 영역