How to sync files to Google Coldline Storage: Difference between revisions

From PUBLIC-WIKI
Jump to navigation Jump to search
(Created page with "== Creating a storage bucket == * Open the Cloud Storage browser: : https://console.cloud.google.com/storage/browser * Click on "Create bucket": :* '''Name your bucket''': Spe...")
 
No edit summary
Line 10: Line 10:
:* '''Advanced settings''': Leave the default settings (Google-managed key)
:* '''Advanced settings''': Leave the default settings (Google-managed key)
* Click on Create
* 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

Revision as of 15:35, 23 July 2019

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