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 Duet AI, 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 and Cloud Run 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 IntelliJ that you can explore after you've installed the Cloud Code extension.

Code with assistance from Duet AI

Cloud Code integrates with Duet AI, an AI-powered collaborator, to simplify development. Use Duet AI 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.

Run your GKE and Cloud Run applications in watch mode

Cloud Code lets you quickly apply changes to your application during a development or debug session for a faster feedback loop. This lets you run your Kubernetes and emulated Cloud Run sessions in watch mode.

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.

Migrate your App Engine application

Migrate your App Engine application to Cloud Code, where you can run and debug locally for applications in the standard environment, and deploy applications in either the standard or flexible environment.

Connect to a Cloud SQL database

Run Cloud SQL Auth proxy to connect to a Cloud SQL database, view Cloud SQL instances, and create new data sources.

What's next

Get support

To submit feedback or report an issue in your IntelliJ IDE, go to Tools > Cloud Code > Help / About > Submit feedback or report an issue to report an issue on GitHub, or ask a question on Stack Overflow.