DigitalOcean Spaces

DigitalOcean Spaces (Object Storage)

DigitalOcean Spaces subscription active
You will receive email notifications for new publications on DigitalOcean Spaces.
161 Results
  • Question

    How to enable SSL for Subdomain - domain with name cheap, website on VPS and storage with DO

    Hi i have my domain over at I have my website with my VPS provider. I have my storage files in DO Spaces. I have successfully created and connected to DO spaces by creating a CNAME over at ...
    Accepted Answer: Hi @Kay86, Going over the documentation a couple of times, you would need to upload your custom SSL certificate from the panel. This means you'll need to have it generated else where. Another option would be to make y...
    2 By Kay86 Object Storage DigitalOcean Spaces Security Configuration Management
  • Question

    How to SSH into DigitalOcean Spaces?

    I am trying to migrate the files from third-party server to DigitalOcean spaces. Due to large volumes in files, the only option I can see is download the zip file in Spaces and extract the files. For that I need acces...
    Accepted Answer: Hello, @mittalyashu You can use s3cmd in order to manage the object storage via ssh. In this way you can quickly upload the files you need. Once you have s3cmd configured you can simply upload all of your files to th...
    1 By mittalyashu DigitalOcean Spaces
  • Question

    Rails / Action Text + Active Storage / Spaces

    I am unable to upload files into DO Spaces that are uploaded via the Action Text editor. I can store them locally but not in Spaces. I get the following message: <Error> <Code>SignatureDoesNotMatch</Code> <RequestId>...
    Accepted Answer: Of course the solution was CORS. My dumb brain kept saying 'CORS' doesn't count for local. Anyhow - it does. I added the following CORS configuration. Allowed Methods: GET, PUT, DELETE, POST Allowed Headers: Content-...
    1 By ianbradbury Ruby on Rails DigitalOcean Spaces
  • Question

    Spaces, subdomain, cname - invalid SSL

    Hey there. I'm trying to use spaces for my first time as I like the idea about using it as CDN. However, I'm trying to point my own CDN subdomain to the DO cdn URL. I'm using Cloudflare to manage my domain and I've up...
    Accepted Answer: Got it working now, no idea how but it's working
    2 By Geekologist CDN DigitalOcean Spaces DNS Object Storage Security
  • Question

    Upload AWS S3 getSignedUrl with correct permissions and Content Type

    Hi there, I am trying to upload assets through the getSignedUrl method that the aws-sdk provides, a NodeJS backend with Axios where the upload happens from a VueJS 2 frontend. Now whatever combination i try, or the fi...
    Accepted Answer: What i had to do to fix this issue, was going to the Settings page of my Spaces instance and add to the CORS section the following allowed Headers (i had previously set the Origin to be a wildcard as i am working from...
    1 By treurmars DigitalOcean Spaces
  • Question

    How to manage DigitalOcean Spaces using s3cmd

    I recently was asked if there is a way to delete a folder from a Space without accessing the Control Panel. A lot of people are using <^>s3cmd<^> to manage their buckets and I'll try to give some basic examples of how...
    Accepted Answer: <^>s3cmd<^> is a popular cross-platform command-line tool for managing S3 and S3-compatible object stores. In order to use s3cmd with DigitalOcean Spaces, you need to have: * s3cmd version 2.0.0+ or higher * An acces...
    1 By alexdo DigitalOcean Spaces
  • Question

    "Error executing "PutObject"" with AWS for PHP SDK

    Hello, I'm receiving the following error whenever I try to upload files to my DigitalOcean Spaces by way of the AWS SDK on PHP. <^>Fatal error: Uncaught exception 'Aws\S3\Exception\S3Exception' with message 'Error exe...
    Accepted Answer: RESOLVED! So after much digging I realized I was using a "<^>Personal access tokens<^>" for the secret key and not having a generated Spaces secret key. Thus I regenerated the key and it worked!
    1 By DevLexicon DigitalOcean Spaces
  • Question

    How to mount DigitalOcean Spaces on droplets with s3fs

    I've recently got asked how to mount a space on a droplet and I would like to create a separate question here in the community where everyone can share their ideas and valuable information.
    Accepted Answer: Hello, @TsungyingChen You can mount a DigitalOcean space on your droplet and use it for storage of some of you data. In general, object storage solutions like Spaces are not meant to be accessed like a file system. T...
    1 By alexdo DigitalOcean Spaces Block Storage
  • Question

    Create Spaces bucket with Terraform gives malformed request

    I want to create a space bucket using Terraform. Here is my attempt: ``` provider "digitalocean" { token = var.dotoken spacesaccessid = var.dospacesclientid spacessecretkey = var.dospacessecret_key } resource "d...
    Accepted Answer: The error being returned by the API here is unclear, but the cause is the underscore (_) in the Space name. In the control panel, when creating a new Space, it notes that names must be between 3 and 63 characters long...
    3 By jpauthier Terraform DigitalOcean Spaces
  • Question

    How can I create good diagrams for my infrastructure architecture based on DigitalOcean products?

    I build interesting applications using best practices in infra architecture and would love to be able to write/blog about them. However, I lack the tools to be able to create good architecture diagrams for all the di...
    Accepted Answer: A great resource for creating architecture diagrams for infrastructure configurations based on DigitalOcean can be found here:
    1 By rsharma DigitalOcean Managed Kubernetes DigitalOcean Managed Load Balancers DigitalOcean Managed PostgreSQL Database DigitalOcean Managed MySQL Database DigitalOcean Spaces DigitalOcean Volumes
  • Question

    Uploading File to DO Spaces using AWS SDK .NET/.NET Core

    I was searching for a code snippet on how to upload a file to DO Spaces but cloud not found anything. After many attempts, I found the solution. After downloading AWS SDK from nuget manager, Upload Class: ``` public s...
    Accepted Answer: The answer is above.
    1 By EyadAlAkkad DigitalOcean Spaces
  • Question

    Presign link for download not working with aws sdk golang

    Hello guys, I have some issues to make work a DO spaces presign url in aws golang sdk. I have the following code snippet: ``` import ( "" "
    Accepted Answer: Next day it is just working... Don't know what was the problem yesterday, but now it's fine. So above you can see a working golang example :).
    1 By zsoltbodnar DigitalOcean Spaces
  • Question

    Is using Spaces for millions of public pictures the right choice (rate limit, speed) ?

    Hello DO-Team, we are currently migrating millions of pictures from DigitalOcean Volume to DigitialOcean Spaces (as this was recommended by several conference talks and external IT consulting), and now I'm reading tha...
    Accepted Answer: Hello ChrisPan, Nice to contact with you.I think DigitalOcean spaces is enough for your commands.But one space just has 250GB storage and 1000GB out-of-town bandwith per month,so please consider the requests' rates,if...
    1 By ChrisPan DigitalOcean Spaces
  • Question

    Spaces API and S3 compatibility question

    I am just seeking clarity in understanding the product offering as it pertains to being S3 compatible. My client uses a piece of software that currently integrates with Aamazon S3 by asking for only: the API Access ke...
    Accepted Answer: Actually found what I was looking for here -
    2 By p_ingram3541 DigitalOcean Spaces
  • Question

    SignatureDoesNotMatch error with special characters in the file name

    When adding a special character to a file name, the file upload results into an error. I'm using the Spaces-API PHP library with the latest AWS S3 client, as recommended in the DigitalOcean documentation. Example: ima...
    Accepted Answer: Solved the issue by patching up the SDK:
    2 By MelvinRook DigitalOcean Spaces
  • Question

    My account was suspended for a couple of weeks but now it back on but my website is still down, how can I restore it? Thank You

    So since my account got suspended our website went down and all I would see was the CloudFlare 522 Error page. ((Error 522 Ray ID: 543523e4dbae6bcc • 2019-12-11 05:43:18 UTC Connection timed out What happened? The ini...
    Accepted Answer: Hi @Clody, I would recommend checking if your droplet is powered on, you can do that via your DigitalOcean Control Panel at: Then go to Droplets and make sure that the droplet is On. If...
    2 By Clody DigitalOcean Spaces
  • Question

    Setting TTL on object in Spaces (Not talking about CDN)

    Is there a way to set a TTL at upload time on an object? I use Spaces for logging and don't want to have to manually make API calls to delete data every few weeks.
    Accepted Answer: Hello, Thanks for reaching out to DigitalOcean! I’m not sure what exactly you mean by TTL value for objects. In general, the TTL value at CDN which will be applied for all the objects. Please refer to below link , whi...
    1 By domvragh DigitalOcean Spaces
  • Question

    Delete Space Bucket Immediately

    I would like to know how to delete a bucket immediately. I created a bucket with aws-cli in Spaces, included some files and deleted (from the panel), during some tests I was doing, but the deleted bucket is showing "S...
    Accepted Answer: Hey, When you destroy any Spaces it will be moved to pending destruction status. In the 2+ week period during which Space is pending destruction, you cannot reuse that Space’s name. However, you can recover Spaces fro...
    2 By lucasbasquerotto DigitalOcean Spaces
  • Question

    Is there any extra charges for taking snapshots and reverting back to previous states in droplets?

    Is there any extra charges for taking snapshots and reverting back to previous states in droplets? Kindly guide me about other additional charges also that I would have to pay while performing operations? I want to bu...
    Accepted Answer: Hello, There is no charge for the operation itself. But there is a small fee for storing a snapshot. Snapshots are charged at $0.05 per GiB per month. Pricing is based on the size of the snapshot, not the size of the ...
    2 By farrukhahmed4220 DigitalOcean Accounts DigitalOcean Spaces
  • Question

    Sandbox version of Spaces

    It would be nice to have a sandbox version of Spaces to play with just to learn how to integrate with it before committing. Would you consider something like this for free? You could limit it with trivial storage spac...
    1 By creativetags DigitalOcean Spaces