Creating projects

  1. Home
  2. Creating projects

Go back to GCP Tutorials

In this we will learn about managing and creating projects.

For deploying your app on App Engine, you must create a Google Cloud project, which is a top-level container that holds your App Engine application resources as well as other Google Cloud resources. In this task, you create a Cloud project and an App Engine application to store settings, computing resources, credentials, and metadata for your app.

Creating a Cloud project

Use the Cloud Console to create the required resources for your app:

  • Firstly, create a new Cloud project in the Cloud Console.
  • Secondly, enter a name for your Cloud project and click Create.
    • However, remember the project ID, shown under the Project name field. The project ID is important because it is used to identify your project to the Google Cloud tools.
  • Thirdly, enable App Engine for your Cloud project.
  • Then, select a region where you want your app’s computing resources located.
    • After you create your App Engine app, you cannot change the region. To reduce latency, choose the region closest to your app’s intended users.
  • Lastly, enable billing for your project.
Identifying projects

To interact with Google Cloud resources, you must provide the identifying project information for every request. A project is identified by its project ID and project number.

However, to get the project ID and the project number:

  • Firstly go to the Dashboard page in the Cloud Console.
  • Then, click the Select from the drop-down list at the top of the page. In Select from the window that appears, select your project.
Google Associate Cloud Engineer free practice tests
Get an existing project

You can get an existing project using the Cloud Console or the projects.get() method.

To view a project using the Google Cloud Console:

  • Firstly, go to the Dashboard page in the Google Cloud Console.
  • Secondly, click the Select from the drop-down list at the top of the page. In the Select from the window that appears, select your project.
Listing projects

You can list all projects you have access to using the Cloud Console or the projects.list() method.

To list projects using the Google Cloud Console:

  • Firstly, go to the Cloud Console.
  • Secondly, all your projects are listed in the projects drop-down on the top bar. Use the Search projects and folders textbox to filter projects.
  • Lastly, to list all your projects, click Manage Resources. Use the Filter by name, ID, or label textbox to filter your projects.
Updating projects

You can update projects using the Cloud Console or the projects.update() method. Currently, the only fields that can be updated are the project name and labels. You cannot change the project ID value that you use with the gcloud command-line tool or API requests.

To update a project’s field using the Cloud Console:

  • Firstly, open the Settings page in the Google Cloud Console.
  • Secondly, at the top of the screen, click the project selection drop-down list.
  • Thirdly, on the Select from the window that appears, click the organization drop-down list and then select your organization.
  • Then, select your project from the list that appears.
  • Next, to change the project name, edit the Project name, then click Save.
  • Lastly, to change labels, click Labels on the left nav.
Creating projects Google Associate Cloud Engineer Online course

Reference: Google Documentation, Doc 2

Go back to GCP Tutorials

Menu