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
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
Thanks for providing it's very useful to the users keep updating AWS Online Course
ReplyDelete