Creating and Connecting VM on Google Cloud Platform (GCP)

Python AI and Machine Learning for Production and Development Provisioning VM on Leading Cloud Platforms
11 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
This is a free item
$0.00
د.إ0.00
Kz0.00
ARS$0.00
A$0.00
৳0.00
Лв0.00
Bs0.00
B$0.00
P0.00
CA$0.00
CHF 0.00
CLP$0.00
CN¥0.00
COP$0.00
₡0.00
Kč0.00
DKK kr0.00
RD$0.00
DA0.00
E£0.00
ብር0.00
€0.00
FJ$0.00
£0.00
Q0.00
GY$0.00
HK$0.00
L0.00
Ft0.00
₪0.00
₹0.00
ISK kr0.00
¥0.00
KSh0.00
₩0.00
DH0.00
L0.00
ден0.00
MOP$0.00
MX$0.00
RM0.00
N$0.00
₦0.00
C$0.00
NOK kr0.00
रु0.00
NZ$0.00
S/0.00
K0.00
₱0.00
₨0.00
zł0.00
₲0.00
L0.00
QR0.00
SAR0.00
SEK kr0.00
S$0.00
฿0.00
₺0.00
$U0.00
R0.00
ZK0.00
Already have an account? Log In

Transcript

Hello everyone. In this video, we are going to see how to provision your Python AI and machine learning kit from Google Cloud or GCP, Google Cloud Platform. So there are a couple of ways to do that. One way is you can go to our website decorators dotnet, you can click on products, and it will list all the products we have. And you can select Python and machine learning suite. And then click on Get it on Google Cloud.

Before we proceed, This video covers how to provision the virtual machine on Google Cloud. But if you prefer other cloud providers, like azura, and AWS, we have this VM available on those cloud platform as well. And we have separate videos on the steps to provision this VM on those clouds. Okay, so if GCP is not your cloud, provider, you can skip this video and refer to the respective videos for your cloud provider. Alright, so for the folks who are going to provision it on GCP, you can click on Get it on Google Cloud. It will take you to our VM listing on Google Cloud marketplace over here.

And from here, you can provision it. The other option is you can go to the Google marketplace, just search for GCP marketplace. You can go to the marketplace and just search for tech latest dotnet. So here explore marketplace. And on the marketplace, then you can search for in the search solution. You can search for TechNet is dotnet.

It will list all our offers or there and we can select by on a Machine Learning Kit. So these are the two options. One is you can go from our website, it will directly take you to the launch page or you can search on the marketplace. Okay. Now here you can click on launch on Compute Engine, you need to select the project I selected one project where I want to deploy it can give it some name. So just make it take the default one, the zone where you want to deploy it.

By default, it will get deployed on this two virtual CPU machine and one standard. That is enough for you to get started with this one. But if you want to have more beefy machine, you can always select the one you want to have. In the boot disk go with the default one the 15 gig disk boot disk It comes with again for the networking go go further default options. And for the firewall unite needs three ports to be open 22 for your SSH 3389 for remote desktop and Port 80 for those web interface which is ipython or Jupiter hub interface, okay, so take all the default, and then you can click on deploy. One more thing is Yeah, I think that's, that's all good.

So you can click on deploy and then your machine will start provisioning in the cloud environment. So while the VM is getting deployed, there is this getting started guide here you can see which has more instructions on the next steps once the machine is up and running. The same steps are covered In this video as well. But to summarize here, what you need to do is, once the machine is up and running, you need to connect it and then change the password. Okay, so in your browser, you can use this SSH over here, right? So you can select Open a browser window, it will open a browser window, it will connect to the VM, but it will connect with your different user ID.

And this VM is configured based on this user ID called Open. So what you need to do is you need to configure the one to user you need to set the password for the open to user. Okay, so these steps are talking about that. I am covering the same steps over here. So here you are logged in. And then what you need to do is you need to run this command sudo password a window.

And then you can set the password for one two user Should we go for two years, good password, your password is set, then you're on. So this is one way you can access you can then do switch user Ubuntu. It will ask you for those password. Okay, and it got connected. Okay, this VM comes with a shell called fish friendly interactive shell. The advantage of using this shell fish shell is that it autocompletes a lot of your commands.

It also has a good way of recommending commands and it keeps history of all your commands so you know you will find this shell helpful. So this is one way you connect to your VM if you prefer using the shell or Command Prompt. The other ways you can also use the you can also use the desktop environment, the remote desktop environment. So the VM has a pre installed techstop environment. In order to connect to the desktop environment, what you need to do is click on this back arrow, it will take you to the homepage for your deployment. Now you click on your VM and here you can get the public IP not here.

Sorry, my man, let me close this. You can search for Compute Engine. Go to the Compute Engine page. On the Compute Engine page, you will have your VM running. So open this VM from here. And now you can see there will be a public IP.

Okay. external IP so Copy this external IP. So this is one way or at the Compute Engine page itself, your virtual IP, sorry, external IP is displayed. So copy this and then go to, if you're on the Windows environment, just search for remote desktop and on this remote desktop copy this IP address or it's not getting copied. For some reason it's not getting covered. Let me just type it find a one on one.

Click on Connect. It will prompt you for this you can take this box click on yes and you will get connected to the desktop environment. So now by connected to the remote desktop, it will prompt you for user ID and password. For the same user ID password. User ID must be a boon to and password can be whatever you configured it. And here you are, you are now connected to the virtual environment.

You know it has your folder over here and other setups, we get into detail about what each of those set of BS and you know how you can use the VM in our subsequent videos. So this is the second method we had one was through the browser command prompt, where we change the password. The second one is this remote desktop. And then let's, let's see the third one. The third one is this VM comes with a Jupiter hub or ipython environment which is up and running by default. So you can use your public IP, just copy this public IP and then open it In a browser and it should come up with this and then here Also, you can log in with the user ID and password.

Okay. So now so this Jupiter hub will provision an IPython notebook for you, we will, we are going to have a separate video explaining what Jupiter hub is and what it is and how to use that. So at this point, you are logged in and you can see that by default it takes you to your home directory where you have this folder called Python machine learning book second edition, because this VM is based on that. And here you can see there is coal dogs images README and so on how to use that we have a separate video for that. At this point, just know that in the code folder, you have all the code for various topics on AI and machine learning. Okay, folks, so just to revise.

In this video, we covered how to use our How to reason by taniya and machine learning kit from Tecla test on Google Cloud Platform for GCP for AWS, and also we have separate videos. So the steps where you went to tech laters dotnet, you went to products. you selected out a machine learning product over here, and then you clicked on, get it on Google Cloud. Okay. The other option is you can go to the Google marketplace search for particular test and select the VM. And from there we followed the instruction, created the VM and got it provisioned.

After that we reset the password and then after that, We connected it through the remote tech stop using the public IP and also connected through the browser using the Jupiter environment. So thanks a lot folks for watching. Have a nice day.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.