O'Reilly logo

Instant Google Compute Engine by Alexander Papaspyrou

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Quick start – creating your first compute instance

To make you more familiar with GCE, we will start simple and create the basic unit of interaction within Google's infrastructure: an instance. At the end of this chapter, you will have a working virtual machine running within GCE that serves a basic web page over the HTTP protocol, in a secure way.

Step 1 – adding an instance

Because the GCE infrastructure hides the magic of creating and destroying virtual machines from you, adding an instance is a very simple process that only requires a few commands. Here are the steps:

  1. Create your instance by executing gcutil addinstance my-first-instance and answering the following configuration questions:
    • Which zone to use? Select one from the list that indicates ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required