Requirements
Setting up
1. Make sure the target website’s plan is Tier 3 on Shifter Dashboard.
![](/wp-content/uploads/2024/03/196312147-57dd05b1f62166516fd8ce71.png?expires=1621301192&signature=98c29718dca4d9e9dc256d43601e5db52bed94c3120415e63683ac60065740b4)
2. Create an S3 bucket on your AWS account in AWS Console or AWS-CLI.
![](/wp-content/uploads/2024/03/196373194-bf54da8f7af8fd26fef64bb8.png?expires=1621301192&signature=08bc9c5e6760a3630ae7433312eaad300dfa24aa3954b19324c73c68d3b18a41)
Create S3 bucket with accessing AWS console or using AWS-CLI.
-
Bucket name (required): Choose a name for your bucket, and input it here.
-
Region (required): Select your region from the dropdown menu.
In this sample, Bucket name is set as REPLACE-WITH-YOUR-S3-BUCKET-NAME, Region is US East (us-east-1).
Never forget to copy both values.
For more details for creating S3 bucket, please read and follow official document: Create a Bucket
3. Set bucket name on S3 Bucket field on Shifter Dashboard
Navigate back to your Shifter dashboard, then set the value as displayed below.
-
S3 Bucket: Input the bucket name you’ve created above
-
S3 Bucket Domain: Choose the same region as you’ve chosen above
![](/wp-content/uploads/2024/03/196941669-46464755900b3aecdfe98ce2.png?expires=1621301192&signature=c8581de1ab71687d6d3fab1b64ddb6da53ed04358539a2d55fec41ee5bee3d90)
4. Copy S3 bucket policy
Click [Next] button, Bucket policy will be shown.
Let’s copy code.
![](/wp-content/uploads/2024/03/197662287-7ac4c3a3b2ebb5a3da1e40f6.png?expires=1621301192&signature=bdec4a9c5970aed8099b417ba47540f3b483b945b2d9ec2e61050af222241c94)
Sample policy
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::027273742350:root"
},
"Action": [
"s3:GetBucketAcl",
"s3:PutBucketAcl"
],
"Resource": "arn:aws:s3:::REPLACE-WITH-YOUR-S3-BUCKET-NAME"
}
]
}
5. Update S3 Bucket Policy
Back to S3’s console, paste copied policy, then click [Save] button right above the text area.
![](/wp-content/uploads/2024/03/196941325-4a45ef2ad8f2f9c4abb034db.png?expires=1621301192&signature=539685e54495ad9ad7bfd0ce89d6f632179ecb7bce20c79a55012939a86f39d7)
If you familiar with AWS-CLI, checkout Put bucket policy document for more details.
6. Set Object Ownership
like below:
![](/wp-content/uploads/2024/03/753270330-6a44b3b53b708fdd53447c87.png)
7. Connect Shifter to your S3 Bucket
Return to Shifter dashboard. Then, check the box that says [I’ve updated my bucket policy].
![](/wp-content/uploads/2024/03/197662411-998adc0b4e5ef7fddae8b12b.png?expires=1621301192&signature=c6c3399f0a72c33511335b3f59728cf1ee00f429b4b6e62f942259a7eddc3c9c)
7. All set
![](/wp-content/uploads/2024/03/196319104-6f3bf4939c3cfaf75ed396fa.png?expires=1621301192&signature=87213d004234a2990bae3aea5bf6908ad873956b6a8caf7a3e09d75fc34aea65)
8. Access logs are exported
After a bit, Shifter will export a log file to your ordered S3 Bucket.
![](/wp-content/uploads/2024/03/196319867-a9edcd4b043a77183eeb76b2.png?expires=1621301192&signature=015cd0a0f461cb03ad3f8cdb1b4a04976d1a14b3a9ca626d3c36acddcaf5b4eb)
![](/wp-content/uploads/2024/03/196374013-afc3816d1b3e234c6ddbcd04.png?expires=1621301192&signature=c33a96075e25dd96794289d32f5e1bf0b2d7cbb3f2f2916ec27f9e135c673d71)