Dan
Dan

Reputation: 5313

Can App Engine Flexible Environment connect to a persistent disk?

I want to run one process on App Engine Flexible Environment that needs access to a traditional file system to save information that survives restarts.

Is this possible? (I only see documentation for ephemeral disks.) Are there any workarounds if not?

Upvotes: 5

Views: 1499

Answers (2)

Dmitrijs Jemeljanovs
Dmitrijs Jemeljanovs

Reputation: 11

You can use gcsfuse to mount Cloud Storage bucket as local filesystem on either Google Cloud Run or Google App Engine. This approach has some latency limitations and caveats in terms of nested directories though. You can learn more about this here: https://cloud.google.com/run/docs/tutorials/network-filesystems-fuse https://github.com/GoogleCloudPlatform/gcsfuse/blob/master/docs/mounting.md https://github.com/GoogleCloudPlatform/gcsfuse/blob/master/docs/semantics.md

Upvotes: 1

Jesse
Jesse

Reputation: 8393

While the appengine flexible environment does give us access to disk access, it is not yet configurable as persistent disk. Have you considered using Cloud Storage if you need such persistence?

Upvotes: 0

Related Questions