Stay organized with collections
Save and categorize content based on your preferences.
While Cloud Storage
is the recommended solution for reading and writing files in App Engine,
if your app only needs to write temporary files, you can use language-specific
methods to write files to a directory named /tmp.
All files in this directory are stored in the instance's RAM, therefore writing
to /tmp takes up system memory. In addition, files in the /tmp directory are
only available to the app instance that created the files. When the instance is
deleted, the temporary files are deleted.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-21 UTC."],[[["\u003cp\u003eCloud Storage is recommended for reading and writing files in App Engine.\u003c/p\u003e\n"],["\u003cp\u003eTemporary files can be written to the \u003ccode\u003e/tmp\u003c/code\u003e directory using language-specific methods.\u003c/p\u003e\n"],["\u003cp\u003eFiles in \u003ccode\u003e/tmp\u003c/code\u003e are stored in the instance's RAM and consume system memory.\u003c/p\u003e\n"],["\u003cp\u003eTemporary files in \u003ccode\u003e/tmp\u003c/code\u003e are only accessible to the instance that created them and are deleted when the instance is deleted.\u003c/p\u003e\n"]]],[],null,[]]