resolve google cloud preview issue


Recently I have been using google cloud compute. Having some difficulty using their command line interface.

One of the commands that i use is:

gcloud preview replica-pools –zone asia-east1-a  create –size 3 –template Desktop/replica-pool.json

unfortunately it gives me a ERROR: (gcloud) Invalid choice: ‘preview’.

The way to solve this is to key in this command “gcloud components update preview” to install preview.

The following components will be installed:


    | Developer Preview gcloud Commands | 2014.09.09 | < 1 MB |


Do you want to continue (Y/n)?  y

Creating update staging area…

Installing: Developer Preview gcloud Commands … Done

Creating backup and activating new installation…


And tada! It is done!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s