{"id":20260088,"url":"https://github.com/influxdata/google-deployment-manager-influxdb-enterprise","last_synced_at":"2026-03-06T02:45:50.015Z","repository":{"id":54826341,"uuid":"146631019","full_name":"influxdata/google-deployment-manager-influxdb-enterprise","owner":"influxdata","description":"GCP Deployment Manager templates for InfluxDB Enterprise.","archived":false,"fork":false,"pushed_at":"2021-01-27T03:56:08.000Z","size":275,"stargazers_count":6,"open_issues_count":9,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-14T04:13:34.162Z","etag":null,"topics":["deployment-manager","gcp","gcp-marketplace-listing","influxdb","influxdb-enterprise","marketplace"],"latest_commit_sha":null,"homepage":"https://console.cloud.google.com/marketplace/details/influxdata-public/influxdb-enterprise-vm","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/influxdata.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-29T16:52:56.000Z","updated_at":"2022-02-03T15:48:34.000Z","dependencies_parsed_at":"2022-08-14T04:00:52.546Z","dependency_job_id":null,"html_url":"https://github.com/influxdata/google-deployment-manager-influxdb-enterprise","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Fgoogle-deployment-manager-influxdb-enterprise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Fgoogle-deployment-manager-influxdb-enterprise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Fgoogle-deployment-manager-influxdb-enterprise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Fgoogle-deployment-manager-influxdb-enterprise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/influxdata","download_url":"https://codeload.github.com/influxdata/google-deployment-manager-influxdb-enterprise/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241720406,"owners_count":20008973,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deployment-manager","gcp","gcp-marketplace-listing","influxdb","influxdb-enterprise","marketplace"],"created_at":"2024-11-14T11:17:55.634Z","updated_at":"2026-03-06T02:45:44.990Z","avatar_url":"https://github.com/influxdata.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# InfluxDB Enterprise on Google Cloud Platform\n\nDeploy an InfluxDB Enterprise cluster on Google Cloud Platform (GCP) Compute\nEngine virtual machines with Google Deployment Manager (DM) templates.\n\n## Getting started\n\nThere are two ways to use the templates in this repository:\n\n- Subscribe to the [InfluxDB Enterprise offer on Google Cloud\n  Marketplace](https://console.cloud.google.com/marketplace/details/influxdata-public/influxdb-enterprise-vm?q=influxdb)\n  and follow the instructions to [deploy a cluster](#deploy-with-a-marketplace-subscription). All VMs\n  created through GCP Marketplace are automatically licensed.\n- Obtain an InfluxDB Enterprise license key and follow the instructions to\n  [deploy with a license](#deploy-with-a-license-key).\n\n## Deploy with a marketplace subscription\n\nSubscribe to [InfluxDB Enterprise on GCP\nMarketplace](https://console.cloud.google.com/marketplace/details/influxdata-public/influxdb-enterprise-vm?q=influxdb).\nAfter subscribing, all VMs deployed using InfluxDB Enterprise images from GCP\nMarketplace will automatically include a license billed to the associated GCP\naccount.\n\nAfter subscribing to the offer, a cluster can be deployed directly from the GCP\nconsole UI.\n\nAlternatively, the templates in this repository can also be used to deploy an\nInfluxDB Enterprise cluster from the command line using [Google Cloud\nShell](https://cloud.google.com/shell/) or the `gcloud` CLI tool from the\n[Google Cloud SDK](https://cloud.google.com/sdk/), which also required cloning\nthis repo.\n\n[![Open in Cloud Shell](http://gstatic.com/cloudssh/images/open-btn.svg)](https://console.cloud.google.com/cloudshell/open?git_repo=https%3A%2F%2Fgithub.com%2Finfluxdata%2Fgoogle-deployment-manager-influxdb-enterprise\u0026page=editor)\n\nThen run the following command to deploy a cluster:\n\n```sh\ngit clone https://github.com/influxdata/google-deployment-manager-influxdb-enterprise.git\ncd google-deployment-manager-influxdb-enterprise\ngcloud deployment-manager deployments create influxdb-enterprise-0 \\\n    --template src/influxdb-enterprise.jinja \\\n    --automatic-rollback-on-error\n```\n\n\u003e **Note:** `gcloud` must have an [active\n\u003e configuration](https://cloud.google.com/sdk/docs/configurations) with a\n\u003e project and compute zone name defined.\n\nOnce the cluster has successfully deployed, learn [how to access and manage\nInfluxDB Enterprise on\nGCP](https://docs.influxdata.com/enterprise_influxdb/v1.8/install-and-deploy/deploying/google-cloud-platform/#access-the-cluster).\n\n## Deploy with a license key\n\nIf you have InfluxDB Enterprise license key from\n[InfluxData](https://www.influxdata.com/contact-sales/) or a [trial\nsign-up](https://portal.influxdata.com/users/gcp), the templates in this\nrepository can be used to deploy a cluster in Google Cloud Platform (no GCP\nMarketplace subscription required).\n\n### Prerequisites\n\n- [Packer](https://learn.hashicorp.com/tutorials/packer/getting-started-install).\n- [`gcloud` CLI tool via the Google Cloud SDK](https://cloud.google.com/sdk/docs/quickstart).\n\n### Build images\n\nYou will need to build images for InfluxDB Enterprise in your GCP account using\n[Hashicorp's Packer tool](https://www.packer.io/docs/builders/amazon.html) and\nthe templates in the `packer/` directory.\n\nRun the following commands to generate a Google service account key for Packer and\nthen build the images:\n\n```sh\n# Replace \"your-gcp-project\" with the name of the Google Cloud project\nexport GOOGLE_CLOUD_PROJECT=\"your-gcp-project\"\n\n# File where the Google Service Account key will be stored\nexport GOOGLE_SERVICE_ACCOUNT_KEY=\"key.json\"\n\n# Ensure the Google Cloud SDK is authenticated\ngcloud auth login\n\n# Generate a Google Service Account for Packer with the\n# \"compute.instanceAdmin.v1\" and \"iam.serviceAccountUser\" roles\n./packer/generate-google-service-account-key.sh \"${GOOGLE_CLOUD_PROJECT}\" \"${GOOGLE_SERVICE_ACCOUNT_KEY}\"\n\n# Build images\npacker build packer/influxdb.json\n```\n\nOnce the build is complete, Packer outputs the InfluxDB Enterprise image names\nto the terminal and the `manifest.json` file.\n\n```txt\n==\u003e Builds finished. The artifacts of successful builds are:\n--\u003e enterprise-data: A disk image was created: influxdb-enterprise-data-1-8-2-ubuntu-1611160220\n--\u003e enterprise-meta: A disk image was created: influxdb-enterprise-meta-1-8-2-ubuntu-1611160220\n```\n\nThe portion of the image name after `influxdb-enterprise-data-` can be used as\nthe sourceImageVersion property when deploying the DM templates, e.g.\n`1-8-2-ubuntu-1611160220`.\n\n### Deploy a cluster\n\nRun the following command to deploy an InfluxDB Enterprise cluster with the\nimages created by Packer.\n\n```sh\n# Replace \"your-gcp-project\" with the name of the Google Cloud project\nexport GOOGLE_CLOUD_PROJECT=\"your-gcp-project\"\n\n# Set this to your InfluxDB Enterprise license key\nexport INFLUXDB_ENTERPRISE_LICENSE_KEY=\"xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx\"\n\n# Set this to the version string obtained when building the images\nexport INFLUXDB_ENTERPRISE_IMAGE_VERSION=\"1-8-2-ubuntu-xxxxxxxx\"\n\ngcloud deployment-manager deployments create influxdb-enterprise-0 \\\n    --template src/influxdb-enterprise.jinja \\\n    --properties \"licenseKey:'${INFLUXDB_ENTERPRISE_LICENSE_KEY}',\\\n                  sourceImageProject:'${GOOGLE_CLOUD_PROJECT}',\\\n                  sourceImageVersion:'${INFLUXDB_ENTERPRISE_IMAGE_NAME}'\" \\\n    --automatic-rollback-on-error\n```\n\n### Delete the cluster\n\nTo delete the cluster, run the following command:\n\n```sh\ngcloud deployment-manager delete influxdb-enterprise-0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfluxdata%2Fgoogle-deployment-manager-influxdb-enterprise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfluxdata%2Fgoogle-deployment-manager-influxdb-enterprise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfluxdata%2Fgoogle-deployment-manager-influxdb-enterprise/lists"}