Cloud Code overview

Cloud Code is an extension that brings many Google Cloud services, like Google Kubernetes Engine and Cloud Run, directly into your IDE, so you can develop your applications without having to context switch. You can also code with assistance from Gemini, an AI-powered collaborator, to help you solve problems with your code, generate code for your project, and receive inline suggestions while you code.

You have support for the full development cycle of GKE, Cloud Run, and Cloud Run functions applications, from creating an app using an existing template to monitoring your deployed app's resources. Cloud Code also comes with run-ready samples and out-of-the-box configuration snippets to get you started quickly.

Cloud Code works with Google's command-line container tools like Skaffold, minikube, and kubectl, providing local, continuous feedback on your project as you build, edit, run, and deploy your applications locally or in the cloud. Cloud Code also integrates with Google Cloud SDK to provide a unified authentication experience when you develop with Google Cloud services.

While Cloud Code works with any cloud platform, it provides a streamlined Google Cloud experience. For example, you can create clusters hosted on Google Cloud, and have better integration with tools like Cloud Source Repositories, Cloud Build, and Cloud Client Libraries.

In short, Cloud Code is a powerful tool that can speed up your workflow when developing cloud-native applications. It provides a streamlined experience for the entire development cycle, from creating and deploying applications to debugging and monitoring them.

Supported IDEs

You can install the Cloud Code extension in the following IDEs:

Cloud Code is available by default in the Cloud Shell Editor.

Supported languages

Cloud Code supports the following languages:

  • Go
  • Java
  • Node.js
  • Python
  • .NET Core

To view the Cloud Code sample applications that you can use to test Cloud Code's capabilities, see the cloud-code-samples GitHub repository.

Features

This section lists all of the features for Cloud Code for VS Code that you can explore after you've installed the Cloud Code extension.

Code with assistance from Gemini Code Assist

Cloud Code integrates with Gemini, an AI-powered collaborator, to simplify development. Use Gemini Code Assist to accomplish tasks more effectively and efficiently.

Gemini Code Assist isn't auto-enabled by default. Code with Gemini Code Assist shows you how to connect to Google Cloud, select a Google Cloud project, and enable the IAM permissions, before you can begin using Gemini Code Assist.

Develop Google Kubernetes Engine applications

Create and run a new application with Cloud Code's GKE support. You can also work on an existing application, customize its YAML with Cloud Code's intelligent authoring support, and run it on any of your GKE clusters. Regardless of your workflow, Cloud Code helps you spend less time on configuration and context-switching, so you can focus on developing your app.

To learn more about Cloud Code's support for deploying to Arm and mixed-architecture GKE and minikube clusters, see Arm support.

Develop parts of a GKE application independently

Skaffold supports using modules to develop and debug parts of your application independently. Dependencies can be defined between skaffold.yaml configuration files and to specific modules.

Develop Cloud Run services

Create and deploy a new service 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.

Develop Cloud Run functions locally

View, download, deploy, and test Cloud Run functions directly from Cloud Code. Take advantage of your IDE's power to make changes to your Cloud Run functions, then deploy those changes without ever needing to leave your IDE.

Replatform Linux applications to a container

The Migrate to Containers integration with Cloud Code lets you replatform an existing application to a container using the Cloud Code extension in your IDE on a Linux machine.

Create container images

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.

Manage secrets

Protect sensitive information and keep your app secure with Cloud Code integrated Secret Manager support. You can create, view, update, and use secrets in the Secret Manager view without having them in your codebase.

Browse Cloud APIs

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.

Manage virtual machine instances

Browse Compute Engine virtual machines and their relevant properties without leaving your IDE. Connect to your VM using the terminal window and transfer files from your local environment to your VM all with Cloud Code support for Compute Engine.

Develop APIs with Apigee

Develop your API proxies and verify the capabilities through unit and manual testing using the Apigee Emulator (local runtime). Iterate through build and test cycles without impact to dependent applications.

What's next

Get Support

To send feedback, report issues on GitHub, or ask a question on Stack Overflow.