How to Access AWS S3 Storage with SFTP | JSCAPE (2024)

Words By John Carl Villanueva

Last Updated:

To access AWS S3 via SFTP, configure the JSCAPE MFT Server by creating an Amazon S3 network storage object, entering AWS access and secret keys, and specifying the bucket and folder. Then, map this storage to a virtual path for SFTP to S3 file uploads, facilitating secure, direct SFTP access to S3 storage.

  1. Blog
    • JSCAPE MFT
    • Managed File Transfer
    • Business Process Automation
How to Access AWS S3 Storage with SFTP | JSCAPE (1)

SFTP is easily one of the most widely used file transfer protocols for business processes. Incidentally, Amazon S3 is also steadily becoming businesses' go-to cloud storage solution. How would you like to access AWS S3 via SFTP? If that looks like something you could use, check out this post.

Watch the video

Would you prefer to watch a video showing how to access AWS S3 via SFTP? If so, you may play the video below. Otherwise, feel free to continue reading and if you'd like to learn more about JSCAPE MFT Server and how it can secure and manage your file transfers across thousands of users and multiple operating systems, schedule a demo with one of our experts.

I have an Amazon S3 bucket named 'jscapejohn' and, inside that bucket, a folder named 'folder1'. Let's say I want SFTP file uploads to land in this folder.

How to Access AWS S3 Storage with SFTP | JSCAPE (2)

The SFTP server I'm using for this tutorial is JSCAPE MFT Server, a managed file transfer server that supports SFTP, along with several other file transfer protocols like FTP, FTPS, HTTP, HTTPS, AS2, OFTP, and many others.

In addition to supporting a wide range of file transfer protocols, the JSCAPE MFT Server also supports several cloud storage and network services. So you can have your users and trading partners upload files via their file transfer protocol of choice and then have JSCAPE MFT Server store those files in your preferred cloud storage or network service.

I'm now on my JSCAPE MFT Server instance, where I already have an SFTP service up and running.

How to Access AWS S3 Storage with SFTP | JSCAPE (3)

In order to store files uploaded through that SFTP service onto a folder in your Amazon S3 bucket, you need to create a corresponding Amazon S3 network storage object. Go to the Network Storage module and click the Add button to do that.

How to Access AWS S3 Storage with SFTP | JSCAPE (4)

Expand the Protocol drop-down list and select Amazon S3. Click OK to proceed.

How to Access AWS S3 Storage with SFTP | JSCAPE (5)

Once the network storage parameters dialog appears, give this network storage a name, say, 'ns-s3'. After that, enter your AWS S3 access key and its corresponding secret key.

How to Access AWS S3 Storage with SFTP | JSCAPE (6)

Next, specify the bucket and folder where you want your uploaded files to be stored.

How to Access AWS S3 Storage with SFTP | JSCAPE (7)

You may test the connection between your JSCAPE MFT Server instance and your AWS S3 bucket by clicking the Test Server button. If you encounter an error like the one shown below, ...

How to Access AWS S3 Storage with SFTP | JSCAPE (8)

...try checking the region associated with your AWS S3 bucket and see if it matches the region selected in the Region drop-down list. Change it if they don't match.

How to Access AWS S3 Storage with SFTP | JSCAPE (9)

Click the Test Server button again. If the test succeeds, click OK until you're back at the main screen..

How to Access AWS S3 Storage with SFTP | JSCAPE (10)

You should then see your newly created network storage object.

How to Access AWS S3 Storage with SFTP | JSCAPE (11)

Now that you have an AWS S3 network storage object, the next step is to map it to a virtual path. There are two ways to do this. One is mapping it to a user's virtual path, and the other is mapping it to a group's virtual path. Let's map it to a user's virtual path for now.

Go to the Users module, select the user whose virtual path you want to map with your network storage object, and click Edit.

How to Access AWS S3 Storage with SFTP | JSCAPE (12)

Navigate to the Paths tab and click the Add button to add a new virtual path.

How to Access AWS S3 Storage with SFTP | JSCAPE (13)

Define the virtual path. For example, '/s3storage'. This means this virtual path will be located directly under this user account's root virtual path.

Next, map this virtual path to the network storage you created earlier by clicking the Network Storage option button and then selecting the AWS S3 network storage name from the drop-down list.

Click OK to proceed.

How to Access AWS S3 Storage with SFTP | JSCAPE (14)

