Using Droplet as S3/Space

Can you please suggest me an approach how I can transform a droplet into something that will behave like S3 ot Spaces, no CDN required. We just want to serve files from Droplet via Caddy server which will be sent to user browsers.

Like: Droplet (as S3/Spaces)->Caddy Server (another droplet)->User browser

I am avoiding Spaces for its very low limit :|

Your suggestions are highly appreciated!

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I think you can:

  1. Just simply serve static files on that droplet using some http server (i.e nginx, apache). Here’s a docs from nginx on how to serve static file

  2. You can go the more complex way of hosting an S3 compatible object open source object storage solution like minio if you want to mimic S3 / Spaces functionality (uploads, etc)

Hope that helps, thanks