It looks like my Cuban 80s cluster right here is still being created but there's a little bit of setup
that we can do in the meantime.
I want to give you a quick reminder that right now if we open up our terminal we can run cube TTL get
pods and when we do so we're going to see some information about the cluster on our local machine.
Now here's something interesting.
How do we somehow connect to the cluster that we just created in Google Cloud.
Well to access different clusters we're always going to end up using the same cubes EDL command behind
the scenes there's some configuration options that are being applied to cube Seitel when we change those
configuration options is going to change which cluster we are connecting to.
Let me show you a diagram just help you understand.
All right.
So quick diagram right here so on our local machine we are currently running cube Seitel behind the
scenes cube Seitel uses something called context context can be thought of essentially as some different
connection settings they list out some authorization credentials some users some IP addresses a lot
of different information to tell cube Seitel how to connect that to different clusters that exist in
the world right now we are connecting to our local cluster through a context was created when we first
installed Docker for Windows or Docker from Mac on your machine.
As a matter of fact if you go to your Docker icon right now and then mouse over Cuban eddies you'll
see something it says context right there in our current context is Docker dash desktop so this context
right here has some connection settings inside of it to tell us how to connect to our local cluster
we need to add in a second context a new context that's going to tell cube Seitel how to connect to
the cluster that we just created in Google Cloud there's two ways we can do this we can either use the
Google cloud dashboard over here and go through a series of different menus to find some little config
that we would copy paste into a file on our local machine that would be one way to add the context another
way that is a lot easier is to instead install a tool called the Google cloud SDK this is a command
line tool that we can use to interface with Google Cloud automatically the Google cloud SDK does a ton
of different things but one thing that it does for us is create these different contexts for us automatically
and update cubes GTL on our look machine and teach it how to connect to the clusters that we are creating
in Google Cloud so we are now going to install this Google Cloud SDK and it's going to automatically
manage these context things for us to install the Google cloud SDK we're gonna go to the address you
see right here on the screen now these URLs of course break every now and then.
So if you try to go to that to this address and it doesn't work well you have to do is do a quick google
search for Google Cloud SDK and you'll see a link come up for it right away it's going to take that
your URL and visit it inside of a new tab will then be prompted here with installation directions for
a variety of different operating systems.
So as you'd guess.
Just go ahead and select your appropriate operating system and it will show you some installation directions.
Now in every case there's going to be kind of a series of different installation parts in here.
So you'll see a one that says something like before you begin.
Those will be some steps to do initially and then eventually it'll have something about initialize the
SDK.
You do not have to initialize the SDK just yet.
You and I are going to do that together in the next video.
So all you have to do is go through the process of installing the SDK and then going through any additional
steps that it recommends such as this optional one right here to get access to the cloud SDK very easily
through your terminal.
Again you do not want to run the cloud in command.
We're going to do that together in just a moment.
All right.
So go ahead and install this thing.
We'll come back the next video and we'll go to it initialization process together.