GoogleCloudPlatform / cloud-code-vscode

Cloud Code for Visual Studio Code: Issues, Documentation and more
Other
420 stars 112 forks source link

Cloud Code for Visual Studio Code

Cloud Code for VS Code brings the power and convenience of IDEs to cloud-native application development. Cloud Code integrates with Google Cloud services like Google Kubernetes Engine, Cloud Run, Cloud APIs and Secret Manager, and makes you feel like you are working with local code.

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

E2E workflow

Key Features

Supporting your development workflow

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 with Kubernetes and Cloud Run a whole lot easier!

Read more ### Highlights - Pick your preferred language with Cloud Code’s support for Go, Java, Node.js, Python, and .NET Core app development. - Get straight to developing with Cloud Code’s simplified authentication workflow that uses your Google Cloud credentials. - Monitor your app with streaming logs and customize the output with additional filters to produce results that are meaningful to you.

Kubernetes development

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 more ### Highlights - Get started with built-in ready-to-run starter Kubernetes apps for your favorite languages and frameworks. [Read the docs](https://cloud.google.com/code/docs/vscode/creating-an-application) - Maintain an efficient development workflow with Cloud Code’s rapid edit, package, and deploy to cluster loop; see your edits reflected in your app in real-time! [Read the docs](https://cloud.google.com/code/docs/vscode/running-an-application) - Browse and manage your Kubernetes resources from within your IDE with the Kubernetes Explorer. Just right-click and select an available action for your resource, no complex CLI commands necessary. [Read the docs](https://cloud.google.com/code/docs/vscode/using-the-kubernetes-explorer) - Create a remote Kubernetes cluster with Google Kubernetes Engine, EKS, or AKS, or work with a local cluster, either the integrated minikube cluster or a Docker Desktop local cluster, to run your app. [Read the docs](https://cloud.google.com/code/docs/vscode/adding-a-cluster) - Set breakpoints, inspect variables, and perform other debugging tasks with integrated debugging support and without having to manually set up configuration. [Read the docs](https://cloud.google.com/code/docs/vscode/debug) - Make easy work of setting up and customizing Kubernetes configuration files with Cloud Code’s YAML authoring assistance with out-of-the-box solutions for common schema, support for Custom Resources (CRDs) like Istio and Knative, smart completions, syntax coloring, documentation on hover, and linting support. [Read the docs](https://cloud.google.com/code/docs/vscode/yaml-editing)

Cloud Run development

Create and deploy a new service in minutes with Cloud Code’s equally robust 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 more ### Highlights - Deploy a service to Cloud Run, customizing your deployment platform and build settings along the way, from within your IDE. [Read the docs](https://cloud.google.com/code/docs/vscode/deploying-a-cloud-run-app) - Locally debug your service via the Cloud Run emulator and perform tasks you normally do when debugging local code as you develop your app. With Cloud Code’s fast iterative development, you can automatically redeploy changes to the emulator as you make them. [Read the docs](https://cloud.google.com/code/docs/vscode/debugging-a-cloud-run-app) - Monitor the status of your Cloud Run services as well as their revisions and essential properties with the Cloud Run Explorer. [Read the docs](https://cloud.google.com/code/docs/vscode/cloud-run-explorer)

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

Google Cloud APIs at your fingertip

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

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

Resources

Security Disclosures

Please see our security disclosure process. All security advisories are managed on Github.

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.

Cloud Code telemetry overall is handled in accordance with the Google Privacy Policy. When you use Cloud Code to interact with or utilize GCP Services (including via Cloud SDK), your information is handled in accordance with the Google Cloud Privacy Notice