Create GCP project without organization - google-cloud-platform

I have a G Suite account. GCP created an organization automatically when I logged-in with the G Suite super admin. When I'm trying to create a project in the console, the organization is automatically chosen, even when I'm trying to choose 'No organization'.
Is there a way to create a project in the GCP console that is not under the organization?
Thanks

According to the Organization docs:
Once an Organization resource is created for a domain, all GCP projects created by members of the account domain will by default belong to the Organization resource.
To get an organizationless project, create it with an external account and give ownership to your G Suite Google Workspace account. Then remove the original owner account, and you'll have a project outside of your org.

Related

It's possible to create another organization or create sub-organization in GCP?

I have a problem when create organization in GCP. I have a secondary domain and want to use it to set an organization in GCP but I can't see how to get it. So, It's possible to create another organization or create sub-organization?
There is no sub-organizations in GCP Resources hierarchy.
Yes, you can create another organization by creating a Google Workspace (formerly G-Suite) or Cloud Identity account and associate it with a domain.
As quoted from docs:
Once you have created your Google Workspace or Cloud Identity account
and associated it with a domain, your organization resource will be
automatically created for you. The resource will be provisioned at
different times depending on your account status:
If you are new to Google Cloud and have not created a project yet, the organization resource will be created for you when you log in to the Google Cloud console and accept the terms and conditions.
If you are an existing Google Cloud user, the organization resource will be created for you when you create a new project or billing account. Any projects you created previously will be listed under "No organization", and this is normal. The organization resource will appear and the new project you created will be linked to it automatically.
You will need to move any projects you created under "No organization" into your new organization resource. For instructions on how to move your projects, see Migrating projects into an organization.

Is it possible to add an organization to an existing GCP account?

I am not being able to add an organization to an already exisiting GCP account. The account has two projects running. I created a different account in order to create an organization, because GCP would not let me add an organization in the same account. After creating the account I get the following message:
When you use only your personal account, the projects are attached to a virtual organization named "No Organisation".
If you have a domain name, you can create a Cloud Identity account and an admin user. Remove all licence on your user to pay nothing (even if you need to enroll for a free trial, do this and then remove the licences to pay nothing).
So, now you have a new user (with #domainName), but you don't have your old project. No problem, go to the organisation level, in the IAM page and grand your personal account as Organisation Admin.
Go back in your personal account and you will be able to see your No Organization project and your new organization with the same account. Now, you simply need to migrate project if you want to attach them to the new organization.
Note: it's maybe lot of new stuff and step, but I did it and it worked well. Let me know if you need more guidance!

Add cloud identity to existing Google Cloud Projects

I have 2 Google Cloud projects with GKE and various other services enabled and running.
None of those projects has an organization resource assigned. There are also many Users and serviceaccounts inside the projects that are used in production.
We use (example) adminaccount#example.com for those projects.
I would like to add Google Identity Free, so that I will be able to use Azure AD Users with SSO
So I created a new Google Identity Account with the username identityadmin#example.com which is not member of my existing Gcloud projects.
The domain (example.com) has not been verified so far.
What will I have to do to get this running with my existing projects?
I read that first I would need an organization resource, which would be created after I verify the domain.
Is it safe to do that? Will I afterwards be able to link my existing projects to this new organization without downtime and loss of existing permissions?
I don't understand how a new organization could be recognized by my existing projects, because there is no link between them.
The goal of course is not to have any downtime.
Sure, I would purchase Google support, but that's only possible If you have an organization, what I don't have.
I'm really confused and troubled.
Looking forward to any suggestions.
Many thanks in advance!
Roland
Firstly, you need to create your new organization. Start by creating a Google Workspace environment (go to https://admin.google.com and create it). You can create the org with a Google Workspace free trial and then cancel your subscription, no worry, I'm paying nothing!
Secondly, with your new Google Workspace account, and your new user, go to https://console.cloud.google.com. Here, select your organization, and go to IAM. Here add as member the user account where your project are created in the "No Organization" organisation, and grant it the role Organization Administrator
Perfect. Now, go back to your user account (freshly granted) and go to ressource manager. I use the project picker window to go there
And eventually, migrate your project. Select one project from "No Organization", click on migrate, select the Organization, and validate. That's all. No downtime
Your Cloud Identity organization is created when you finish your signup and setup steps for your Cloud Identity service
To answer your questions:
What will I have to do to get this running with my existing projects?
The simple answer is Migrate projects and billing accounts and set permissions
This documentation explains how Grant access to billing accounts and Grant access to projects
Will I afterwards be able to link my existing projects to this new organization without downtime and loss of existing permissions?
Once a Google Cloud Organization resource has been created for your domain, you can move your existing projects into the organization.
There should be NO server downtime or impact as a result of migration.
Take into consideration that the link between projects and billing accounts is preserved, irrespective of the hierarchy.
To migrate a project using you will need the following permissions: resourcemanager.projects.create on the destination organization, typically granted by the Project Creator role.
resourcemanager.projects.update and resourcemanager.projects.setIAMPolicy on the project you are migrating, typically granted by the Owner role.
You can get further information in the following link: Migrating projects with no organization
Additionally to contact support you could create a case using this link and it doesn’t matter if you don’t have an organization.

you do not have permission to create projects in this location

SOLVED:
In Google cloud platform I need to create a new project to create a new oauth credential for an app.
But it will not let me create any more projects under my organisation.
It says I do not have permission to create projects in this location.
I only have 2 projects currently and there is only 1 org. No I cannot use an exisitng project since I need to setup a different oauth consent screen.
I am the admin, with owner permissions, so there is nobody else I can contact.
I have a g suite account, so I am wondering if this is the cause. More and more Google services seem to be breaking for g suite users and only work on free gmail accounts.
You need the permission resourcemanager.projects.create. This permission is defined in the role roles/resourcemanager.projectCreator aka "Project Creator.
Add this role at the Organization level.

Is there a way to change a google cloud platform project to other GCP account?

Is there away how can i change google cloud platform to other GCP account ? Because my account has suspended via my company. Thank you
You can change a project owner, billing account or other options.
To change the organization of a project, you have to directly contact google as stated here: https://cloud.google.com/resource-manager/docs/migrating-projects-billing#migrating_projects_in_an_organization
If your project is part of an organization, you can only move the project within the organization. You cannot move the project outside the organization even if you change the owner. The owner is just a permission, not who controls the hierachy of organizations / folders / projects.
If the project is not part of an organization, you can change the owner to any Google Accounts email address. Just remember to delete the other owners. You will need ownership of the billing account also.