Creating an application in the App Engine standard environment

Cloud Tools for Eclipse provides a wizard inside Eclipse to create new applications for the App Engine flexible environment.

Before you begin

  1. Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
  2. In the Google Cloud Console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  3. Make sure that billing is enabled for your Cloud project. Learn how to confirm that billing is enabled for your project.

  4. Enable the Cloud Build API.

    Enable the API

  5. Install and initialize the Cloud SDK.
  6. In the Google Cloud Console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  7. Make sure that billing is enabled for your Cloud project. Learn how to confirm that billing is enabled for your project.

  8. Enable the Cloud Build API.

    Enable the API

  9. Install and initialize the Cloud SDK.
  10. Create an App Engine application for your Cloud project in the Google Cloud Console.

    Open app creation

  11. Select a region where you want your app's computing resources located.

  12. Ensure you have the latest version of Cloud Tools for Eclipse.

Creating a flex application

To create an application for the App Engine flexible environment:

  1. Click the Google Cloud Platform toolbar button .

  2. Select Create New Project > Google App Engine Flexible Java Project....

    The New App Engine Flexible Project wizard displays.

    A dialog box to create a new Eclipse project for the flexible
 environment. It provides a field to enter a project name. It has a checkbox
 to save files in the default location or a field to enter a new location.
 It provides a field to enter a name for the Java package and the App
 Engine service. It provides a checkbox to create the project as a Maven
 project, and fields to enter the Group ID, Artifact ID, and version.

  3. Enter a Project name for your application.

  4. If you want, enter values for the optional fields:

    1. Enter a Java package name.

    2. Select the Create as Maven project checkbox to generate a pom.xml and configure the Eclipse project to use the Maven builder.

    3. Enter the Group ID and Artifact ID for your Maven project.

  5. Click Next.

  6. Select any libraries you need in the project.

  7. Click Finish.

    The new application appears in the Eclipse Project Explorer.

What's next