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!
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!
I think you can:
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 https://docs.nginx.com/nginx/admin-guide/web-server/serving-static-content/
You can go the more complex way of hosting an S3 compatible object open source object storage solution like minio https://github.com/minio/minio if you want to mimic S3 / Spaces functionality (uploads, etc)
Hope that helps, thanks
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.