Mount Cloud Storage for App Eng

203 views
Skip to first unread message

Myron Schram

unread,
Jan 31, 2019, 7:51:53 PM1/31/19
to Google App Engine
I need to mount a "local" drive for my Go app to access while it is running in App Engine. Does anyone happen to know if there is instruction on how to do this?
Thanks,
Myron

George (Cloud Platform Support)

unread,
Feb 1, 2019, 1:56:11 PM2/1/19
to Google App Engine
Hello Myron, 

It all depends on what is meant by "local" drive. Your app cannot write to the local file system. Does your app face difficulties when using Cloud Storage, as recommended? You may have a look at the "Using Cloud Storage with Go" documentation page, and "Setting Up Google Cloud Storage". 

Myron Schram

unread,
Feb 1, 2019, 2:18:12 PM2/1/19
to google-a...@googlegroups.com
We are calling a third party API and it requires a us to reference a local file location to post the file we are sending it

Thanks,
Myron

On Feb 1, 2019, at 11:56 AM, 'George (Cloud Platform Support)' via Google App Engine <google-a...@googlegroups.com> wrote:

Hello Myron, 

It all depends on what is meant by "local" drive. Your app cannot write to the local file system. Does your app face difficulties when using Cloud Storage, as recommended? You may have a look at the "Using Cloud Storage with Go" documentation page, and "Setting Up Google Cloud Storage". 

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/a37af06a-669f-4161-9d6b-f9d82c56a1dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Olivier Yiptong

unread,
Feb 1, 2019, 5:14:54 PM2/1/19
to google-a...@googlegroups.com
Myron, are you using go111?

If so, /tmp/ is writeable.

Keep in mind that /tmp/ will write to what effectively is a RAM disk.


For more options, visit https://groups.google.com/d/optout.


--

Julie (cloud platform support)

unread,
Feb 5, 2019, 3:23:13 PM2/5/19
to google-a...@googlegroups.com
This is the document[1] referring to /tmp file as a writable file which may be able to be the reference file. App Engine Flex should also work[2] however please reply if you are using Flex and using /tmp as the reference file does not work in this case. 

Reply all
Reply to author
Forward
0 new messages