You can use one project to manage all of your work, or you can create multiple projects, depending on your development and collaboration needs. Before creating a project, you should consider whether you're collaborating with a different team of people, want to track usage differently, or need to set different traffic controls for different parts of your work. If so, breaking up your work into multiple projects might make sense.
Choose a topic for information on creating, shutting down, and restoring projects.
Create a projectTo create a project:
- Go to the API Console.
- Click the projects list, then click the Create Project (+) button.
- Enter a name and edit the project ID or accept the default. (Note that the project ID cannot be changed after the project is created, so choose an ID that you'll be comfortable using for the lifetime of the project.)
-
If you already have billing accounts set up, select the billing account you want the project costs charged to. If you don't already have a billing account set up you can set it up later.
Note that you must be a billing Admin or Project Billing Manager on a billing account to associate a project with that billing account. For more information about billing account Admins, see Manage billing administrators. For information about changing or enabling a project's billing account after the project is created, see Modify a project's billing settings. You can learn about setting up a billing account at Create, modify, or close your billing account.
- Click Create.
Creating a lot of projects? Some tips:
- Creating multiple projects will not enable you to exceed API usage limits. For more information on API rate limits, see the documentation for the API you're using. For information on API limits for Google Compute Engine APIs, see API Rate Limits in the Google Cloud Platform Compute Engine documentation.
- If you reach your project quota for Google Cloud Platform, you must request more projects. Learn how at Project quota requests.
Shutting down a project in the console releases all resources used within the project. Only project owners can shut down or restore projects.
To shut down a project:
- Go to the API Console.
- Open the console left side menu and select IAM & Admin, then select Settings.
- Find the name or project ID of the project you want to shut down, then click SHUT DOWN. A confirmation screen describing what will happen appears.
- To confirm, enter your project ID and click Shut down.
Shutting down a project stops all billing and traffic serving, shuts down any Google Cloud Platform App Engine applications, and terminates all Compute Engine instances. All project data associated with Google Cloud and Google APIs services becomes inaccessible.
After a 30-day waiting period, the project and associated data are permanently deleted from the console.
Note that after the 30-day waiting period ends, the time it takes to completely delete a project may vary. For example, if a project has billing set up, it might not be completely deleted until the current billing cycle ends, you receive the next bill, and your account is successfully charged. Additionally, the number and types of services in use may also affect when the system permanently deletes a project.
Project owners can restore a terminated project within the 30-day waiting period that starts when the project is shut down.
Note: Most resources can be recovered if you restore a project within the 30-day period. However, some resources, such as Cloud Storage or Pub/Sub resources, are deleted much sooner. These resources might not be fully recoverable even if you restore the project within the 30-day period. You also might need to restart some services manually. See Restarting Google Cloud Platform services to learn more.
To restore a project:
- Go to the API Console Projects & Folders page.
- If necessary, select the organization that the project belongs to from the list near the top, left side of the page.
- Below the list of projects, click Projects pending deletion.
- Check the box for the project you want to restore, and click RESTORE. You will be prompted to confirm that you want to restore the project.
Note that you must be a project owner to delete or restore a project. Also, you should be aware that a project cannot be restored after it has been permanently deleted.