Open menu

Learn

How to access DigitalOcean Spaces via FTP and SFTP

SFTPCloud allows you to use your own cloud storage in order to power your SFTP/FTPS instances. This means that SFTPCloud lets you access your DigitalOcean Spaces storage using the SFTP/FTPS protocols, making it an ideal solution for businesses and individuals looking for a secure and scalable SFTP/FTPS solution. In this tutorial, we will guide you through the process of setting up DigitalOcean Spaces as a storage option for your SFTP/FTPS instances created via SFTPCloud. We will cover the essential steps required to create the DigitalOcean Spaces access key, configure your SFTP/FTPS instance on SFTPCloud, and use the two services in conjunction with one another

1. Create a new Spaces access key

The first step is to generate your DigitalOcean Spaces access key. Open your DigitalOcean dashboard and go to the Spaces Access Keys page . Click the New Access Key button and give a name to your key and save it. In our example, we used sftpcloud as the name of the key. You will use the access key ID and secret just generated in the next step. DigitalOcean Spaces Keys page

2. Create a new SFTPCloud instance

Now it's time to create your SFTP/FTPS instance in SFTPCloud. In case you don't have an SFTPCloud account, you will need to make one. Go to the SFPT Instances page, click New SFTP instance from the top navigation bar and select where you want your new instance to be located. Select the location of the SFTP instance Now it's time to name the new instance and provide the storage credentials needed to establish the connection with DigitalOcean. In this example, digitalocean-sftp was used as the name of the instance. Select DigitalOcean Spaces as the 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 DigitalOcean docs ). Into the Access key ID and Access key secret fields paste the access key ID and secret you generated in the previous step. You also have to select the region where your DigitalOcean bucket is located and then click the Create SFTP instance button. Provide the DigitalOcean Spaces details to be used as storage of the new SFTP/FTPS instance

3. Access DigitalOcean Spaces via SFTP/FTPS

Now it's time to get the SFTPCloud credentials which can be used to access DigitalOcean Spaces via SFTP/FTPS. 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 SFTP/FTPS instance powered by your DigitalOcean Spaces storage. SFTP/FTPS connection details

Conclusion

Now you have an SFTP/FTPS instance that uses your own DigitalOcean Spaces account as storage and can be used with your favorite SFTP/FTPS client. If you have any questions, feel free to reach out at support@sftpcloud.io