Published in


Photo by Kenrick Mills on Unsplash

Virtual machines and networking

Part 2 of Cloud Developer Basics using Google Cloud Platform

Learning objectives and services covered

Virtualization is the core of the cloud…

..but no virtualization without networking

CIDR block for a large network. Screenshot from (
Connecting two subnets inside a larger network. Screenshot from Google (
CIDR for an individual address. Screenshot from (

Compute Engine: Infrastructure-as-a-service

Compute Engine features. Screenshot from Google (

App Engine: Platform-as-a-service

App Engine features. Screenshot from Google (

Making a choice

Compute Engine machine types. Screenshot from Google (


Instance & tenancy

Machine type


VPC (Virtual Private Cloud) and networking


Reservations/reserved instances

VPN (Virtual Private Network)

Network service tiers


Step 1: Clone the node-simple-webserver repo

Step 2: Install gcloud CLI tool or update it

Step 3: Enable APIs

Step 4: App Engine (Flex)

Step 5: App Engine (Standard)

<html><head><title>Simple Node.js webserver</title></head><body><p>Simple Node.js webserver that has cats!</p><img src=”"></body></html>

Step 6: App Engine Dashboard and settings

Step 7: Set up a firewall rule to block yourself

Step 8: Traffic routing

Step 9: Shut down the GAE application

Step 10: Creating a Google Compute Engine instance

Step 11: Create a GCE web server with a startup script

Bonus: Accessing private VM from public VM

Further studies

Explore more





We're a digital product & service studio based in Gothenburg, Sweden. Follow us here to peek into the minds of our staff and see a selection of our work. You can also find out more at

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mikael Vesavuori

Cloud Software Architect (and Technical Standards Lead) at Polestar