Stay organized with collections Save and categorize content based on your preferences.
Caution: As of January 31, 2024, Java 8 support for App Engine has ended, and will be deprecated on January 31, 2026. As a result, Cloud Code disables App Engine by default. To enable App Engine in your IDE, navigate to Settings > Google Cloud Code > App Engine. Due to the upcoming deprecation of App Engine, we don't recommend creating new App Engine projects. For more information about App Engine deprecations, see Feature deprecations. For more information about the runtime support schedule for App Engine, see Runtime support schedule.This document describes how to deploy an App Engine application to the App Engine flexible environment from within IntelliJ IDEA.
Note: The following IDEs support this feature:Follow the Create an App guide to install and set up Cloud Code as well as create an App Engine app for the flexible environment. Be sure to add App Engine flexible framework support.
If you don't have an application but still want to try these deployment procedures, download the sample app:
Clone the Spring Boot sample app to your local machine:
git clone https://github.com/spring-guides/gs-spring-boot
In IntelliJ, choose File > Open to open the file selector.
Navigate to /gs-spring-boot/
.
Select the /complete/
directory.
Click OK.
Choose Tools > Cloud Code > App Engine > Deploy to App Engine.
Confirm the server configuration:
Click the ellipsis (...) next to the Server field.
In the dialog, verify that the Name field displays Google App Engine.
Click OK.
Select the Deployment source.
Cloud Code for IntelliJ supports deploying from a Maven artifact, an IntelliJ-specific artifact, or a filesystem JAR or WAR file.
Select a project in the Project field.
The first time you configure the deployment, you will be prompted to sign in to the account associated with the Google Cloud console project that you want to deploy.
In the App Engine Flexible Configuration section, select a valid app.yaml
file.
app.yaml
file in the drop-down menu, click Edit to select a file. See the Update the App Engine flexible configurations section for more information.Fill in other fields as needed to configure the deployment.
Click Run to build and deploy your app.
In the Application Servers window, click the name of your project to monitor its deployment progress. If the window is not displaying, click View > Tool Windows > Application Servers.
After deployment completes, you can view your app's URL in the console output.
You can modify your app.yaml
file to deploy your app to a custom runtime using a Docker file.
In your app.yaml
file, set your runtime to custom.
As you complete the creating the deployment configuration steps, the App Engine Flexible Configuration section displays the path to your app.yaml
and Docker file.
Click Edit to select valid app.yaml
and Docker files.
Click the ellipsis (...) next to the app.yaml
and the Dockerfile Directory fields to navigate to the appropriate files.
Click OK.
After creating the initial deployment configuration, you can make changes to those configurations as needed by your application.
Select File > Project Structure.
The Project Structure dialog displays.
Under Project Settings, select Facets.
Select the App Engine flexible facet.
To select an app.yaml
file, click the ellipsis (...) next to the app.yaml field to navigate to the location of a valid file.
If you deploy to a custom runtime, click the ellipsis (...) next to the Dockerfile directory field to navigate to the location of a valid file.
Click OK.
If you ever want to delete the server you configured for your project, you can do so as follows:
Choose File > Settings > Build, Execution, Deployment > Clouds.
On macOS, this is IntelliJ IDEA > Preferences > Build, Execution, Deployment > Clouds.
Select your server (App Engine) and click the minus sign (-) at the top of the window to remove it.
Click OK.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["Cloud Code in IntelliJ IDEA supports deploying Java applications to the App Engine flexible environment."],["App Engine Java 8 support is ending soon, with deprecation scheduled for January 31, 2026, leading Cloud Code to disable App Engine by default."],["Deployment can be configured using a Maven artifact, IntelliJ-specific artifact, or a filesystem JAR/WAR file, with the process beginning with selection of your deployment source in the \"Deploy to App Engine\" configuration."],["You can deploy to a custom runtime by modifying your `app.yaml` file and referencing a Dockerfile in the App Engine flexible configuration section."],["The server configuration for App Engine can be deleted from the \"Clouds\" settings within IntelliJ IDEA."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4