
Please note that cloud SDK by default is installed in your Linux & Windows VM's that you create in Google Cloud. It's also present in cloud shell. You still have to initialize the gcloud thought using 'gcloud init'.
In this lecture I am using Amazon VM's (red VM & blue VM) to show how to install the SDK in a third party VM.
Also note that after initializing the SDK, if you are trying to use gcloud command to list projects etc,. inside your google cloud VM then you might run into error 'PERMISSION_DENIED: Request had insufficient authentication scopes'.
If you run into that then it means your VM does not have enough permission. So stop the VM, edit the VM and go to 'Cloud API access scopes' and give it the appropriate scope or ' Allow full access to all Cloud APIs' for testing purposes. Alternatively you can give that permission while creating VM's too.
Note: I've attached the startup script in the downloadable materials. Please feel free to use it.
Would you like to gain technical knowledge about Google Cloud Platform?
Google Cloud Platform is a very hot topic now.
If you learn it now in a practical way, you will not only ace that interview and perform well in your job, but you will be able to troubleshoot in a more efficient way.
After all applied knowledge is power, right?
In this course, you will learn IAM, Google Cloud Compute Engine, VPC, CDN, Loadbalancing, Autoscaling, Cloud SQL, Spanner, Buckets and Datastore with hands-on demos.
More contents like Pub/Sub, App Engine, Stackdriver etc., will be added in near future.