How to Access AWS S3 Storage with SFTP | JSCAPE (15)

We're now ready to give this setup a test run. Let's connect to our SFTP service and see if we can find the AWS S3 virtual path there. Let me obtain the IP address of my JSCAPE MFT Server instance first.

How to Access AWS S3 Storage with SFTP | JSCAPE (16)

So, in my SFTP client, I can enter that IP address into the appropriate field. I'm also going to enter the other pertinent details, like the username, password, port number of the SFTP service, and protocol type, which in this case is, of course, SFTP.

Note:I'm using the SFTP client for this example,JSCAPE AnyClient, a multi-protocol file transfer that supports SFTP and several other file transfer protocols.

How to Access AWS S3 Storage with SFTP | JSCAPE (17)

As soon as I connect and log in using my file transfer client, I should see the folder 's3storage', which is the name of the virtual path that maps to my AWS S3 bucket folder.

How to Access AWS S3 Storage with SFTP | JSCAPE (18)

So, if I upload files to this folder,

How to Access AWS S3 Storage with SFTP | JSCAPE (19)

How to Access AWS S3 Storage with SFTP | JSCAPE (20)

So, if I upload files to this folder, And check the actual S3 bucket folder in my AWS console, I should see the newly uploaded files there. Excited by the possibility of seamlessly integrating SFTP with AWS S3 for your secure file transfers? Book a demo with us today to explore how the JSCAPE MFT Server can streamline your file transfer processes and enhance your data security.

How to Access AWS S3 Storage with SFTP | JSCAPE (21)

That's it. Now you know how to set up JSCAPE MFT Server, so your users can access AWS S3 via SFTP.

Try this yourself

Would you like to try this yourself? Download the FREE, fully functional Starter Edition of JSCAPE MFT Server now.

Download Now

Popular Articles

View more by JSCAPE

  • How to Access AWS S3 Storage with SFTP | JSCAPE (22)

    Setting Up SFTP Public Key Authentication On The Command Line

    6min read —

    SFTP Public Key Authentication enhances security by allowing users to access SFTP services without passwords, favoring automated transfers. The setup process involves creating a .ssh directory, generating a key pair with ssh-keygen, securing permissions, and copying the public key to the server, ensuring a secure connection without the need for passwords

    Read Article
  • How to Access AWS S3 Storage with SFTP | JSCAPE (23)

    Active vs. Passive FTP Simplified

    7min read —

    The difference between active FTP and passive FTP modes lies in how connections are made. In active mode, the client initiates the connection with a PORT command, making the server connect back for data. In passive mode, the client uses a PASV command, gets a server port, and starts the data transfer connection.

    Read Article
  • How to Access AWS S3 Storage with SFTP | JSCAPE (24)

    Active-Active vs. Active-Passive High-Availability Clustering

    3min read —

    An active-active high availability cluster distributes workloads evenly across all nodes, ensuring load balancing. An active-passive setup involves not all nodes being active, with the other node(s) on standby to take over if the active node fails, ensuring service continuity without load distribution.

    Read Article

Posts By Category

Explore All Topics

  • JSCAPE MFT
  • Managed File Transfer
  • Tutorials
  • Secure File Transfer
  • Business Process Automation
  • Videos
  • News
  • SFTP
  • Triggers
  • FTP
  • AS2
  • FTPS
  • File Transfer Clients
  • Ad-Hoc File Transfers
  • Reverse Proxy
  • Accelerated File Transfer
  • Case Studies
  • sftp server
  • file transfer
  • ssh
  • Client Certificate Authentication
  • RSA 4096
  • authentication
  • encryption
  • load balancing
  • ASCII
  • AWS
  • Amazon S3
  • Clustering
  • Configuration
  • DSA
  • DSA vs RSA
  • EDI
  • FTP Server
  • FTP command line
  • FTP/S
  • HMAC
  • High Availability
  • Load
  • Load Balancer
  • MDN
  • OpenPGP keys
  • RSA vs DSA
  • S3
  • SCP
  • SMTP ports
  • Transfer mode
  • Windows SFTP Client
  • binary mode
  • binary transfer
  • client certificate
  • decrypt
  • diffie-hellman-group1-sha1
  • digital certificates
  • file transfer protocol
  • forward proxy
  • ftp active mode
  • ftp active vs passive
  • ftp client
  • ftp commands
  • ftp passive mode
  • ftp put command
  • gnu privacy guard
  • gpg
  • key exchange
  • key fingerprint
  • mft gateway
  • mft solutions
  • passive ftp
  • pgp
  • port 25
  • port 587
  • proxy server
  • reverse proxy server
  • security
  • sftp port
  • sftp port number
  • transfer protocols
  • webdav
  • webdav server
  • windows ftp

