Getting started

GCE Backend for Flannel

From the Developers Console, we start by creating a new network.

Configure the network name and address range. Then add firewall rules to allow etcd traffic (tcp/2379), SSH, and ICMP.
That's it for the network configuration.
Now it’s time to create an instance.
Let's call it demo-instance-1.
Under the "Management, disk, networking, access & security options" make the following changes:

Select the "Network" to be our newly created network

Enable IP forwarding

Under "Access and Security" set the compute permissions to "Read Write" and remember to add your SSH key

Booting a new GCE instance

Security settings for a new instance

With the permissions set, we can launch the instance!

The only remaining steps now are to start etcd, publish the network configuration and lastly, run the flannel daemon.
SSH into demo-instance-1 and execute the following steps: