Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Questa pagina descrive i passaggi per creare un pacchetto di deployment per il tuo prodotto VM (virtual machine) nell'ambito della pubblicazione del prodotto su Google Cloud Marketplace.
Un deployment è un insieme di risorse create e gestite insieme, ad esempio le risorse necessarie per il tuo prodotto. Un pacchetto di deployment è una
specifica per un insieme di risorse che in genere vengono implementate insieme, il che
snellisce il processo di implementazione del prodotto in questione.
Specifica le opzioni di deployment da offrire ai tuoi clienti
Puoi consentire ai tuoi clienti di eseguire il deployment del tuo prodotto VM utilizzando una o entrambe le seguenti opzioni:
Terraform (consigliato):
Terraform è uno strumento open source per il provisioning dell'infrastruttura. Per saperne di più, consulta la documentazione di Terraform su Google Cloud.
Con questa opzione, i clienti scaricano ed eseguono il deployment dei moduli Terraform direttamente da Cloud Marketplace o utilizzando Terraform.
Ti consigliamo di supportare Terraform, soprattutto se per il tuo prodotto si verificano i seguenti casi:
I tuoi clienti hanno dimestichezza con Terraform.
I tuoi clienti vogliono gestire i propri deployment come Infrastructure as Code (IaC).
L'architettura del prodotto è complessa ed estremamente configurabile.
Con questa opzione, i clienti eseguono il deployment del tuo prodotto direttamente da Cloud Marketplace.
Per specificare le opzioni di deployment da offrire ai clienti, completa i seguenti passaggi:
In Producer Portal, vai alla sezione Pacchetto di deployment.
In Configurazione, utilizza le caselle di controllo per selezionare o deselezionare Terraform e Deployment Manager. Devi selezionare almeno una delle due opzioni.
Seleziona l'immagine della VM
Per selezionare l'immagine della VM del tuo prodotto, completa i seguenti passaggi:
In Producer Portal, vai alla sezione Pacchetto di deployment.
In Origine immagine di deployment, utilizza la casella di controllo per specificare se Utilizzare le immagini di proprietà di Marketplace.
Se attivi l'utilizzo delle immagini di proprietà di Cloud Marketplace, durante la verifica dell'immagine VM, Cloud Marketplace la copia in un progetto Google Cloud di proprietà di Google. Ti consigliamo di attivare l'utilizzo
delle immagini di proprietà di Cloud Marketplace per assicurarti che l'utilizzo
da parte dei tuoi clienti
dei tuoi prodotti non venga interrotto involontariamente se apporti modifiche
alle immagini di tua proprietà. Ad esempio, se non utilizzi le immagini di proprietà di Cloud Marketplace e modifichi un criterio di Identity and Access Management (IAM) per l'immagine pubblicata del tuo prodotto, potresti impedire ad alcuni dei tuoi clienti di accedere al prodotto.
Seleziona l'immagine della VM.
L'immagine VM selezionata deve soddisfare i seguenti requisiti:
L'immagine VM deve essere associata al tuo progetto Google Cloud
attuale.
L'immagine VM deve avere la licenza corretta per il tuo prodotto. Questa licenza viene creata e collegata quando
crei l'immagine VM.
Passaggi successivi
Dopo aver specificato le opzioni di deployment da offrire ai clienti e selezionato l'immagine VM, devi completare i passaggi rimanenti applicabili per configurare l'origine dell'immagine di deployment.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[],[],null,["# Create your deployment package\n\nThis page describes the steps to create a deployment package for your virtual\nmachine (VM) product, as part of publishing your product to Google Cloud Marketplace.\n\nA deployment is a set of resources that are created and managed together---such as\nthe resources needed for your product. A deployment package is a\nspecification for a set of resources that are typically deployed together, which\nstreamlines the process of deploying that particular product.\n\nSpecify which deployment options to offer to your customers\n-----------------------------------------------------------\n\nYou can enable your customers to deploy your VM product by using\neither or both of the following options:\n\n- **Terraform** (Recommended):\n [Terraform](https://www.terraform.io/) is an open source\n tool for provisioning infrastructure. For more information, refer to the\n [Terraform on Google Cloud](/docs/terraform) documentation.\n\n With this option, your customers download and deploy Terraform modules,\n either directly from Cloud Marketplace or by using Terraform.\n\n We recommend that you support Terraform, especially if the following cases\n are true for your product:\n - Your customers are familiar with Terraform.\n\n - Your customers want to manage their deployments as infrastructure as\n code (IaC).\n\n - Your product's architecture is complex and extensively configurable.\n\n - Your product requires features that aren't available through the\n [open source `mpdev` tool](https://github.com/GoogleCloudPlatform/marketplace-tools).\n\n- **Cloud Deployment Manager** :\n [Cloud Deployment Manager](/deployment-manager) is an infrastructure\n deployment service that automates the creation and management of\n Google Cloud resources. For more information, visit the\n [Deployment Manager documentation](/deployment-manager/docs).\n\n With this option, your customers deploy your product directly from\n Cloud Marketplace.\n\nTo specify which deployment options to offer your customers, complete the\nfollowing steps:\n\n1. In Producer Portal, go to the **Deployment package** section.\n\n2. Under **Configuration** , use the checkboxes to select or clear\n **Terraform** and **Deployment Manager**. You must select at least one of the\n two options.\n\nSelect your VM image\n--------------------\n\nTo select your product's VM image, complete the following steps:\n\n1. In Producer Portal, go to the **Deployment package** section.\n\n2. Under **Deployment image source** , use the checkbox to specify whether or not\n to **Use Marketplace owned images**.\n\n If you turn on usage of Cloud Marketplace owned images, then during\n verification of your VM image, Cloud Marketplace copies your image to a\n Google-owned Google Cloud project. We recommend that you turn on usage\n of Cloud Marketplace owned images to ensure that your customers' usage\n of your products isn't unintentionally disrupted if you make changes to\n images that you own. For example, if you don't use Cloud Marketplace\n owned images, and you change an Identity and Access Management (IAM) policy for your\n product's published image, you might cause some of your customers to be\n unable to access the product.\n | **Note:** For your customers to use Terraform to deploy your product, you must turn on **Use Marketplace owned images**.\n3. Select your VM image.\n\n The VM image you select must meet the following requirements:\n - The VM image must be associated with your current Google Cloud\n project.\n\n - The VM image must have the correct license for your product attached to\n it. You create and attach this license when you\n [create your VM image](/marketplace/docs/partners/vm/build-vm-image#create_a_licensed_vm_image).\n\nNext steps\n----------\n\nAfter you've specified which deployment options to offer to your customers and\nselected your VM image, you must complete the remaining applicable steps to\nconfigure your deployment image source.\n\n- [Configure your VM image for Terraform deployment](/marketplace/docs/partners/vm/configure-terraform-deployment).\n\n- [Configure your VM image for Deployment Manager deployment](/marketplace/docs/partners/vm/configure-dm-deployment)."]]