This community is for professionals and enthusiasts of our products and services.
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.


1 Answer

Michael Rogers United States

--Michael Rogers--

| 3 0 2
Lakewood, United States
--Michael Rogers--

Michael Rogers United States
1/15/20, 3:44 PM

1. Syncing the two is actually very simple. First you must install the AWS CLI(Command Line interface). You can download the CIL installer file for windows here: https://d1vvhvl2y92vvt.cloudfront.net/AWSCLIV2.msi. Run the .exe file and follow the instructions onscreen. To confirm installation, in the Windows command prompt, type the following commands:

C:\> aws2 --version

Output: aws-cli/2.0.0dev0 Python/3.7.3 Windows/10 botocore/2.0.0dev0

2. Once you have the CLI installed, then you must authenticate your AWS account so the CLI knows what account it is working with. To do this you must first create a secret key under your user profile in IAM in your AWS account. Once you have the secret key Id and the key itself, open your command prompt and type the following commands:

[profile adminuser]

 aws_access_key_id = adminuser access key ID 

 aws_secret_access_key = adminuser secret access key 

 region = aws-region 

 3. Verify correct configuration by typing the command:

aws help

4. Now that everything is configured correctly, all we need to do is sync our desired folder with the s3 bucket. From your windows command prompt, type the following command:

aws s3 sync C:\Users\[Username]\folder-name s3://[bucket-name]/folder-name

5. Now your folder and the s3 bucket should be synced.

Ask a Question
Keep Informed
2 follower(s)
About This Community
This community is for users of the AWS cloud platform. We answer questions about how to use both AWS in general and the tools we provide to our customers. Read Guidelines