Adding a GCE Project

Creating a GCE Project with Google
-----------------
If you aren't already using GCE, you must first create a Google account and GCE project at https://cloud.google.com/products/compute-engine/ . Otherwise, Cloudmin can make use of one of more existing projects, which you can manage on the Developers Console at https://console.developers.google.com/project .

Because GCE instances cost real money, you will need to enter billing information (such as a credit card number) as part of the sign-up process with Google. Charging is based on the number, size and run-time of your instances, and the number, size and lifetime of any virtual disks or snapshots.

Adding a GCE Project to Cloudmin
----------
Once you have a project, it can be added to Cloudmin as follows :

1. Go to the console at https://console.developers.google.com/ , click on your project, and then on **APIs & auth** -> **Credentials** from the left menu.
2. Click on **Create new Client ID**
3. Select **Installed application** and **Other** , then click **Create Client ID**
4. You should now see a page showing a "Client ID" and "Client secret" . These will be needed by Cloudmin.
5. Login to Cloudmin, and go to **Google Compute Engine** -> **GCE Projects** , then click **Add a GCE project**
6. Enter your Google account (typically an email address like you@gmail.com), the client ID and secret from above, and the GCE project name.
7. Click the **Create** button. On the page that appears, click the **Begin OAuth2 Enrollment** link, which will take you to a Google page on which you must authorize Cloudmin to access your account.
8. Back in Cloudmin, enter the OAuth2 code received from Google, and click the **Save** button.

Managing GCE Projects
-------------------
The details of any existing project can be changed by clicking on it on the **GCE Projects** list. Note that changing the client ID, client secret or project name is likely to break Cloudmin's access to the project though. Projects with no associated virtual systems can also be removed from that page.