I would like to use ScientiaMobile’s WURFL Microservice for GCP Marketplace (https://docs.scientiamobile.com/documentation/wurfl-microservice/gcp-getting-started) however I do not want to create it via GCPs’s console UI because I want to programmatically destroy the instance when it’s not being used then programmatically create it again when needed. In other words, I want to write a script to create it.
Is it possible to programmatically create services from GCP’s marketplace?
You can either use Deployment Manager or Terraform for your use case. If you're only deploying workloads to GCP, Deployment Manager should meet all of your deployment needs. And because it's a built-in Google Cloud tool, it's also easier to use from an authentication perspective. You can learn more about this technology by visiting the official documentation and guide for Deployment Manager.
On the other hand, Terraform is a better option when deploying to multiple cloud providers or vendors. There are also plenty of community tutorials for Terraform on Google Cloud, check this link to know more.