AWS - AWS Transfer for SFTP - Set up SFTP access for S3 using AWS Transfer for SFTP
To Access the AWS S3 bucket through SFTP you can do it now with AWS Transfer for SFTP.
Here are the step to configure that.
Here are the step to configure that.
- Create the S3 Bucket.
- Create a IAM Policy by giving access to the S3 bucket created on the step 1 as shown on the screenshot.
- Create a IAM Role and attach the policy created on the step 2.
- Go to the URL https://console.aws.amazon.com/transfer/home?region=us-east-1#
- Then click on the button "Create Server".
- On the Create Server screen choose the endpoint according to your requirement. If you don't have any VPC configured then choose Public.
- Then Select the custom host name if you want to give a custom url to your SFTP service.
- For the identity provider you can select Service managed if you want to manage users within the service OR you can provide custom identity provider URL if you already have.
- choose a logging role which have access to cloudwatch to log the activity.
- Then click "Create server"
- Then it will bring you to the list of servers page where you can see your server is in the state of "Starting".
- Now here come the time to add users. click on the server id and the you can click on the Add User.
- Then on the Add user Screen you can create the username and assign the role that you have created in step 3 in the Access field.
- Then choose the bucket name that is going to the home bucket when user logged in.
- Then Generate a SSH key and assign the public key here, so that the user can use the generated private key to connect to the SFTP to access file in the bucket.
- Now the AWS SFTP is ready to use. :)






Comments
Post a Comment