Open menu

Learn

How to access Backblaze B2 via SFTP/FTPS

SFTPCloud allows you to use your own cloud storage to power SFTP & FTPS servers. This means that SFTPCloud enables you to access your Backblaze B2 storage using SFTP and FTPS, making it an ideal solution for businesses and individuals looking for a secure and scalable FTP/SFTP solution. In this tutorial, we will guide you through the process of creating an FTP & SFTP server via SFTPCloud which uses your own Backblaze B2 account as storage. We will cover the essential steps required to create a Backblaze B2 bucket, configure your FTP & SFTP server on SFTPCloud, and use the two services in conjunction with one another

1. Create a new Backblaze B2 application key

The first step is to generate your Backblaze B2 access key and secret access. Open your Backblaze dashboard and click App keys on the left sidebar. On the Application Keys page click the Add a New Application Key button and keep the credentials somewhere because you will need them later. Create a new Backblaze B2 application key

2. Create a new SFTPCloud instance

Now it's time to create your FTP & SFTP server in SFTPCloud. In case you don't have an SFTPCloud account, you need to create one. Go to the SFPT Instances page, click New SFTP instance from the top navigation bar and select where you want your new server to be located. Select the location of the SFTP instance Now it's time to name the new server and provide the storage credentials needed to establish the connection with Backblaze B2. In this example, backblaze-sftp was used as the name of the instance. Select Backblaze as instance storage. Type the name of your bucket into the Bucket name field. In case you don't already have a bucket, create one (if you need help creating the bucket, follow the Backblaze docs ). Into the Access key ID and Access key secret fields paste the keyID and applicationKey you generated at step 1. You also have to select the region where your Backblaze bucket is located and then click the Create SFTP instance button. Provide the Backblaze B2 details to be used as storage of the new SFTP/FTPS instance

3. Access Backblaze via SFTP/FTPS

Now it's time to get the SFTPCloud credentials which can be used to access Backblaze B2 via FTPS & SFTP. In the SFTPCloud instance you just created, click the Users tab and then click on the first user. Access the new SFTP/FTPS user A modal with the user details will appear. Click the Connection details tab and there you have all the required details in order to connect to the FTPS/SFTP server powered by your Backblaze B2 cloud storage. SFTP/FTPS connection details

Conclusion

Now you have an FTPS & SFTP server that can be used with your favorite SFTP/FTPS client and the files are stored in your own Backblaze B2 cloud storage. If you have any questions, feel free to reach out at support@sftpcloud.io