Setting up the Amazon S3 Environment¶
To use the AmazonS3 service, you must have an AWS account. If you don't already have an account, you are prompted to create one when you sign up. You're not charged for any AWS services that you sign up for unless you use them.
Signing Up for AWS¶
To sign up for AWS:
Navigate to Amazon AWS website and select Create an AWS Account.
Note: If you previously signed in to the AWS Management Console using AWS account root user credentials, select Sign in to a different account. If you previously signed in to the console using IAM credentials, choose Sign-in using root account credentials. Then select Create a new AWS account.
Follow the online instructions.
Part of the sign-up procedure involves receiving a phone call and entering a verification code using the phone keypad. AWS will notify you by email when your account is active and available for you to use.
Obtaining user credentials¶
You can access the Amazon S3 service using the root user credentials but these credentials allow full access to all resources in the account as you cannot restrict permission for root user credentials. If you want to restrict certain resources and allow controlled access to AWS services then you can create IAM (Identity and Access Management) users in your AWS account for that scenario.
Steps to get an AWS Access Key for your AWS root account¶
Go to the AWS Management Console.
Hover over your company name in the right top menu and click "My Security Credentials".
Scroll to the "Access Keys" section.
Click on "Create New Access Key".
- Copy both the Access Key ID (YOUR_AMAZON_S3_KEY) and Secret Access Key (YOUR_AMAZON_S3_SECRET).
Steps to get an AWS Access Key for an IAM user account¶
Sign in to the AWS Management Console and open the IAM console.
In the navigation pane, choose Users.
Add a checkmark next to the name of the desired user, and then choose User Actions from the top.
Click on Manage Access Keys.
Click on Create Access Key.
Click on Show User Security Credentials. Copy and paste the Access Key ID and Secret Access Key values, or click on Download Credentials to download the credentials in a CSV (file).
The Access Key ID (e.g., AKIAJA3J6GE646JWVA9C) and Secret Access Key (e.g., H/P/G3Tey1fQOKPAU1GBbl/NhL/WpSaEvxbvUlp4) will be required to configure the Amazon S3 connector. You can manage S3 buckets logging into S3 console.
Deploying the client libraries¶
Finally download and place the following client libraries in to the