Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.09 KB

GCP.md

File metadata and controls

33 lines (24 loc) · 1.09 KB
  1. To configure shell:
    https://cloud.google.com/sdk/docs/install

  2. To initialize gcloud on terminal.
    gcloud auth login
    or
    gcloud init --no-launch-browser

  3. To set project on terminal:
    gcloud config set project [project-ID]
    You can get all projects here: https://console.cloud.google.com/welcome/

  4. To list compute:
    gcloud compute instances list

  5. To SSH created VM in compute: gcloud compute ssh <project-id> --zone <your-zone>

  6. To delete projects:
    Navigate to this page: https://console.cloud.google.com/cloud-resource-manager
    OR
    gcloud projects delete [..your-project-id..]

To Create Buckets


  1. Search for Bucket.
  2. Click on Create Bucket. Provide it a unique name globally.[All in lowercase]
  3. Opt for options as per use-case.
  4. Bucket is created.
  5. Create a folder inside bucket where we can store our image for instance.
  6. Upload programmatically[GO SDK] or by clicking on upload file button.