Access Keys, CLI, and SDK

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Time
19 hours 19 minutes
Difficulty
Intermediate
CEU/CPE
20
Video Transcription
00:00
>> Hello and welcome back.
00:00
In this lesson, we're going to be talking about
00:00
access keys, CLI and SDK.
00:00
The learning objectives are going to be to understand
00:00
the various ways that users can access
00:00
their AWS accounts and we'll go into
00:00
a bit more detail on
00:00
the CLI and the SDK and how that technology works.
00:00
Users can access their AWS accounts
00:00
in three different ways and when you're
00:00
setting up a user within identity and access management,
00:00
you're going to need to understand
00:00
these different methods because
00:00
as you're configuring access to that user,
00:00
you will have to select which method you want
00:00
the user to engage with the AWS resources.
00:00
To start the most common way
00:00
is the AWS management console,
00:00
which is that visual graphical user interface
00:00
or GUI that we interact with on the website.
00:00
The second is the Command Line Interface,
00:00
and the third is the Software Development Kits.
00:00
The AWS management console is basically
00:00
that thing that we use when we go onto AWS.amazon.com,
00:00
we log into our account and we're on
00:00
the website and we're doing stuff in the Cloud.
00:00
If it very much looks like the user
00:00
just browsing the internet, browsing the website.
00:00
It's a web interface for
00:00
a web application that allows the user to
00:00
manage their AWS services and to be quite honest,
00:00
it's very good, it's very robust.
00:00
You can always do things in it.
00:00
There are certain things that you can do a little bit
00:00
better if you're into programming and that sort of thing.
00:00
You can do that with the CLI might be a bit better
00:00
than doing it within the management console,
00:00
but for the most part,
00:00
the Management Console allows you to do
00:00
just about everything that you need or
00:00
just about everything that most people would need.
00:00
You can set up your account for free.
00:00
We've covered a lot of this so you should know by now
00:00
a lot of the things you can do within
00:00
the management console and as we go along in this course,
00:00
you're going to get to see a lot more.
00:00
You can build servers and
00:00
databases and you can write code,
00:00
and this is very good stuff.
00:00
The AWS Command Line Interface,
00:00
otherwise known as the CLI,
00:00
is a thing that we are able
00:00
to interact with that doesn't look so pretty.
00:00
It doesn't have pictures,
00:00
and all of that good stuff but if you're
00:00
familiar with the command line for Windows,
00:00
or if you're familiar with
00:00
the terminal for Linux or Macintosh,
00:00
the Command Line Interface is what you would use
00:00
inside of those two environments
00:00
or PowerShell so three environments.
00:00
You have Command Line for Windows,
00:00
PowerShell for Windows,
00:00
or Terminal for Linux and Mac which terminal same thing.
00:00
The CLI is something that you can
00:00
use on any of those environments.
00:00
Basically, it looks like you're writing code,
00:00
like what we see here on this picture.
00:00
It looks like code, but it's not.
00:00
You're just writing commands to
00:00
the computer through the terminal
00:00
to have your computer on your local environments in
00:00
front of you engage with the cloud computers.
00:00
You can still deploy servers,
00:00
you can still upload files,
00:00
you can still delete things if you want to.
00:00
You could do all those things,
00:00
but you would need to understand
00:00
the CLI commands in order to do that.
00:00
This is a very handy tool and if
00:00
you're a techie like myself,
00:00
then you might find some enjoyments in using
00:00
the CLI versus the console
00:00
because it's quick, because it's convenient.
00:00
If you're already in your
00:00
Terminal or if you're already in your IDE,
00:00
then it's very handy to just be
00:00
able to drop a line of code or to
00:00
write a script even that engages your Cloud environment.
00:00
Sometimes you don't even have to,
00:00
you can just have the script for you.
00:00
It's very good.
00:00
The CLI is allowed direct
00:00
access to the AWS accounts through public APIs,
00:00
which are completely secure.
00:00
Everything is secure. It is the API that AWS provides.
00:00
The AWS CLI is an open-source thing so
00:00
you can find this on
00:00
GitHub through that link that I have there.
00:00
It authenticates to your environments that
00:00
your AWS account securely
00:00
using something called Access Keys.
00:00
Now Access Keys when you are
00:00
granting a user in identity and access management.
00:00
When you're granting a user CLI access,
00:00
you can grant them an Access Key,
00:00
and when you're granting them access
00:00
to interact with services in the Cloud.
00:00
The access key is what's being used
00:00
to authenticate not only to
00:00
the AWS account but so the
00:00
resources themselves. Very handy.
00:00
The AWS Software Development Kit, or SDK,
00:00
is what is being used for the specific libraries,
00:00
for applications to interact and to
00:00
function in an AWS accounts.
00:00
It enables access to AWS service
00:00
programmatically and you can
00:00
embed it within the applications.
00:00
The different languages that
00:00
are supported by this method are JavaScript,
00:00
Java, Python, PHP, Go,
00:00
Ruby,.Net, and there's
00:00
a few others as well but those are the main ones.
00:00
That about wraps up this one.
00:00
Brief but clear.
00:00
I think it's helpful to provide some context
00:00
here on the different access methods that you can use.
00:00
Again, as you're setting up users,
00:00
you're going to have a question in there and
00:00
your IAM setup process where it's going to ask,
00:00
how would you like this user to
00:00
interact with your AWS account?
00:00
And they're going to ask for SDK,
00:00
for CLI, or just the standard management console.
00:00
Be sure to select all those wastes
00:00
that you would like and play around with them.
00:00
It's also very handy.
00:00
One thing that I found to be
00:00
very helpful when preparing for
00:00
the certification is to
00:00
test out the waters with everything.
00:00
Learn it by doing.
00:00
If you do that, you'll be successful.
00:00
That wraps up this lesson.
00:00
I will see you in the next one.
Up Next