Question

Access droplet local storage from App Platform container

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

Subscribe
Share

Submit an 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.

This comment has been deleted

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.

👋 @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.