Build Apps for Google Cloud Platform on Cloud9

By Alex Brausewetter27 January 2016

We are excited to announce that as of today, you can easily build apps for Google Cloud Platform on Cloud9! With the new integration, you can quickly create a custom workspace that is connected to your Google App Engine projects and comes pre-installed with all necessary tools and configuration out of the box.

How does it work?

Ready to see it in action? See how to set up a Google Cloud Platform project in less than 3 minutes:

The workspace stores source code on Google Cloud Source Repositories and contains the gcloud command-line tool (no need to perform additional authentication because it securely re-uses the credentials from your connected Google account). Your development environment is entirely online, allowing you to code from any machine. This means you are totally free from the burdensome hassle of managing a local environment.

Getting Started

Once you have a Google App Engine project set up (instructions here), then you can dive into Cloud9. There are a few quick and easy steps you need to follow in order to code your project in the Cloud9 browser IDE and get it deployed and running on Google Cloud Platform.

  • Step 1: Connect your accounts
  • Step 2: Set up your workspace
  • Step 3: Run a dev server to preview your app
  • Step 4: Deploy your finished app to an App Engine Managed VM

To get started, simply click here or for a step-by-step walk-though, follow the detailed instructions here.

Built-in tools and SDK

Most parts of Google Cloud Platform can be managed with the gcloud tool from the terminal. We wanted to make it quick and simple to use this tool, so we are shipping the Google Cloud SDK pre-installed on the workspace. We automatically configure the right project ID and credentials as well–there's no manual setup. This lets you start working immediately without downloading, installing, or configuring the environment. You can even tab-autocomplete commands, regions, and resource names instead of typing them.

Write, preview and deploy Java apps

With a single click, you can launch a local development server on your workspace's virtual machine, and with another click, deploy your app to Google App Engine. Since everything is running online, making apps has never been faster.

We currently offer support Java Web Applications that use Servlets and JSP and are built with Maven. They can be deployed to Managed VMs.

Over the next few weeks, we are adding support for other configurations and programming languages. If your favorite project type is not available yet, stay tuned for future updates!

Cloud9 and Google Cloud Platform

Did you know that by using Cloud9, you are already using Google Cloud Platform? All of the infrastructure that delivers workspaces, IDE, and websites is hosted on Google Compute Engine. We run a distributed network of cloud servers on three continents (U.S., Europe, and Asia) which minimizes ping times from the workspace to the browser. Google also handles networking and storage for us, keeping your content fast and secure.

To try the new integration yourself, read the step-by-step documentation. We would love to hear feedback on the Cloud9 Community.

What To Look Forward To

While we are offering support for App Engine Java-based applications, over the next few weeks, we will be adding support for additional programming languages and features. If you have questions or comments, please visit our Cloud9 Community.

Read about this from Google on the Google Cloud Platform Blog.

Alex Brausewetter

Read more posts by Alex Brausewetter.