Setup gcloud
on Arya#
The gcloud
command is the command line tool for Google Cloud. Other cloud vendors have similar tools; AWS has the aws
command, Azure has the azure-cli
command. Command line tools are much quicker once you get the hang of them than using the GUI. They also enable users to make shell scripts automating tasks. Soon we’ll use Terraform, a power tool for automating cloud deployment.
The gcloud
command is already installed on your Arya machine.
Step 1: Configure your Account#
Before you can use gcloud
you have to authenticate it with your google account. I demonstrate this in class:
$ gcloud init
Follow the instructions.
Step 2: Confirm Access#
This command will search for projects:
$ gcloud projects list