Related Content

Read more about JSCAPE MFT

  • When SFTP isn’t enough— Signs you need an MFT Solution

    19min read —

    If SFTP limitations hinder your operations, consider an MFT solution for automation, protocol versatility, and advanced security. Explore our detailed blog post to learn when it's time to transition from SFTP to MFT and elevate your data transfers.

    Read Article
  • AS2 vs SFTP—What’s the difference?

    22min read —

    AS2, used for direct B2B exchanges like EDI over HTTP/S, emphasizes encryption, authentication, and non-repudiation with MDN receipts. SFTP, functioning over SSH, provides a secure method for broader file transfer needs, focusing on encryption, two-factor authentication, and integrity without inherent non-repudiation. Choose AS2 for specific B2B EDI requirements and SFTP for versatile, secure file sharing.

    Read Article
  • SFTP vs MFT: Choosing the Right File Transfer Protocol

    18min read —

    SFTP focuses on secure file transfers over a network with data encryption and authentication features. MFT, or Managed File Transfer, includes SFTP's security measures and offers comprehensive data security, automation, reporting, and compliance capabilities. MFT provides a more advanced solution for businesses by supporting multiple protocols while enhancing file transfer workflows with added security and efficiency.

    Read Article
How to Access AWS S3 Storage with SFTP | JSCAPE (2024)

FAQs

How to Access AWS S3 Storage with SFTP | JSCAPE? ›

To access AWS S3 via SFTP, configure the JSCAPE MFT Server by creating an Amazon S3 network storage object, entering AWS access and secret keys, and specifying the bucket and folder. Then, map this storage to a virtual path for SFTP to S3 file uploads, facilitating secure, direct SFTP access to S3 storage.

How to connect SFTP to AWS? ›

Use Cyberduck
  1. Open the Cyberduck client.
  2. Choose Open Connection.
  3. In the Open Connection dialog box, choose SFTP (SSH File Transfer Protocol).
  4. For Server, enter your server endpoint. ...
  5. For Port number, enter 22 for SFTP.
  6. For Username, enter the name for the user that you created in Managing users for server endpoints.

What is SFTP S3? ›

Protocol and Architecture SFTP is a protocol that operates over an encrypted SSH connection, enabling the secure transfer of files between two systems. S3, on the other hand, is an object storage service that stores data as objects within "buckets" in a flat namespace.

How do I access my S3 with Winscp? ›

Connecting
  1. Make sure New site node is selected.
  2. On the New site node, select Amazon S3 protocol.
  3. Enter your AWS user Access key ID and Secret access key.
  4. Save your site settings using the Save button.
  5. Login using the Login button.
Mar 24, 2024

How do I access files in AWS S3 bucket? ›

In the Amazon S3 console, choose your S3 bucket, choose the file that you want to open or download, choose Actions, and then choose Open or Download. If you are downloading an object, specify where you want to save it. The procedure for saving the object depends on the browser and operating system that you are using.

Does AWS have an SFTP service? ›

AWS Transfer Family securely scales your recurring business-to-business file transfers to AWS Storage services using SFTP, FTPS, FTP, and AS2 protocols.

How do I manually connect to SFTP? ›

How to Connect Using SFTP?
  1. Check your SSH access using one of these commands: ssh user@server_ipaddress ssh user@remotehost_domainname.
  2. Once that is done, leave the session if no errors occurred.
  3. Initiate an SFTP connection with the following commands: sftp user@server_ipaddress sftp user@remotehost_domainname.

Does AWS S3 support FTP? ›

Supporting SFTP-, FTPS-, and FTP-based transfers for Amazon S3, we are also announcing the “AWS Transfer Family,” which is the aggregated name of AWS Transfer for SFTP, FTPS, and FTP.

What is the data transfer protocol for AWS S3? ›

AWS Transfer Family is a fully managed AWS service that you can use to transfer files into and out of Amazon Simple Storage Service (Amazon S3) storage or Amazon Elastic File System (Amazon EFS) file systems over the following protocols: Secure Shell (SSH) File Transfer Protocol (SFTP): version 3.

