Spaces AWS Lambda type service

November 13, 2017 1.9k views
Object Storage

Loving using the new DigitalOcean Spaces as a beautiful and cost effective replacement for S3.

However, I'm wondering if there are any plans to offer an event-driven code execution service like Amazon AWS Lambda to Spaces?

My main use case is to automatically handle the heavy processes of image resizing/manipulation to prevent it from blocking threads on my API servers.

Even if there was perhaps some folder-based rules GUI, which allows developers to set image resize rules for any image file uploaded to a particular Spaces folder, that'd be pretty damn neat...!

2 Answers

Happy to hear that you are enjoying spaces, unfortunately at this time there is no plan for an AWS lambda type service.

We've rolled out a significant number of new features and products in 2017 and also have a number of large releases planned for 2018. As part of that to help keep customers informed we've also added blog posts that give customers more of an insight into the future roadmap.

Doesn't necessarily mean that it's set in stone, but it does provide guidance. If there's a particular feature or product that you want then definitely add it to UserVoice or up vote an existing entry if it's there.

  • I think it would be great to see something added to spaces that would enable integration with these kinds of services at AWS / Azure / etc... Wouldn't need to be a DigitalOcean competitor of these.

    For example, it would be great to offer webhooks or integrations to pub/sub services like AMQP. When something happens on Spaces, an HTTP request gets made to an external service about the event that took place.

    This would be enough to use Spaces as the storage layer for all kinds of different external services, like AWS Lambda and others.

    • Technically depending on how you use spaces you could do that, if you are storing something through the API then you can also add a secondary call to a second service, regardless of the provider, but certainly a webhook would be simpler and more elegant. Something that you could recommend on UserVoice.

      There should be some updates launching for Spaces later this year, but not sure of the full roadmap.

      • Are you suggesting that the user just implement an API call to the secondary service right after their call to upload to Spaces?

        Of course that's possible, indeed. As you mention too, it would be much more convenient to have that built into Spaces, though.

        I'll check out UserVoice

Have another answer? Share your knowledge.