AWS Transfer for SFTP (Secure Shell File Transfer Protocol)

Sumit
Apr 16 · 7 min read
Ref: https://bit.ly/2XaixvA
Creation of S3 bucket.
Two EC2 instances with public IP attached.
1.Select EC2 in the Create Role option of IAM.
2. Select AmazonS3FullAccess role and click on Next
3. Add a relevant tag and then click on Next
4. Our role has been created.
Updating Trust Relationship
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Principal": {
        "Service": "transfer.amazonaws.com"
      },
      "Action": "sts:AssumeRole",
      "Condition": {}
    }
  ]
}
From ‘AWS Transfer for SFTP’ service, click on Create Server
Successful creation of sftp server
User Configuration for sftp service-image2
ssh-keygen -P "" -f "sftp-test-key"
sftp -i sftp-test-key sftp_user@YOUR-SFTP-END-POINT
sftp login successful
created testfolder dir
testfolder dir created in s3 as well.
put command
testfile has been uploaded to S3
Filezilla application
Configure authentication
Input login values
Successfully connected to sftp
Copied file to sftp server
Successful upload of file using FileZilla

Tensult Blogs

Stories on Cloud computing, Analytics, Automation and Security

Sumit

Written by

Sumit

Tensult Blogs

Stories on Cloud computing, Analytics, Automation and Security