Skip to main content

AWS CLI

AWS CLI



https://aws.amazon.com/cli/?sc_channel=PS&sc_campaign=acquisition_IN&sc_publisher=google&sc_medium=command_line_b&sc_content=aws_cli_p&sc_detail=aws%20cli&sc_category=command_line&sc_segment=159807027985&sc_matchtype=p&sc_country=IN&s_kwcid=AL!4422!3!159807027985!p!!g!!aws%20cli&ef_id=WYkRSAAAAIguKCmB:20171212130013:s




AWS Command Line Interface

The AWS Command Line Interface (CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts.


download and install AWS cli for 32 or 64 bit

aws command line



setx PATH "%PATH%;C:\Program Files\Amazon\AWSCLI"

C:\Program Files\Amazon\AWSCLI>aws --version
aws-cli/1.14.8 Python/2.7.9 Windows/7 botocore/1.8.12

C:\Program Files\Amazon\AWSCLI>aws configure

C:\Program Files\Amazon\AWSCLI>aws configure
AWS Access Key ID [None]: AKIAICUPOOYE67WQZK5A
AWS Secret Access Key [None]: 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
Default region name [None]: ap-south-1
Default output format [None]:

to view the AWS bucket file

C:\Program Files\Amazon\AWSCLI>aws s3 ls
2017-12-12 16:58:20 mubaraktest


Download the file form S3

F:\TSM>aws s3 sync s3://mubaraktest .
Completed 92.1 KiB/~92.1 KiB (220.4 KiB/s) with ~1 file(s) remaining (calculation
download: s3://mubaraktest/saturn yantra.jpg to .\saturn yantra.jpg

Completed 92.1 KiB/~92.1 KiB (220.4 KiB/s) with ~0 file(s) remaining (calculation
Completed 304.2 KiB/304.2 KiB (322.2 KiB/s) with 1 file(s) remaining
download: s3://mubaraktest/windows 2012 R2.jpg to .\windows 2012 R2.jpg

copy form desktop to aws console

F:\TSM>aws s3 cp Questions.doc  s3://mubaraktest
upload: .\Questions.doc to s3://mubaraktest/Questions.doc


Comments

  1. Thanks for providing it's very useful to the users keep updating AWS Online Course

    ReplyDelete

Post a Comment

Popular posts from this blog

AWS S3 Simple Storage Service

                             Amazon  S3  (Simple Storage Service) Amazon Simple Storage Service is storage for the Internet. It is designed to make web-scale computing easier for developers. Amazon  S3  has a simple web services interface that you can use to store and retrieve any amount of data, at any time, from anywhere on the web. What Is Amazon S3? Amazon Simple Storage Service is storage for the Internet. It is designed to make web-scale computing easier for developers. Amazon S3 has a simple web services interface that you can use to store and retrieve any amount of data, at any time, from anywhere on the web. It gives any developer access to the same highly scalable, reliable, fast, inexpensive data storage infrastructure that Amazon uses to run its own global network of web sites. The service aims to maximize benefits of scale and to pass those benefit...

Amazon EBS Elastic Block Store

     Amazon Elastic Block Store Amazon  Elastic Block Store  (Amazon  EBS ) provides persistent block storage volumes for use with Amazon EC2 instances in the  AWS  Cloud. Each Amazon  EBS volume is automatically replicated within its Availability Zone to protect you from component failure, offering high availability and durability. Amazon Elastic Block Store (Amazon EBS) provides persistent block storage volumes for use with  Amazon EC2  instances in the AWS Cloud. Each Amazon EBS volume is automatically replicated within its Availability Zone to protect you from component failure, offering high availability and durability. Amazon EBS volumes offer the consistent and low-latency performance needed to run your workloads. With Amazon EBS, you can scale your usage up or down within minutes – all while paying a low price for only what you provision. Amazon EBS is designed for application workloads that benefit from fine tu...

AWS Backup and Enhances SNS Notifications to filter on job status

AWS Backup and Enhances SNS Notifications to filter on job status 1. AWS Backup 2. AWS Backup Enhances SNS Notifications to filter on job status                                          AWS Backup AWS Backup is a fully managed backup service that makes it easy to centralize and automate the back up of data across AWS services in the cloud as well as on premises using the AWS Storage Gateway. Using AWS Backup, you can centrally configure backup policies and monitor backup activity for AWS resources, such as Amazon EBS volumes, Amazon RDS databases, Amazon DynamoDB tables, Amazon EFS file systems, and AWS Storage Gateway volumes. AWS Backup automates and consolidates backup tasks previously performed service-by-service, removing the need to create custom scripts and manual processes. With just a few clicks in the AWS Backup console, you can create backup policies ...