This procedure requires to have:
- an active GCP account.
- Google Cloud SDK (gcloud) installed and configured on your work station.
- The credentials configured for gcloud must have sufficient permissions to create an App Engine application.
-
Create/select a GCP project to deploy
hugo-mx-gateway.Note that each GCP project can hold only a single App Engine instance. Several applications can be co-hosted as services for the root App Engine instance. In this case, a new application has to be declared as
servicein theapp.yamlfile. -
Create the Google App Engine configuration file
cp app.yaml.sample app.yaml -
Open the
app.yamlfile with your favorite editor. -
Edit the configuration variables as described here.
-
Start the deployment
make deploy-gcp -
Check that
hugo-mx-gatewayis up and workingcurl https://PROJECT-ID.REGION.r.appspot.com/Replace
PROJECT-IDwith the GCP project ID, andREGIONwith the deployment region.*The output in case of success shall be
{"status": "ok"}.