Spotted a bug? Have a great idea? Help us improve developer profiles!

Java on Google Cloud—Foundations

Return to the home page for Java on Google Cloud.

Set up your environment

This is the first building block of your foundational knowledge. Set up your work environment. Install a Java Development Kit and the build automation tool, then install the Cloud SDK and Cloud Client Libraries for Java.

This is the second building block. Set up a simple Google Cloud project and deploy it to App Engine.

The third building block is to turn off the app you made. Knowing how to do this step means that you stop incurring charges. You can delete your Google Cloud project to stop billing for resources used within that project.



In this codelab, you deploy a Spring Boot app to App Engine standard environment on Google Cloud via the web. This environment automatically scales up and down to zero instances when not in use.


In this codelab, you set up a Cloud SQL for MySQL instance and then update a Spring Boot app to use the Cloud SQL instance as its backend storage.


In this codelab, you build and launch a Java web app created with Spring Boot from Cloud Shell without leaving the browser.


In this codelab, you use Datastore to save and retrieve Java objects in Spring Boot. Datastore is a NoSQL document database built for automatic scaling, high performance, and easy app development.


In this codelab, you write a Spring Boot app that can access files stored in Cloud Storage using the Spring Resource abstraction and the gs: protocol prefix. You use Cloud Shell and the gcloud command-line tool.



This tutorial shows how to make an HTTP request to the Vision API from a Java program. It reviews how you authenticate the request and how you access the API.

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.