Report this

What is the reason for this report?

Access droplet local storage from App Platform container

Posted on October 23, 2020

I see app platform uses basic droplets under the hood, question is, can i use droplet storage as temporary storage somehow or only option is to use a memory filesystem es /tmp ? My app currently requires a few hundred megabytes to do computational stuff



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!

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.

👋 @frankbmonza

App Platform uses Kubernetes (which runs on the DigitalOcean Kubernetes service) which runs on Droplets. Because we use Kubernetes, your app runs in an ephemeral container so the filesystem that you have access to is also ephemeral.

If your data is fairly static you could pull it in during the build process, then it will be shipped as part of the image. We don’t currently have a way to attach a persistent file system to App Platform apps.

Thanks, actually i need to download some data, process it and then send it back, so data is absolutely not static. A volume claim from the underlying K8S env would be nice as a future capability.

This comment has been deleted

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.