In App Engine Standard Environment, the local filesystem that your application is deployed to is not writeable. This behavior ensures the security and scalability of your application. You should thus not consider writing other than temporary files in the /tmp directory. To store data permanently, you'll have to use other services, such as Cloud SQL or Cloud Storage. There are
some differences between Standard and Flex environments.