Need up to 30 seconds to load.
hello guys in this video we will see how
to download
install and configure aws cli on windows
operating system open any browser and
search for aws cli
download
click on the first link that is
installing our updating latest version
of aws cli
see the aws cli is an open source tool
that enables you to interact with aws
services using commands
in our
command line shell
with minimal
configuration it also enables us to
start running commands implement
functionality equivalent to that
provided by browser-based aws management
console then click on getting started
then install our update
then windows
so we have to download this
msi file click on this first link that
is awcli dot amazon aws.com
slash aws cli version 2 dot message
see once we click done
download has been started
see download is completed once download
is completed click on this msi file
click on next check
the check box to accept the thomson
license agreement
see these are the terms in license
agreement then click on next choose the
path by clicking on
browse
i am going with default location then
click on next
click on install
says
see installation has been completed
successfully click on finish
now we can confirm the installation by
opening command prompt start cmd
open it
then aws hyphen hyphen version to check
the
aws version
see we have installed
aws cli and its version is 2.7.27
and python 3.9
after installation we have to configure
the aws with
your aws account go to your aws
management console
then click on services then search for
iam
am is nothing but
identity access management
then click on users
click on add users
then provide the name here i am giving
after schools
check
both the options
provide the custom password require
password reset no i don't want to reset
password after first login then click on
permissions if you want to create create
group or if you want to
add existing policies click on attach
existing policy
i am giving administrator access then
click on next here we have to provide
tags it's optional but not mandatory
i'm giving artists admin
then click on next
see this is the summary
username is this one access type
console password required password reset
no
okay and we have
provided this permission then click on
create user
here important point is this
access key and secret access key both
are useful to configure a wcl cli open
command prompt type adap
configure
it is asking ada based access key id
this is the access key id copy it
paste
then we have to provide aws secret
access key
this is the aw secret access key
copy
paste here and enter
now it is asking default region name by
default it has selected usb1 you can get
this access key by clicking on this
download it also contains same
information see access key id secret
access key id this is a console link to
connect with a ws management console by
using
iam user if you want to provide region
name then
go to here you can copy any of them like
if you want to if
south one then copy it and
enter here so then it will change from
us east one to
air south one
i'm going with the default one otherwise
you can use same one also used one
default output format i'm not going to
specify you can specify jsnr other
formats
press enter
we have successfully configured aws
account
let's verify list of ec2 instances aws
ec2 instances list
hyphen instances
command is not list instances
these are all available arguments for
the ec2
so we have to give
describe instances let me check
see how to give this one aws
easy to
enter
see
i have
one instance
with the name rhl8
press
enter
press
spacebar from your keyboard
see this is the another instance the id
this one and its key name is win 2019.
and its platform is windows
we can verify
the same from the management console
services then search for
ec2
see i have only two instances
see this is the instance id and for rhl
this is the instance id for windows
this is the key name
see here
key this is the key name this is the
instance id
okay
if you want to get list of im users
just give
first go to im users
i have two im users one is admin and r2
schools lets verify aws
iam
list
users
see
one is admin user another one is auto
schools see we have the same
this is the created date of this the
same way if you want to get list of the
s3 packets
then s3
apa
then
list buckets
it is giving empty bucket names because
i don't have any s3 buckets
click on s3
see i don't have any buckets let's
create
it should be unique across the aws cloud
i am giving all defaults then click on
create bucket
see we have successfully created a
bucket
now run the same command whether we will
get this bucket information or not aws
s3
api list buckets
see this time it has given
the bucket name and this is the creation
date so in this video we have seen how
to download install and configure a wcli
on windows then we have seen how to get
the list of the ec2 instances am users
and
list of the
available buckets on my aws
account for more adaptation cloud videos
please subscribe my channel thank you