Cloud Code for Visual Studio Code
Bring the power of Google Cloud and Duet AI to help you build applications faster and easier than ever before. Duet AI, your AI-powered coding assistant helps you quickly write excellent code. Cloud Code can then help you deploy your code to your favorite Google Cloud platforms with just a few clicks.
Supporting your development workflow
Get Duet AI, Google Cloud's powerful AI Assistant, to make it easier than ever to build and deploy applications. Get run-ready sample applications, out-of-the-box configuration snippets, support for key Google Cloud Services like Cloud APIs and Google Cloud Build, Cloud Native Buildpacks, Secrets Manager, one-click deployment, a tailored debugging experience, iterative run/debug experience and much more. Cloud Code makes developing and testing your application a whole lot easier no matter where it runs!
Duet AI Assistant to simplify development
Use Duet AI, your AI-powered collaborator, to accomplish tasks more effectively and efficiently. Duet AI provides contextualized responses to your prompts to help guide you on what you're trying to do with your code. It also shares source citations regarding which documentation and code samples the assistant used to generate its responses. You can do this right in the IDE to avoid having to context-switch out to your browser or documentation. Read the docs
Google Cloud APIs at your fingertips
Browse available Cloud APIs, enable services, and install and learn how to integrate client libraries in your app without leaving your IDE and breaking your development flow, all with the API library browser. Read the docs
Develop Cloud Functions locally
View, download, deploy, and test Cloud Functions directly from Cloud Code. Leverage the power of the VS Code IDE to make changes to your Cloud Function, then deploy those changes without ever needing to leave Cloud Code. Read the docs
Create and run a new app in minutes with Cloud Code’s Kubernetes support. Or work on an existing application, customize its YAML with Cloud Code’s intelligent authoring support, debug it relentlessly with the setup-free debugger, and run it on any of your Kubernetes clusters. Whatever your workflow is, Cloud Code helps you spend less time on configuration and context-switching, so you can focus on developing your app. Read the docs
Cloud Run development
Create and deploy a new service in minutes with Cloud Code's Cloud Run support, monitoring your service's progress with the Cloud Run Explorer and service logs accessible in the Log Viewer. If you'd prefer a local development workflow, you can also develop and debug a service locally with the built-in Cloud Run emulator. Read the docs
Containerization made easy
Create secure, production-ready container images from source code without having to worry about a Dockerfile with Cloud Code's built-in support for Google Cloud Buildpacks. You get to focus on building your application, not containerizing it.
Built-in Secret Manager support
Protect sensitive information and keep your app secure with Cloud Code's integrated Secret Manager support. You can create, view, update, and use secrets in the Secret Manager view without having them in your codebase. Read the docs
Develop using Compute Engine Virtual Machines
Browse Compute Engine Virtual Machines and their relevant properties without leaving your IDE. Easily SSH into your VM using the terminal window and transfer files from your local environment to your virtual machine all with Cloud Code support for Compute Engine. Read the docs
Develop APIs with Apigee
Develop your API proxies and verify the functionality through unit and manual testing using the Apigee Emulator (local runtime). Quickly iterate through build and test cycles without impact to dependent applications. Read the docs
Apache Log4j 2 Vulnerability (Log4j 2): the Cloud Code guide to "Setting up a samples repository" linked to a demonstration project with a sample using a vulnerable version of Log4j 2. We strongly advise customers to update their samples repositories. Visit the security advisory for details and remediation.