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


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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.