gcloud CLI is a very powerful CLI tool to interact directly with the GCP API. From their definition page:
Google Cloud Console helps you manage your services running on the Google Cloud Platform (GCP) directly from your Apple iPhone or iPad:. Stay connected to the cloud and check billing, status, and critical issues. Create your own custom dashboard to produce an overview of your GCP services. A developer-ready environment. Develop your apps directly from your browser with the Cloud Shell Editor, streamlined to increase your productivity with features such as Go, Java, Node.js, Python, and C# language support, an integrated debugger, source control, refactoring, and a customizable interface.
How to Download G Cloud Backup for PC or MAC: 1. Download BlueStacks free Android emulator for PC considering the download button introduced within this webpage. As soon as the installer finish off downloading, click on it to start out with the installation process. In the installation process just click on 'Next' for the first two steps. Find GCLOUD software downloads at CNET Download.com, the most comprehensive source for safe, trusted, and spyware-free downloads on the Web.
The gcloud command-line interface is a tool that provides the primary CLI to Google Cloud Platform. You can use this tool to perform many common platform tasks either from the command-line or in scripts and other automations.
For example, you can use the gcloud CLI to create and manage:
- Google Compute Engine virtual machine instances and other resources
- Google Cloud SQL instances
- Google Kubernetes Engine clusters
- Google Cloud Dataproc clusters and jobs
- Google Cloud DNS managed zones and record sets
- Google Cloud Deployment manager deployments
You can also use the gcloud CLI to deploy App Engine applications and perform other tasks.
- A configured GCP Project
- Python installed on your Mac
Gcloud Download Mac Download
gcloud CLI comes in a zip file (tar.gz), if you are running 32 bit OS then download it from here or for 64 bit OS download it from here. Extract it somewhere from where you need to start the installation.
Gcloud Download Mac Software
After you extract the binary, run the install script.
$ ./google-cloud-sdk/install.sh
Welcome to the Google Cloud SDK!
To help improve the quality of this product, we collect anonymized usage data
and anonymized stacktraces when crashes are encountered; additional information
is available at https://cloud.google.com/sdk/usage-statistics. You may choose
to opt out of this collection now (by choosing 'N' at the below prompt), or at
any time in the future by running the following command:
gcloud config set disable_usage_reporting true
Do you want to help improve the Google Cloud SDK (Y/n)? n
Your current Cloud SDK version is: 253.0.0
The latest available version is: 253.0.0
.........
Now that you have gcloud cli installed, you need to initialize it.
$ gcloud init
By default, it will use browser mode to get your authentication token. Provide that during the installation. You will be asked to pick your current project, default compute zone. Once you provide all these inputs, it will show you the output like this:
Created a default .boto configuration file at [/Users/prassark/.boto]. See this file and
[https://cloud.google.com/storage/docs/gsutil/commands/config] for more
information about configuring Google Cloud Storage.
Your Google Cloud SDK is configured and ready to use!
- Commands that require authentication will use jit2600@gmail.com by default
- Commands will reference project
nth-record-246512
by default - Compute Engine commands will use region
europe-west4
by default - Compute Engine commands will use zone
europe-west4-a
by default
Rungcloud help config
to learn how to change individual settings
This gcloud configuration is called [default]. You can create additional configurations if you work with multiple accounts and/or projects.
Rungcloud topic configurations
to learn more.
Some things to try next: - Run
gcloud — help
to see the Cloud Platform services you can interact with. And rungcloud help COMMAND
to get help on any gcloud command. - Run
gcloud topic — help
to learn about advanced features of the SDK like arg files and output formatting
Check whether you can list your accounts, see the configuration that you have specified during initialization etc. to see if everything is configured correctly.
$ gcloud auth list
Credentialed Accounts
ACTIVE ACCOUNT
To set the active account, run:
$ gcloud config set account ACCOUNT
$ gcloud config list
[compute]
region = europe-west4
zone = europe-west4-a
[core]
account = jit2600@gmail.com
disable_usage_reporting = True
project = nth-record-246512
Your active configuration is: [default]