Category
😹
FunTranscript
00:00Hello everyone, so in this video, we will see how we can create a project in a Google
00:11Cloud.
00:14So first thing is what is project here.
00:17So to illustrate the concept behind the projects and what is the important role the projects
00:22plays while creating the different GCP resources.
00:27So I want you to point out at this particular documentation inside the Google Cloud, a resource
00:34hierarchy.
00:36So just focus upon this particular diagram.
00:40So here it says that in a complete resource hierarchy inside the Google Cloud, we have
00:47a top level root node is an organization.
00:51So let's say your organization, some XYZ bought a Google Cloud account, or I would
00:58say created a Google Cloud account.
01:02Under that, you have a number of departments, so you can consider it like folders.
01:07So let's say department will be HR department, maybe finance department.
01:14So different teams are situated inside all those departments.
01:19So maybe finance department has a team A, team B, and all of those teams working on
01:26one or multiple products.
01:28So let's say some particular team is working on product one and product two.
01:33So till that time, everything resides inside the Google Cloud as a hierarchy, like inside
01:40the organization, we have a number of folders and this folder hierarchy can go very long.
01:47Here it has shown just the tree level depth.
01:50So depending on the organization structure in your company, you can create such a kind
01:55of folder hierarchy and you can manage all your GCP resources and projects.
02:00And after that comes a very important part, which is nothing but projects.
02:05So all those product application you create that has been assigned to some kind of projects.
02:12So let's say you are developing some product, product one, and your team who is developing
02:19product one, they need to create a project.
02:22So let's say we have a dev level project, we have a testing level project, and we have
02:26a production level project.
02:28Now these projects you can divide and classify in any of the way, but this project is a part
02:36of those folders only.
02:39And everything you create inside the Google Cloud, that is a part of projects.
02:44So whether you create a compute engine instances or you create some kind of, let's say, BigQuery
02:52analysis or some cloud PubSub or you deploy some web application inside the Google App
02:57Engine, everything has to be part of some projects.
03:02So at the very top level, the root node is organization.
03:07But from the development perspective, everything has to be associated with some kind of projects
03:13only.
03:14Alright, so what we will do, let's just go to cloud console and I am already having one
03:24Google Cloud account.
03:25So just go to console.cloud.google.com.
03:31And I'm going to log in with this ID gcptutorial.2020 at gmail.com.
03:38Let me provide my password next.
03:43And it will redirect me to the dashboard of Google Cloud console.
03:48Now on a very top panel bar, you can see there is by default one project has been associated,
03:56which is nothing but my first project.
03:57Now, when you click upon it, the three tabs are appeared.
04:01So one is starred, which is previewed.
04:03Don't worry about it as of now.
04:06And we have all.
04:07So all those projects will be listed here.
04:09Now how this my first project came?
04:13So my first project got created with a name, always my first project when you create your
04:20Google Cloud account.
04:22So in your case also, when you first time create a Google Cloud account, by default,
04:26this project got created.
04:28Every time you will be able to see this name only.
04:32But along with that, there will be a different ID because this project ID has to be unique
04:37globally.
04:38All right.
04:39So that is about the project.
04:41Now you can see we have seen about the hierarchy.
04:43So first in a top level node, we have an organization that we have folders, projects.
04:49Now in this particular case, we don't have any kind of organization.
04:53And that's why it has written like a no organization and under the no organization, I have projects.
04:58I can create even multiple projects also.
05:01In the meanwhile, I'll show you how to create new projects.
05:04But here we don't have any kind of folders.
05:06We don't have organization.
05:07So what's going on?
05:09So what I want to point out that this is like a free trial account.
05:14So free trial account, which is available for me for the next 90 days, having to spend
05:20close to $300 credits.
05:22So with free trial, you just cannot create those organization node.
05:28So that's why inside the no organization, by default, one project got created.
05:32My first project.
05:34All right.
05:35So what we can do, we can create a new project and then we can try to compare this new projects
05:41with our my first project.
05:44So what I will do to create a new project, I can just simply click on new projects and
05:48it will redirect me to the forms through which I can create a new project.
05:53And you can see I am inside the new project form screen.
05:57They have given one indication that you have 10 projects remaining in your quota.
06:02So already there is one project and you can always request to increase and delete some
06:07projects.
06:08You can manage quota from here.
06:09But there are other places also from where you can just navigate and land up to exactly
06:15same screen.
06:16So this is one way just directly you can go to home and from projects you can create a
06:24new projects.
06:25All right.
06:26There is other way like on a top panel bar, there is search products and resource.
06:33So projects also one kind of resource.
06:35So what you can do.
06:40Create projects.
06:42Just search for Yes, we got very first one.
06:46Create a projects.
06:47Now when you click upon it, anyhow, you are going to land up into same screen.
06:52And if you want to go from this navigation menu, you can go to navigation menu and from
06:59I am.
07:00So on the left hand side, hamburger menu, when you click upon it, you will be having
07:05a I am an admin.
07:06So identity and access management.
07:09And here we have a create projects.
07:11So there are multiple ways you can land up to this particular screen.
07:16So here there is only one thing we need to give like a project name.
07:21So by default, Google has given one suggestion that you can keep this project name.
07:25So what we are going to do, let's give Learn GCP-ACE Guide.
07:36So that is our new projects.
07:38Now moment you give the project name, there is a by default project ID and Google has
07:44given us one warning that it cannot be changed later.
07:49Now here there is a location.
07:52So under which organization you want to create this project.
07:56But as I told you, we are inside the free trail account, so you just cannot create anything
08:00inside the particular organization.
08:04Instead of that, every time you have to select no organization only.
08:08So let me select no organization and our project name is Learn GCP-ACE Guide.
08:14Now this project name can collide with any other project name available across the globe.
08:20So let's say you create the project, which is also having the same name, but this project
08:26ID has to be unique.
08:28So let's say if I give some common name like a test, definitely someone might have created
08:34this test project name.
08:36So Google has immediately given us some unique project ID associated with that.
08:41Still, you can always keep your project name test, but your project ID will be unique.
08:46Apart from this project name and project ID, there is one more identity associated
08:52with the projects like a project number.
08:55So I'll show you what I'm going to do.
08:59Project name and let's just press create.
09:02And you can see in notification, we are giving one indication that it started creating projects.
09:09So it will take a few seconds.
09:11Yes, project got created.
09:14And now if you go to top panel bar, we have two projects are available.
09:19So you can go to all and still project got yes, project got created.
09:24We can always select this particular project.
09:27And now we are inside another project.
09:30So now you can understand the importance of projects that everything you are going to
09:34create has to be associated with some project.
09:37And there is a billing account also got associated with projects.
09:40Later on, we will see about that.
09:43Now we are inside our newly created projects, Learn GCP-AC-Guide.
09:49And you can see we have a project's name.
09:53Corresponding to project name, there is looks like a very unique across the globe.
09:57So Google said that let's just keep project ID also as it is like Learn GCP-AC-Guide.
10:04And corresponding to this project, there is a one project number got associated.
10:10So this project number generally as a developer, as outside person, I would say we are not
10:15going to use it, but Google internally using it.
10:19Now if you go to project setting, there is few more parameters are associated with the
10:25projects.
10:26You can do it like as we have project name.
10:29So obviously, always you can change the project name.
10:32Let's say I'll just make it Learn GCP-AC-Guide 23.
10:38Still project ID remains the same and project number.
10:42Now when you try to edit this project ID and project number, you just cannot do it.
10:46But project name always you can do it.
10:48So let me just save it.
10:50And now we have renamed our project successfully from this Learn GCP-AC-Guide to those 23 number
10:58got appended.
10:59Now you can see on a top panel bar also, always you go to all or from the recent also you
11:04can select it as we have very few projects are available.
11:07We can immediately navigate from here.
11:10Alright.
11:11Now, other things what you can do is like a shutdown project.
11:14So moment you shut down the project, every single resources, everything has been associated
11:19that will be automatically get shut down.
11:22Alright, so that is about how we can create a project inside the Google Cloud account.