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

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 Route 53 & Routing Policy

Amazon Route 53 You can use Amazon Route 53 to register new domains, transfer existing domains, route traffic for your domains to your AWS and external resources, and monitor the health of your resources. Amazon  Route 53  ( Route 53 ) is a scalable and highly available Domain Name System (DNS). It is part of Amazon.com's cloud computing platform, Amazon Web Services (AWS). The name is a reference to TCP or UDP port  53 , where DNS server requests are addressed. ...  Route 53's  servers are distributed throughout the world. DNS management If you already have a domain name, such as example.com, Route 53 can tell the Domain Name System (DNS) where on the Internet to find web servers, mail servers, and other resources for your domain. Learn More Traffic management Route 53 traffic flow provides a visual tool that you can use to create and update sophisticated routing policies to route end users to multiple endpoints for your application. Le...

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 ...