Search blog

Monday, November 21, 2016

This tutorial shows you the various steps to successfully install the Google Cloud SDK for App Engine using Python 2.7 in Ubuntu 14.04.

1. First make sure whether you have Python 2.7 installed or not. Open your terminals and enter the following command:

$ python -V

You should similar output as this: Python 2.7.6.

2. Download the SDK for App Engine from here: http://bit.ly/2fe0azC. Make sure you select the Python version.

3. Once your file downloads, extract it in any folder of your choice. In our example we will extract it inside the Home directory. Your SDK path in side the home folder should be like:

~/google-cloud-sdk/bin

Note: In Ubuntu ~ represent the Home directory.

4. Remain in your home folder (do not change directory to your SDK folder) and execute the following commands in your terminal.

./google-cloud-sdk/install.sh

You should be getting the following result as shown in the image below:

Click image to enlarge

5. You will be asked the following questions which you may respond as below:

5.1 To help improve the quality of this product, we collect anonymized usage data and anonymized stacktraces when crashes are encountered.. 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:

5.3. Enter a path to an rc file to update, or leave blank to use
[/home/evagabond/.bashrc]: just leave blank and hit enter

Iniitialize SDK

Use the gcloud init command to perform several common SDK setup tasks. These include authorizing the SDK tools to access Google Cloud Platform using your user account credentials and setting up the default SDK configuration.

Once you run the initi command, your default browser will open up and you will be asked to sign into your google account. This will be the account connected to your App Engine and various Google Cloud related services.

6.1. Open up another terminal and run the following command:

gcloud init

6.2 Accept the option to log in using your Google user account:

To continue, you must log in. Would you like to log in (Y/n)? Y

For further instructions on initialization you may go through the following Google Documentaiton: http://bit.ly/2gsZdrY

Installing App Engine:

Once you have successfully performed the installations explained above, you can now install the App Engine by running the following command in your terminal (also refer image below). Make sure you are outside your SDK folder else the command wont execute.

Email Subscription:

Support/Donate:

Drupal Association Member

eV@gabond - The Meaning

" I want to be an educated vagabond, not a vagabond out of weakness. I don't want to do anything in my life out of weakness - because I could not be anything else, that's why I am a Vagabond - that is not my way. First I want to prove to the world that I can be anything that I want to be, but still I choose to be a vagabond - out of strength. Then there is respectability even if you are a Vagabond, because respectability has nothing to do with your vocation, your profession; respectability has something to do with acting our of strength, clarity, intelligence. "