How to sync files to Google Coldline Storage

From PUBLIC-WIKI
Revision as of 13:35, 23 July 2019 by Eyales (talk | contribs)
Jump to navigation Jump to search

Creating a storage bucket

  • Open the Cloud Storage browser:
https://console.cloud.google.com/storage/browser
  • Click on "Create bucket":
  • Name your bucket: Specify here the bucket name (all lowercase, numbers and “-“ or “_”)
Note: Do not specify sensitive information on the bucket name since it is searchable via DNS
  • Choose a default storage class: Select Coldline
  • Location: Select a close location, such as Europe-west2 (London)
  • Choose how to control access to objects: Leave the default settings
  • Advanced settings: Leave the default settings (Google-managed key)
  • Click on Create

Google Cloud SDK installation phase

  • Login to a machine using privileged account
  • Install Google Cloud SDK tools.
  • Linux (Debian / Ubuntu):
https://cloud.google.com/sdk/docs/quickstart-debian-ubuntu
  • Linux (CentOS / RedHat):
https://cloud.google.com/sdk/docs/quickstart-redhat-centos
  • Windows:
https://cloud.google.com/sdk/docs/quickstart-windows
  • Run the following from command prompt to initialize the Cloud SDK:
gcloud init --console-only
  • Select a GCP project from the list
  • Select a default Compute region and zone