Deploying on GCP
This page describes how to deploy onto GCP.
Last updated
This page describes how to deploy onto GCP.
Last updated
Instructions for creating a new GCP project can be found .
The APIs required for all projects are:
The APIs can be enabled manually by searching for the API by name in the console, or for gcloud
users, the API can be enabled by running:
The new service account you create will be used by Metamanagement to create new infrastructure and to coordinate access across all the services.
Hit the "+ Create Service Account" button
Give the service account a memorable name -- we recommend "MM Installer". Hit "Create".
On the next page, add the following permissions: "Editor" (under the "Project" header), "Service Networking Admin," and "Kubernetes Engine Admin". Hit "Continue".
Hit "Done".
Find the service account in the list and click the triple-dot icon under the "Actions" header. Hit "Create key" and select "JSON" when given the option.
You will be asked for this key when deploying on Metamanagement.
You should have received an invitation in your email from your vendor indicating that they have invited you to install their service. Click the email and follow the instructions, filling out all of the required fields and following any secondary instructions the vendor may have given you.
After all of the information is submitted, it will take up to 30 minutes to spin up your new project. You will receive an email when this is done.
If you manually specified a hostname, rather than using the auto-generated one, you will need to set up DNS.
The Metamanagement console will give you the IP address at which the cluster is being made available. You should add DNS A records mapping from the domain name you provided to that IP address. Instructions for a few common providers are linked below:
Note that after setting up DNS, it may take another ~5 minutes for the relevant SSL certs to be generated and for your app to become fully available.
If you created your service in a completely new project and it must be accessible by other services running in your infrastructure, you must somehow make the new VPC accessible from other VPCs.
If the vendor service requires use of Postgres or MySQL, then you must also enable the .
If the vendor service requires use of Redis, then you must also enable the .
If the vendor service requires use of Memcached, then you must also enable the .
Head to the section in the IAM services on GCP, and:
The first way to do this is with VPC peering. This is useful if you want unrestricted two-way access between the newly installed service and your main infrastructure. Instructions for this can be found .
The second way to do this is with private service access. Rather than joining the VPCs, this gives you a way to define service producers and have them be accessible via explicit network connections. More information on how to set this up can be found .