S3 SFTP Server
In this guide, we’ll walk you through the process of configuring an AWS S3 bucket to work with Baskt’s SFTP as a Service. By the end, you’ll have a fully functional SFTP server backed by your own S3 storage.
Prerequisites
Before you begin, make sure you have:
- An AWS S3 Bucket
- A Baskt account
- Basic familiarity with AWS IAM and S3
Step 1: Create an IAM User
- Log in to your AWS Management Console and navigate to the IAM dashboard
- Click on “Users” in the left sidebar, then click “Add user”
- Choose a username for your Baskt integration (e.g., “baskt-s3-access”)
Step 2: Attach an Administrator Policy
- In the “Set permissions” page, select “Attach existing policies directly”
- Search for “AmazonS3FullAccess” and check the box next to it
- Click “Next”
- Review the user details and click “Create user”
Step 3: Create an Access Key
- Click on the user you just created in the IAM dashboard
- Click on the “Security credentials” tab
- Click “Create access key”
- Select the “Other” use case and click “Next” then “Create access key”
- In the success page, copy the “Access key ID” and “Secret access key”
- Click “Done” to return to the IAM dashboard
You’ve now created an IAM user with the permissions Baskt needs to manage your S3 bucket.
Step 4: Add Your Bucket to Baskt
- Log in to your Baskt account and navigate to the Buckets page
- Click “Create a new one”
- Enter your S3 bucket name
- Fill in your bucket information:
- Region: The AWS region where your bucket is located
- Access Key ID: The access key ID for the IAM user you created
- Secret Access Key: The secret access key for the IAM user
- Click “Create bucket”
Baskt will now verify your credentials and connect to your S3 bucket. Once the verification is successful, your S3 SFTP server is ready for use!
Next Steps
Now that your S3 bucket is set up, you can:
- Create Baskt Users and assign them access to your bucket
- Connect to your bucket via SFTP and start transferring files
- Monitor user activity and bandwidth usage through the Baskt dashboard