SPB Git

Repository Public

aistudio-deploying.md 4.9 KB 107 lines markdown

1Google AI Studio lets you to deploy your full-stack applications directly2from Build Mode. This provides a fast path from prototype to a3managed, scalable production environment.45## Deployment options67To deploy your application from AI Studio Build Mode, the requirements depend8on the tier you use:910- [**Google Cloud Starter Tier**](https://docs.cloud.google.com/docs/starter-tier): Lets you publish up to 2 full-stack applications without setting up a Google Cloud project or billing account.11- **Standard Deployment**: Requires a Google Cloud project linked to your AI Studio account and billing enabled on that project.1213## About the Starter Tier1415The Google Cloud Starter Tier provides a streamlined path to deploy16applications to Google Cloud directly from Google AI Studio without setting17up a full Google Cloud environment or billing account.1819Each Google AI Studio deployment creates a corresponding service in20Cloud Run. For services deployed in Google AI Studio with Starter21Tier, the following limitations apply:2223- You can deploy up to two services.24- Your services are deployed in a [single Cloud Run region](https://docs.cloud.google.com/run/docs/locations).2526> [!NOTE]27> **Note:** Users with active or prior Google Cloud billing accounts are ineligible to use the starter tier. Enterprise accounts associated with a paid or free Google Workspace, Google Workspace for Education, or Google for Nonprofits subscription are also ineligible.2829## Starter Tier deployment steps3031After designing your app in Build mode, deploy it with Starter Tier:32331. Click the **Publish** button in the top right corner.342. Click **Get Started**.353. Click **Publish App**.3637Once deployment is complete, AI Studio provides a Cloud Run URL where you can38access your live application.3940> [!NOTE]41> **Note:** If you already have 2 applications deployed, you will be asked to either unpublish one of the applications or upgrade to a paid account. You may also need to upgrade to a paid account if you don't have starter tier available.4243## Custom URLs for AI Studio4445When publishing an application from Google AI Studio, you can set a custom,46memorable subdomain under `ai.studio` (for example,47`https://your-app-name.ai.studio`).4849Google AI Studio requires subdomains to be globally unique across all projects,50and assigns them on a first-come, first-served basis. If another project51already uses a name, AI Studio prompts you to choose a different one. If you52unpublish or delete an application, its custom URL is released and becomes53available for other users to claim.5455### Set a custom URL5657To set or update a custom URL for your application:58591. Open your application in Google AI Studio in **Build** mode.602. Click **Publish** in the top right corner.613. In the deployment configuration, enter your preferred subdomain in the **Custom URL** field or accept the suggested URL.624. Click **Publish App**.6364To transfer an existing custom URL to a different application, you must first65unpublish or delete the application which is assigned that custom URL, and then66publish your new application using the chosen subdomain.6768### Report trademark or copyright issues6970Custom subdomains must comply with the71[Google Terms of Service](https://policies.google.com/terms). If you notice a72custom URL that infringes on a trademark or uses a copyrighted name without73permission, you can report it using the74[Google Legal Troubleshooter](https://support.google.com/legal/troubleshooter/1114905).7576## Standard deployment7778As your applications evolve, you might require capabilities beyond the Starter79Tier, such as higher quotas or increased compute resources or other80Google Cloud products not available in the Starter Tier. To unlock81these capabilities, you can convert your fully managed Starter Tier project into82a standard Google Cloud project.8384This ensures that you can scale seamlessly without losing85your progress. Follow the steps to86[create a Cloud Billing account](https://docs.cloud.google.com/billing/docs/how-to/create-billing-account#create-new-billing-account),87formally accept the standard Google Cloud Terms of Service, and88[upgrade to a standard Google Cloud project](https://docs.cloud.google.com/docs/starter-tier#upgradee).89For more information, see90[Setup for Paid accounts](https://docs.cloud.google.com/billing/docs/in-product-billing-setup#paid-setup).9192To learn more about billing tiers, see [Billing](https://ai.google.dev/gemini-api/docs/billing).9394## Delete your application9596If you no longer need your app, you can delete it in Google AI Studio97by following these instructions:98991. In Google AI Studio, go to your [Apps page](https://aistudio.google.com/app/apps).1002. In the left menu, select **Apps**.1013. Hold the pointer over the app you want to delete.1024. Click the trash can icon on the right-side of the row to delete the app.103104## What's next105106- Learn more about the [Google Cloud Starter Tier](https://docs.cloud.google.com/docs/starter-tier).107- Read about [Billing](https://ai.google.dev/gemini-api/docs/billing) in Gemini API.
Files main
Menu

Theme