Transfer files from GCP VM to another

Published on 03 Aug 2018 , edited on 22 Mar 2019

First, logon to the instance to move the files from and authenticate gcloud auth login Next run this command, on first try it will setup SSH keypairs and all gcloud compute scp file.ext [instancename]:/usr/share/nginx/html

Read more ...

GCP: Resize persistent disk of running instance

Published on 27 Sep 2017 , edited on 22 Mar 2019

So we have a lot of instances running up and about and every now and then we find out we’re running out of diskspace due to excessive logging and/or poor optimization of added media files. And while it is always best practice to fix those issues and keep the environment as clean as possible, this […]

Read more ...

Adventures on GCP with mailservers

Published on 25 Sep 2017 , edited on 22 Mar 2019

I’ve been working on Google Cloud Compute Engine to set up servers for hosting all kinds of e-commerce related stuff. One of the more unknown areas to me here are the mailservers; they are complex in setup, very dependent on and specific to the environment they run on and even harder to debug if you […]

Read more ...

Ubuntu script for quick Gcloud Compute CLI access

Published on 21 Sep 2017 , edited on 03 Apr 2019

https://gist.github.com/ca9a77fe51e042562b46dffa2892d543 This lil’ function shortens the Gcloud Compute Engine SSH command to gc [instancename] and if no instance name is given, lists all instances.

Read more ...

Compute Engine LEMP Stack PHP7 for Magento 1.9

Published on 15 Feb 2017 , edited on 22 Mar 2019

So I was tasked to set up a LEMP Stack with PHP7 on a Google Compute Engine and to install a new Magento 1.9 install on it, for further development of things. This is my story (that is to say this isn’t as much a tutorial as it is just a notebook of the things […]

Read more ...

Google Compute Cloud

All categories

All tags

All posts