08-Jun-2021 - Iam and VPC
08-Jun-2021 - Iam and VPC
------------------------------------------------
To connect from CLI, We need to provide Access Keys and secret key.
Now, goto dashboard , "Delete your root access keys" is not tick.
select " Download the AWS CLI MSI installer for windows 64 bit"
download and run the file.
Once the CLI is intalled, we can see it in control panel -- uninstall program
We can see "AWS Command line interface" ( Just observation )
+++++++++=
Open command prompt
+++++++++++++++++++++++
From the console, create 2 buckets.
We can see the list of buckets from command line
under Examples
aws s3 ls
++++++++++++++
under available commands
select mb ( open in new window ) (mb - make bucket )
Under Examples
aws s3 mb s3://mybucket ( mybucker is the name )
+++++++++++++++++++
I want to upload the file to the bucket
++++++++++++++++++
Creating user from command line
--------------------------------
Search in google " aws iam commands"
Available commands
click on create-user
Under Examples
To create an IAM user
++++++++++
++++++++++
++++++++++
so, we do need to install AWS CLI on the machine, which we have created.
$ sudo su
# yum update -y
# aws configure
AWS access key ID [*****]: enter access key ID from file downloaded
AWS secret Access key [*** ]: enter secret key ID from file downloaded
Default region name :ap-south-1
Note: ap-south-1
++++++++++++