What is the difference between AWS SFTP and SFTP gateway? ›

AWS SFTP provides full redundancy across multiple Availability Zones within an AWS Region. SFTP Gateway provides HA using a network load balancer and autoscaling group. AWS SFTP uses elastic resources to auto-scale based on workload. SFTP Gateway uses autoscaling to ensure high availability by default.

How do I create a SFTP server for S3? ›

Open the AWS Transfer Family console at https://console.aws.amazon.com/transfer/ and select Servers from the navigation pane, then choose Create server. In Choose protocols, select SFTP, and then choose Next. In Choose an identity provider, choose the identity provider that you want to use to manage user access.

How do I access my S3 bucket from FTP? ›

Procedure for FTP S3 Integration using S3FS
  1. Step 1: Create an S3 Bucket.
  2. Step 2: Create an IAM Policy and Role for S3 bucket.
  3. Step 3: Proceed to Launch FTP Server.
  4. Step 4: Installation and Building of S3FS.
  5. Step 5: User Account and Home Directory Configuration.
  6. Step 6: Installation and Configuration of FTP.
Jan 31, 2021

What is AWS transfer for SFTP? ›

AWS Transfer for SFTP enables you to easily move your file transfer workloads that use the Secure Shell File Transfer Protocol (SFTP) to AWS without needing to modify your applications or manage any SFTP servers. Getting started with AWS Transfer for SFTP (AWS SFTP) is simple.

How do I access my S3 bucket without access key? ›

Create a VPC endpoint for Amazon S3
  1. Open the Amazon VPC console.
  2. Using the Region selector in the navigation bar, set the AWS Region to the same Region as your S3 bucket.
  3. From the navigation pane, choose Endpoints.
  4. Choose Create Endpoint.
  5. For Service category, verify that "AWS services" is selected.

What is the command to get files from S3? ›

You can use cp to copy the files from an s3 bucket to your local system. Use the following command: $ aws s3 cp s3://bucket/folder/file.txt . To know more about AWS S3 and its features in detail check this out!

How to access S3 bucket programmatically? ›

Enable programmatic access to S3 bucket
  1. Navigate to the IAM service on the Amazon console.
  2. Select “Users” on the left menu and press the “Add user” button in blue.
  3. Enter any username you like. ...
  4. In the next step, press “Attach existing policies directly”, then search for S3 and select “AmazonS3FullAccess”
Mar 19, 2019

How to connect to SFTP from ec2? ›

Open DCommander, click on the Connection Manager. In the Connection Manager, click on Add New Connection. You'll now be prompted to enter connection details. Select type as SFTP (SSH) and type the Public IPv4 address you saved previously followed by : and port number (default SSH port is 22).

How do I enable SFTP on AWS ec2? ›

So, let's start the SFTP setup.
  1. Step 1:Install OpenSSH-server & SSH. ...
  2. Step 2:Create SFTP user account. ...
  3. Step 3:Creating a Directory for File Transfers. ...
  4. Step 4:sshd_config Settings. ...
  5. Step 5:Restart the service. ...
  6. Step 6:Open your sftp port in AWS-EC2 security group. ...
  7. Step 7:Verifying the Configuration.
Jun 23, 2021

How to use SFTP on ec2? ›

STEPS
  1. SSH into your EC2 instance and type the following commands: ...
  2. Update the conf file. ...
  3. Disable anonymous FTP by changing this line: ...
  4. Add the following settings at the bottom of the conf file: ...
  5. To save changes, press the escape key, and then type :wq! and hit enter.
  6. Restart by typing sudo systemctl restart vsftpd.
Apr 27, 2023

Top Articles
Latest Posts
Article information

Author: Pres. Lawanda Wiegand

Last Updated:

Views: 6041

Rating: 4 / 5 (71 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Pres. Lawanda Wiegand

Birthday: 1993-01-10

Address: Suite 391 6963 Ullrich Shore, Bellefort, WI 01350-7893

Phone: +6806610432415

Job: Dynamic Manufacturing Assistant

Hobby: amateur radio, Taekwondo, Wood carving, Parkour, Skateboarding, Running, Rafting

Introduction: My name is Pres. Lawanda Wiegand, I am a inquisitive, helpful, glamorous, cheerful, open, clever, innocent person who loves writing and wants to share my knowledge and understanding with you.