• 4 months ago

Category

😹
Fun
Transcript
00:00Hey everyone, the next topic is cloud SDK.
00:05But before that, I want to remind something that there are two ways we try to access Google
00:12cloud resources.
00:13One is through web console way and inside the same web console application, we try to
00:19access the GCP resources through cloud shell, a complete full-fledged Linux machine.
00:27But let's say this cloud shell or I would say Google cloud web console application itself
00:34is down and you want to still provision the resources.
00:38There is other way available inside the GCP, which is nothing but a cloud SDK.
00:43And this cloud SDK is useful to interact with the Google cloud products and a service.
00:50So, it has all those tools and libraries are available to interact with the GCP resources.
00:57It is available for all three major operating systems like a Windows, Linux and a Mac.
01:03And in this video, I'm going to show you how you can install it on your Windows machine,
01:08this cloud SDK.
01:09And from this Windows based cloud SDK, we try to interact with one of the services,
01:15Google cloud storage.
01:18And if you want to know more about this cloud.google.com slash SDK, you can go to know more about
01:24the SDK.
01:25So, let me just switch to my browser and let's just go to cloud.google.com slash SDK.
01:37Inside the key feature, they have listed these three things.
01:40So, if you want to know more feature, you can always visit this one.
01:45Like all the features.
01:46So, it has all those client libraries.
01:48So, if you want to interact with the GCP resources from Python, Java, .NET, you can do it from
01:54here.
01:55It has a gsutil.
01:56So, gsutil is nothing but interacting with the Google cloud storage, which we have interacted
02:02directly from the cloud shell also.
02:04Now, once we install the cloud SDK, this is also part of cloud SDK.
02:09So, we can directly interact directly from your local machine.
02:14And we have bq to interact with a BigQuery, kubectl.
02:17So, kubectls are to interact with a Kubernetes cluster, we have a cloud shell.
02:24So, cloud shells provide you with a command-line access to your cloud resource directly from
02:29your browser.
02:30You can easily manage your project's resource without having to install this cloud SDK or
02:35other.
02:36Now, with cloud shell, the cloud SDK command-line tool and other utility you need is always
02:42available up to date.
02:43So, they are saying that whatever is available in a cloud shell, all those command-line utility
02:49is always available with up-to-date version.
02:53And the last one will be pricing.
02:54So, cloud SDK is available at no charge.
02:57So, Google is not going to ask for any charges pricing for this cloud SDK.
03:04Alright.
03:05So, the next thing is we need to install it on our local machine.
03:09So, let me just search for cloud SDK install.
03:16And mostly, very first link will appear like Installing Google Cloud SDK.
03:22You can see here they have written the instruction to install this SDK on major operating system
03:27like Windows, Mac and we have a few Linux distribution also.
03:33In this video, we are gonna focus upon Windows, so what I am gonna do, open the PowerShell
03:38terminal.
03:39So, PowerShell and let me just select this command.
03:45So, it will download it and install it in your local machine.
03:50If you want to change this dark theme to see the code level stuff, you can always use it.
03:57And this is the small double icon available like a double rectangle on over paste each
04:04other.
04:05So, that will be a copy code sample.
04:07So, it's got copied.
04:09Let me open the PowerShell and let me right-click and paste it.
04:14Alright.
04:15So, this part is to, first command is to download this cloud or Google Cloud SDK installer.exe
04:24and next one is to actually install it.
04:26So, let me just press next.
04:29I agree.
04:30I want to install for all users.
04:32Let me just continue with the next.
04:35Allow.
04:36And where is your destination folder that where exactly you want to install it.
04:40So, let's just keep it with the default location inside this C drive, Program Files, Google
04:47and Cloud SDK.
04:49Next.
04:50And install it.
04:51So, it will download few more stuff and extract it, install all those components.
04:57So, it is going to take a little bit more time, so I'm just fast-forwarding my video
05:02till this installation will complete.
05:06Alright.
05:07So, Cloud SDK has been I guess successfully installed.
05:14There is a one notification here, press next.
05:18And I'm just going to deselect every single chat box.
05:22And we are gonna start this Cloud SDK from command line.
05:26So, I can interact with different resources and start this Cloud SDK, G-Cloud utility
05:36from PowerShell also or from your Windows command line prompt also.
05:40So, I'm gonna continue with this CMD.
05:44And to know whether it is successfully installed or not, let me just type G-Cloud.
05:50So, we will have an idea.
05:53Yes, they have given a very nice suggestion.
05:57That means it is successfully installed.
05:58Let me just make this shell little bigger.
06:01Press Q to come out from here.
06:04So, G-Cloud successfully installed.
06:06We can try with G-Cloud, hyphen, hyphen versions.
06:13Yes, so G-Cloud, Cloud SDK installed, G-Cloud that means installed, BQ installed, Google
06:20Cloud SDK core code installed, GSUtility is also installed.
06:24Alright.
06:25So, successfully we have installed this Google Cloud SDK in your local machine.
06:31Next thing we will see, next we will see how we can interact from this SDK to the various
06:37services available in a GCP.
06:40See you in the next video.

Recommended