Automated Installation on Google Cloud Platform (GCP)

How to deploy NoPorts on Google Cloud Platform using a cloud-init script

Navigate to Compute Engine > VM instances and hit the + CREATE INSTANCE button as usual, then select Name, Region, Machine configuration etc.

Expand Advanced options at the bottom of the page:

Then scroll down and expand Management:

In the Automation section paste in your customised startup script like:

NB this script is creating a new user noports to deal with the fact that GCP images don't have default usernames.

Once filled, the box should look something like:

The VM is now ready for Create

After a few minutes the APKAM key can be approved:

If the VM isn't quite ready you'll see:

Waiting a little longer and retrying should produce a successful approval:

The VM is now ready for connection with the NoPorts client.

Last updated