One Time Setup
- Download and install AWS CLI
-
Open a command prompt
-
Type "AWS configure"
-
Paste AWS Access Key ID, hit enter
-
Paste AWS Secret Access Key, hit enter
-
Paste “us-west-2” as the default region, hit enter
-
Hit enter again to accept the default output format
Usage
- To copy files from s3 run:
- "aws s3 cp s3://<bucket>/<folder>/ c:\<local folder> --recursive"
- To move files from s3 run:
- "aws s3 mv s3://<bucket>/<folder>/ c:\<local folder> --recursive"
Scheduling
- Open windows task scheduler
-
Click create basic task and give it a title
-
Hit next and set a desired schedule
-
Hit next and select “start a program”
-
Enter the command "aws” and the parameters from above “s3 mv ..."
That’s it! You are now ready to start pulling files from Healthjump.