Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Preparing a cloud image

Leopold Talirz edited this page May 20, 2020 · 11 revisions

General things to consider:

  • Start with a disk that is large enough (many cloud providers don't make it easy for users to increase disk size). QM 20.3.1 took 6.1GB on GCP; i.e. 15GB may be a reasonable disk size.
    • Image pricing (for us to host it): 8.5c/GB/month (GCP)
    • Disk pricing (for users): 4c/GB/month (GCP)

GCP

  • Create new SSH keypair. Edit the last bit of the public key to use user "ubuntu" (GCP uses this to decide for which user to add the public key)
  • Create new VM
    • add public key
  • provision via ansible (note: it seems the IP does not change even if you stop the VM and start it again)
  • remove SSH key added by ansible (or perhaps change ansible so that it does not do that at all)
Clone this wiki locally