Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Cette page vous guide tout au long du processus de configuration pour accéder aux API pré-entraînées Vertex AI dans l'infrastructure isolée Google Distributed Cloud (GDC). Vous pourrez ainsi intégrer des fonctionnalités d'IA à votre application isolée. Vous trouverez des informations sur les prérequis et les étapes à suivre pour activer et désactiver les API Vertex AI dans la console GDC.
Cette page s'adresse aux développeurs d'applications appartenant à des groupes d'opérateurs d'applications et chargés d'optimiser les applications isolées avec des fonctionnalités d'IA. Pour en savoir plus, consultez la documentation sur les audiences pour GDC en mode air-gapped.
Vertex AI sur Distributed Cloud inclut différentes API que vous devez activer depuis la console GDC pour permettre aux utilisateurs de votre organisation d'interagir avec les modèles de ML et les fonctionnalités d'IA. Pour en savoir plus sur ces API, consultez la documentation suivante :
Avant de commencer, vérifiez que vous avez effectué les étapes préalables suivantes :
Vous devez disposer du rôle Administrateur AI Platform (ai-platform-admin) pour configurer l'accès aux API Vertex AI. Si vous ne disposez pas déjà de ce rôle, vous pouvez contacter l'administrateur IAM de votre organisation ou de votre projet pour le demander. Vous pouvez également demander à votre administrateur d'activer les API Vertex AI pour vous. Pour en savoir plus sur ce rôle, consultez Préparer les autorisations IAM.
Configurez le système de noms de domaine (DNS) GDC. Si vous n'avez pas configuré le DNS, contactez votre opérateur d'infrastructure (IO) pour remplir ce prérequis.
Si vous apportez votre propre modèle parce que vous souhaitez utiliser la prédiction en ligne ou exécuter des notebooks d'intelligence artificielle (IA) et de machine learning (ML) dans un environnement GPU, assurez-vous d'allouer des machines GPU pour les types de clusters appropriés.
Activer les API pré-entraînées
Vous pouvez activer les API et les modèles de service Vertex AI à l'aide de la console GDC.
L'alerte VAI-A0001 (Enabling State Time Limit Reached) se déclenche si l'activation des services prend beaucoup de temps. Dans ce cas, votre IO doit consulter le runbook VAI-R0001 pour en savoir plus.
Désactiver les API pré-entraînées
Vous pouvez désactiver les API pré-entraînées à l'aide de la console GDC.
Dans le menu de navigation, cliquez sur Vertex AI>API pré-entraînées.
Sur la page API pré-entraînées, cliquez sur Désactiver sur un service spécifique pour désactiver cette API.
Dans la boîte de dialogue de confirmation, saisissez disable (désactiver) dans le champ de texte pour confirmer que vous souhaitez effectuer cette action. Cliquez ensuite sur Désactiver. Un message de progression s'affiche.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[[["\u003cp\u003eThis page outlines how to provision GPU resources on a container for AI/ML workloads and enable Vertex AI pre-trained APIs on Google Distributed Cloud (GDC) air-gapped.\u003c/p\u003e\n"],["\u003cp\u003eAdministrator access is generally required to configure GPU resources and manage Vertex AI pre-trained APIs, so you may need to request these actions if lacking the necessary permissions.\u003c/p\u003e\n"],["\u003cp\u003eVertex AI on GDC offers pre-trained APIs for Optical Character Recognition (OCR), Speech-to-Text, and Translation, along with services like Online Prediction and Vertex AI Workbench.\u003c/p\u003e\n"],["\u003cp\u003eProvisioning GPUs involves setting up DNS, creating a GPU-supporting cluster, and configuring containers to utilize GPU resources.\u003c/p\u003e\n"],["\u003cp\u003eThe GDC console is used to enable, deactivate, and monitor the status of the OCR, Speech-to-Text, and Vertex AI Translation pre-trained APIs.\u003c/p\u003e\n"]]],[],null,["# Enable Vertex AI APIs\n\nThis page guides you through the setup process for accessing Vertex AI pre-trained APIs within the Google Distributed Cloud (GDC) air-gapped infrastructure, allowing you to integrate AI features into your air-gapped application. You can find details about the prerequisites and the steps for enabling and deactivating the Vertex AI APIs through the GDC console console.\n\nThis page is for application developers within application operator groups who are responsible for optimizing air-gapped applications with AI features. For more information, see [Audiences for GDC air-gapped documentation](/distributed-cloud/hosted/docs/latest/gdch/resources/audiences).\n\nVertex AI on Distributed Cloud includes various APIs that\nyou must enable from the GDC console to let users from your\norganization interact with ML models and AI capabilities. To learn more about\nthese APIs, see the following documentation:\n\n- **Generative AI** : [Learn about Generative AI capabilities and available models](/distributed-cloud/hosted/docs/latest/gdch/application/ao-user/genai/genai-overview).\n- **Online Prediction** : [Learn about online predictions](/distributed-cloud/hosted/docs/latest/gdch/application/ao-user/vertex-ai-online-predictions).\n- **Optical Character Recognition (OCR)** : [Learn about character recognition features](/distributed-cloud/hosted/docs/latest/gdch/application/ao-user/vertex-ai-ocr).\n- **Speech-to-Text** : [Learn about speech recognition features](/distributed-cloud/hosted/docs/latest/gdch/application/ao-user/vertex-ai-stt).\n- **Vertex AI Translation** : [Learn about translation features](/distributed-cloud/hosted/docs/latest/gdch/application/ao-user/vertex-ai-translation).\n- **Vertex AI Workbench** : [Learn about Vertex AI Workbench](/distributed-cloud/hosted/docs/latest/gdch/application/ao-user/vertex-ai-workbench-intro).\n\nBefore you begin\n----------------\n\nBefore you begin, check that you've done the following prerequisite steps:\n\n1. You must have the AI Platform Admin (`ai-platform-admin`) role to set up access to the Vertex AI APIs. You can contact your Organization IAM Admin or Project IAM Admin to request the role if you don't already have it. Alternatively, you can ask your administrator to enable Vertex AI APIs on your behalf. For information about this role, see [Prepare IAM permissions](/distributed-cloud/hosted/docs/latest/gdch/application/ao-user/vertex-ai-ao-permissions).\n2. Set up the GDC domain name system (DNS). If you haven't set up the DNS, work with your Infrastructure Operator (IO) to complete this prerequisite.\n3. [Set up a project to use Vertex AI](/distributed-cloud/hosted/docs/latest/gdch/application/ao-user/vertex-ai-set-up-project).\n4. If you bring your own model because you want to use\n [Online Prediction](/distributed-cloud/hosted/docs/latest/gdch/application/ao-user/vertex-ai-online-predictions)\n or run artificial intelligence (AI) and machine learning (ML) notebooks in a\n GPU environment, make sure to\n [allocate GPU machines](/distributed-cloud/hosted/docs/latest/gdch/platform/pa-user/create-user-cluster#gpu)\n for the correct cluster types.\n\n | **Note:** Pre-trained APIs run on a shared service Kubernetes cluster managed by the infrastructure.\n\nEnable pre-trained APIs\n-----------------------\n\nYou can enable Vertex AI service APIs and models using the\nGDC console.\n\nAfter [meeting the prerequisites](#before-you-enable-apis), follow these steps\nto enable APIs:\n\n1. [Sign in to the GDC console](/distributed-cloud/hosted/docs/latest/gdch/platform/pa-user/iam/sign-in). If you can't sign in, see [Connect to an identity provider](/distributed-cloud/hosted/docs/latest/gdch/platform/pa-user/iam/connect-identity).\n2. In the navigation menu, click **Vertex AI** \\\u003e **Pre-trained APIs**.\n3. On the **Pre-trained APIs** page, click **Enable** on a specific service to\n enable that API.\n\n | **Note:** The GDC console doesn't display the buttons to enable the pre-trained APIs if you don't have the correct permissions.\n4. In the confirmation dialog, click **Enable**. A progress message displays.\n\nThe enablement duration varies. It might take between 15 and 45 minutes to\nfinish, depending on the state of the cluster.\n\nIf you want to view the status of the pre-trained APIs,\n[view the service status and endpoints](/distributed-cloud/hosted/docs/latest/gdch/application/ao-user/vertex-ai-api-status).\n\nThe VAI-A0001 alert (`Enabling State Time Limit Reached`) triggers if the\nservices take a long time to be enabled. In this case, your IO must review the\nVAI-R0001 runbook for details.\n| **Note:** You can't enable an API while you wait for another API to finish deactivating.\n\nDeactivate pre-trained APIs\n---------------------------\n\nYou can deactivate pre-trained APIs using the GDC console.\n\nAfter [meeting the prerequisites](#before-you-enable-apis), follow these steps\nto deactivate APIs:\n\n1. [Sign in to the GDC console](/distributed-cloud/hosted/docs/latest/gdch/platform/pa-user/iam/sign-in).\n2. In the navigation menu, click **Vertex AI** \\\u003e **Pre-trained APIs**.\n3. On the **Pre-trained APIs** page, click **Disable** on a specific service to\n deactivate that API.\n\n | **Note:** The GDC console doesn't display the buttons to deactivate the pre-trained APIs if you don't have the correct permissions.\n4. In the confirmation dialog, enter *disable* in the text field to confirm\n that you want to take that action. Then, click **Disable**. A progress\n message displays.\n\nIf you want to view the status of the pre-trained APIs,\n[view the service status and endpoints](/distributed-cloud/hosted/docs/latest/gdch/application/ao-user/vertex-ai-api-status).\n| **Note:** You can't deactivate an API while you wait for another API to finish enabling."]]