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 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 Cloud Shell Editor that you can explore.

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.

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 Functions locally

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

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.

What's next