Learn about our recommended infrastructure set up for deployments to Google Cloud Platform (GCP).
Our Terraform module for GCP infrastructure will get you spun up with a secure, serverless hosting of dragondrop in minutes.
It creates a Cloud Run Service instance with a new service principal that can only update and invoke Cloud Run Jobs. Further, it provisions the needed Cloud Run Job, complete with all needed environment variable keys (you need to still add the values to Google Secret Manager). The Cloud Run Service instance uses our open-sourced Flask API service container, whereas the Cloud Run Job uses our proprietary dragondrop.cloud container. All you need to do is fill in the environment variables needed for the Cloud Run Job, and then cloud infrastructure for that Job is complete!
Using our Terraform module, we estimate that most Jobs can be deployed within your cloud environment from scratch in less than 30 minutes of developer time.
We do not provide customer service for infrastructure hosting dragondrop created outside of our modules, and so strongly recommend using our Terraform Module to provision the infrastructure needed. That being said, Google Cloud Platform (GCP) makes it possible for you to provide serverless compute to dragondrop's container if you want to build your own set up.
Our recommended approach:
2) Define an HTTPS endpoint that triggers the Cloud Run Job from 1) when a POST request is sent to it.