Thursday 3 August 2017

Google Cloud Platform SDK Setup

Tools for Cloud Platform

The Cloud SDK is a set of tools for Cloud Platform. It contains gcloud, gsutil, and bq, which you can use to access Google Compute Engine, Google Cloud Storage, Google BigQuery, and other products and services from the command-line. You can run these tools interactively or in your automated scripts

Manage Virtual Machine

gcloud makes it easy to manage your fleet of virtual machines on Compute Engine ‐ everything from creating, starting and managing VM instances to rolling your own VM images. You can also use gcloud to make SSH connections to your instances

Run Local Service Emulators

Cloud SDK emulators for Google Cloud Pub/Sub and Google Cloud Datastore allow you to simulate these services in your environment for local development, testing and validation. You start and manage service emulators using the gcloud tool

System requirements

Cloud SDK runs on Linux, Mac OS X and Windows, and requires Python 2.7.x. Some tools bundled with Cloud SDK have additional requirements. For example, Java tools for Google App Engine development require Java 1.7 or later

Download

To install the latest release of Cloud SDK from a versioned archive:
https://cloud.google.com/sdk/downloads

Extract the file to any location on your file system

and go to the location where you have extract the file.
Optional. Run the install script to add Cloud SDK tools to your path, enable command-completion in your bashshell (Linux and Mac OS only) and enable usage reporting.
On Linux or Mac OS X:./google-cloud-sdk/install.sh
On Windows:.\google-cloud-sdk\install.bat


It take Few Minutes.

once done you will see this kind of screen



Once The setup complete you need to hit the command

#gcloud init


Then click on the link to verify your account. 
now you can use your local shell to connect to the google cloud instances and manage them.

There is a video to demonstrate how to set up google cloud sdk