What counts toward the 10 GiB ephemeral storage limit in Magic Containers, and what happens when a container goes over it.
Ephemeral storage is the writable file system each container gets on top of its image. Anything your app writes there lasts until the container restarts, so treat it as scratch space.
What counts toward the limit
Every file a container writes to its own file system counts, including:
Files your app creates, downloads, or changes.
Temporary files, caches, build output, and uploads kept on local disk.
Edits to files that ship in the image. Changing one copies it into the writable layer, so it counts at its full size.
What doesn’t count
Image layers. They’re read-only. Only your changes to them count.
Logs. Magic Containers stores stdout and stderr outside the container file system. See Logs.
Limit
Each container can use up to 10 GiB of ephemeral storage. In a multi-container pod, every container gets its own 10 GiB.
How the platform measures usage
Magic Containers counts the disk space files actually use, so a sparse file only counts for the blocks that hold data.
What happens at the limit
When a container goes over 10 GiB, Magic Containers evicts the pod, which stops every container in it, and then restarts the pod with an empty file system.
If your app writes the same data again after the restart, it hits the limit again and the pod keeps restarting. Move that data to a persistent volume.
When the data is lost
Files in ephemeral storage are lost in these cases:
The container restarts. See Restart Policy for the causes.
You deploy a new image or configuration.
Magic Containers moves the pod to another node, or removes it while scaling down.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"bunny.net Documentation","colors":{"primary":"#EF6126","light":"#EF6126","dark":"#EF6126"},"logo":{"light":"https://mintcdn.com/bunnynet-cb9733c2/54-4KCQKoNVNuoyW/logo/bunny-logo-dark.svg?fit=max\u0026auto=format\u0026n=54-4KCQKoNVNuoyW\u0026q=85\u0026s=62c091ea1aaea93d0a981902b7783e37","dark":"https://mintcdn.com/bunnynet-cb9733c2/54-4KCQKoNVNuoyW/logo/bunny-logo-light.svg?fit=max\u0026auto=format\u0026n=54-4KCQKoNVNuoyW\u0026q=85\u0026s=3610e32d68a9fa458b0116ac58ca812a"},"favicon":"https://mintcdn.com/bunnynet-cb9733c2/1bTPx1eyQm8EK8W3/favicon.png?fit=max\u0026auto=format\u0026n=1bTPx1eyQm8EK8W3\u0026q=85\u0026s=85267b63e804fac7a4dd94599bb8c6e8","navbar":{"links":[{"href":"https://bunny.net/docs/api-reference","label":"API Reference"},{"href":"https://github.com/BunnyWay","label":"GitHub"}],"primary":{"type":"button","label":"Get Started","href":"https://dash.bunny.net/auth/register"}},"footer":{"socials":{"discord":"https://discord.gg/bunnynet","github":"https://github.com/BunnyWay","x":"https://x.com/BunnyCDN","bluesky":"https://bsky.app/profile/bunny.net","linkedin":"https://www.linkedin.com/company/bunnynet","facebook":"https://www.facebook.com/bunnycdn"}},"icons":{"library":"lucide"},"contextual":{"options":["copy","claude","chatgpt","cursor","view","vscode"],"display":"header"},"interaction":{"drilldown":false},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"bunnynet-cb9733c2","hasAudioNarration":false,"actualSubdomain":"bunnynet-cb9733c2","customDomains":["bunny.net"],"gitSource":{"type":"github","owner":"bunnyway","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"contextualFeedback":{"allowEmail":true},"agentFeedback":true,"edits":true,"issues":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6aff59449d54d0cf251c253e","clientVersion":"0.0.4227","searchFilterCounts":[{"language":"default","tag":"Documentation","count":779},{"language":"default","tag":"API Reference","count":318},{"language":"default","tag":"Core Platform API","count":109},{"language":"default","tag":"CDN","count":82},{"language":"default","tag":"Stream","count":73},{"language":"default","tag":"Shield API","count":66},{"language":"default","tag":"Reference","count":66},{"language":"default","tag":"Magic Containers API","count":56},{"language":"default","tag":"Storage","count":54},{"language":"default","tag":"Guides","count":54}],"searchSettings":{"isFiltersEnabled":true}},"assistantConfig":{"enableStarterQuestions":false,"deflection":{"enabled":true,"type":"link","email":"support@bunny.net","url":"https://bunny.net/contact","showHelpButton":true}},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".dark img[src*=\"/logo/frameworks/nextjs.svg\"],.dark img[src*=\"/logo/frameworks/express.svg\"],.dark img[src*=\"/logo/frameworks/mariadb.svg\"],.dark img[src*=\"/logo/frameworks/angular.svg\"],.dark img[src*=\"/logo/frameworks/eleventy.svg\"],.dark img[src*=\"/logo/frameworks/sphinx.svg\"]{filter:invert(1)}html:not(.dark) img[src*=\"/logo/frameworks/zola.svg\"]{filter:invert(1)}"}]}
{"page":{"pagePath":"magic-containers/ephemeral-storage","slug":"/magic-containers/ephemeral-storage","pageMetadata":{"title":"Ephemeral Storage","description":"What counts toward the 10 GiB ephemeral storage limit in Magic Containers, and what happens when a container goes over it.","href":"/magic-containers/ephemeral-storage"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"What counts toward the 10 GiB ephemeral storage limit in Magic Containers, and what happens when a container goes over it.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Ephemeral storage is the writable file system each container gets on top of its image. Anything your app writes there lasts until the container restarts, so treat it as scratch space.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-counts-toward-the-limit`,children:`What counts toward the limit`}),`\n`,_jsx(_components.p,{children:`Every file a container writes to its own file system counts, including:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Files your app creates, downloads, or changes.`}),`\n`,_jsx(_components.li,{children:`Temporary files, caches, build output, and uploads kept on local disk.`}),`\n`,_jsx(_components.li,{children:`Edits to files that ship in the image. Changing one copies it into the writable layer, so it counts at its full size.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-doesn’t-count`,children:`What doesn’t count`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Image layers.`}),` They’re read-only. Only your changes to them count.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Persistent volumes.`}),` A `,_jsx(_components.a,{href:`/magic-containers/persistent-volumes`,children:`persistent volume`}),` has its own size limit.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Logs.`}),` Magic Containers stores stdout and stderr outside the container file system. See `,_jsx(_components.a,{href:`/magic-containers/logs`,children:`Logs`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`limit`,children:`Limit`}),`\n`,_jsxs(_components.p,{children:[`Each container can use up to 10 GiB of ephemeral storage. In a `,_jsx(_components.a,{href:`/magic-containers/multi-container`,children:`multi-container`}),` pod, every container gets its own 10 GiB.`]}),`\n`,_jsx(Heading,{level:`2`,id:`how-the-platform-measures-usage`,children:`How the platform measures usage`}),`\n`,_jsx(_components.p,{children:`Magic Containers counts the disk space files actually use, so a sparse file only counts for the blocks that hold data.`}),`\n`,_jsx(Heading,{level:`2`,id:`what-happens-at-the-limit`,children:`What happens at the limit`}),`\n`,_jsxs(_components.p,{children:[`When a container goes over 10 GiB, Magic Containers evicts the pod, which stops every container in it, and then `,_jsx(_components.a,{href:`/magic-containers/restart-policy`,children:`restarts the pod`}),` with an empty file system.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`If your app writes the same data again after the restart, it hits the limit again and the pod keeps restarting. Move that data to a `,_jsx(_components.a,{href:`/magic-containers/persistent-volumes`,children:`persistent volume`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`when-the-data-is-lost`,children:`When the data is lost`}),`\n`,_jsx(_components.p,{children:`Files in ephemeral storage are lost in these cases:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`The container restarts. See `,_jsx(_components.a,{href:`/magic-containers/restart-policy`,children:`Restart Policy`}),` for the causes.`]}),`\n`,_jsx(_components.li,{children:`You deploy a new image or configuration.`}),`\n`,_jsx(_components.li,{children:`Magic Containers moves the pod to another node, or removes it while scaling down.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`To keep the data after a restart, use a `,_jsx(_components.a,{href:`/magic-containers/persistent-volumes`,children:`persistent volume`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Ephemeral Storage","description":"What counts toward the 10 GiB ephemeral storage limit in Magic Containers, and what happens when a container goes over it.","href":"/magic-containers/ephemeral-storage"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"What counts toward the limit","slug":"what-counts-toward-the-limit","depth":2,"children":[]},{"title":"What doesn’t count","slug":"what-doesn’t-count","depth":2,"children":[]},{"title":"Limit","slug":"limit","depth":2,"children":[]},{"title":"How the platform measures usage","slug":"how-the-platform-measures-usage","depth":2,"children":[]},{"title":"What happens at the limit","slug":"what-happens-at-the-limit","depth":2,"children":[]},{"title":"When the data is lost","slug":"when-the-data-is-lost","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"bunnynet-cb9733c2","siteName":"bunny.net Documentation","title":"Ephemeral Storage - bunny.net Documentation","relatedPagesConfig":{"enabled":false,"limit":5,"mode":"automatic"},"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T10:13:34.195Z","gitLastModified":"2026-11-12T10:12:46.000Z","originalFileLocation":"magic-containers/ephemeral-storage.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"What counts toward the 10 GiB ephemeral storage limit in Magic Containers, and what happens when a container goes over it.\">\u003cmeta data-mint-head name=\"application-name\" content=\"bunny.net Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/bunnynet-cb9733c2/Zv4NOenQlgPS3TXm/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/bunnynet-cb9733c2/Zv4NOenQlgPS3TXm/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/bunnynet-cb9733c2/Zv4NOenQlgPS3TXm/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/bunnynet-cb9733c2/Zv4NOenQlgPS3TXm/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/bunnynet-cb9733c2/Zv4NOenQlgPS3TXm/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/bunnynet-cb9733c2/Zv4NOenQlgPS3TXm/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/bunnynet-cb9733c2/Zv4NOenQlgPS3TXm/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/bunnynet-cb9733c2/Zv4NOenQlgPS3TXm/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/bunnynet-cb9733c2/Zv4NOenQlgPS3TXm/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Ephemeral Storage - bunny.net Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"What counts toward the 10 GiB ephemeral storage limit in Magic Containers, and what happens when a container goes over it.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"bunny.net Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://bunny.net/docs/magic-containers/ephemeral-storage\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://bunnynet-cb9733c2.mintlify.site/docs/_mintlify/api/og/v2?division=Managing+Apps\u0026amp;title=Ephemeral+Storage\u0026amp;description=What+counts+toward+the+10+GiB+ephemeral+storage+limit+in+Magic+Containers%2C+and+what+happens+when+a+container+goes+over+it.\u0026amp;theme=e77372f198ca52299d904e54\u0026amp;signature=d8825b503346ea8997ac5565d54ca4d3e2ace3360fb2546e50414fbcb0fdd4f7\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Ephemeral Storage - bunny.net Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"What counts toward the 10 GiB ephemeral storage limit in Magic Containers, and what happens when a container goes over it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://bunnynet-cb9733c2.mintlify.site/docs/_mintlify/api/og/v2?division=Managing+Apps\u0026amp;title=Ephemeral+Storage\u0026amp;description=What+counts+toward+the+10+GiB+ephemeral+storage+limit+in+Magic+Containers%2C+and+what+happens+when+a+container+goes+over+it.\u0026amp;theme=e77372f198ca52299d904e54\u0026amp;signature=d8825b503346ea8997ac5565d54ca4d3e2ace3360fb2546e50414fbcb0fdd4f7\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/bunnynet-cb9733c2/Zv4NOenQlgPS3TXm/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"bunny.net Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#EF6126\">\u003clink data-mint-head rel=\"canonical\" href=\"https://bunny.net/docs/magic-containers/ephemeral-storage\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/magic-containers/ephemeral-storage.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://bunny.net/#organization\",\"name\":\"bunny.net Documentation\",\"url\":\"https://bunny.net\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/bunnynet-cb9733c2/54-4KCQKoNVNuoyW/logo/bunny-logo-dark.svg?fit=max\u0026auto=format\u0026n=54-4KCQKoNVNuoyW\u0026q=85\u0026s=62c091ea1aaea93d0a981902b7783e37\"}},{\"@type\":\"WebSite\",\"@id\":\"https://bunny.net/docs#website\",\"name\":\"bunny.net Documentation\",\"url\":\"https://bunny.net/docs\",\"publisher\":{\"@id\":\"https://bunny.net/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://bunny.net/docs/magic-containers/ephemeral-storage#webpage\",\"url\":\"https://bunny.net/docs/magic-containers/ephemeral-storage\",\"name\":\"Ephemeral Storage\",\"description\":\"What counts toward the 10 GiB ephemeral storage limit in Magic Containers, and what happens when a container goes over it.\",\"dateModified\":\"2026-11-12T10:12:46.000Z\",\"isPartOf\":{\"@id\":\"https://bunny.net/docs#website\"},\"breadcrumb\":{\"@id\":\"https://bunny.net/docs/magic-containers/ephemeral-storage#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://bunny.net/docs/magic-containers/ephemeral-storage#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Managing Apps\",\"item\":\"https://bunny.net/docs/magic-containers/update\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ephemeral Storage\",\"item\":\"https://bunny.net/docs/magic-containers/ephemeral-storage\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://bunny.net/docs/magic-containers/ephemeral-storage#article\",\"headline\":\"Ephemeral Storage\",\"name\":\"Ephemeral Storage\",\"description\":\"What counts toward the 10 GiB ephemeral storage limit in Magic Containers, and what happens when a container goes over it.\",\"url\":\"https://bunny.net/docs/magic-containers/ephemeral-storage\",\"mainEntityOfPage\":{\"@id\":\"https://bunny.net/docs/magic-containers/ephemeral-storage#webpage\"},\"dateModified\":\"2026-11-12T10:12:46.000Z\",\"publisher\":{\"@id\":\"https://bunny.net/#organization\"},\"isPartOf\":{\"@id\":\"https://bunny.net/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"bunny.net Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"bunny.net Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/magic-containers/ephemeral-storage.md","siteName":"bunny.net Documentation","nav":{"global":null,"products":[{"product":"Home","icon":"book-open","pages":[{"title":"Home","href":""}]},{"product":"CDN","icon":"zap","description":"Accelerate and protect your content globally","pages":[{"title":"CDN","href":"/cdn"}]},{"product":"Magic Containers","icon":"box","description":"Deploy any app anywhere with Docker","tabs":[{"tab":"Documentation","groups":[{"group":"Documentation","pages":[{"title":"Magic Containers","sidebarTitle":"Introduction","mode":"wide","href":"/magic-containers"},{"title":"Quickstart","href":"/magic-containers/quickstart"},{"title":"Templates","href":"/magic-containers/templates"},{"group":"Use Cases","hidden":true,"pages":[{"title":"Gaming as a service","href":"/magic-containers/gaming"},{"title":"AI Training","href":"/magic-containers/ai-training"},{"title":"Image optimizer","href":"/magic-containers/image-optimizer"}]},{"title":"Pricing","href":"/magic-containers/pricing"},{"title":"Magic Containers Changelog","sidebarTitle":"Changelog","url":"/changelog?tags=Magic%20Containers","href":"/magic-containers/changelog"}]},{"group":"Deployment","pages":[{"title":"Deploy an App","sidebarTitle":"Deploy","href":"/magic-containers/deploy"},{"title":"Deploy from a GitHub Repository","sidebarTitle":"Deploy from GitHub","tag":"Preview","hidden":true,"href":"/magic-containers/deploy-from-github"},{"title":"Deploy with GitHub Actions","href":"/magic-containers/deploy-with-github-actions"},{"title":"Image Registries","href":"/magic-containers/image-registries"},{"title":"Regions","href":"/magic-containers/regions"},{"title":"IP Addresses","href":"/magic-containers/ip-addresses"},{"group":"Bunny Container Registry","hidden":true,"pages":[{"title":"Bunny Container Registry","tag":"Preview","href":"/magic-containers/bunny-container-registry"}]}]},{"group":"Managing Apps","pages":[{"title":"Update App","href":"/magic-containers/update"},{"title":"Manage Deployments","sidebarTitle":"Deployments","tag":"Preview","hidden":true,"href":"/magic-containers/deployments"},{"title":"Configuration","href":"/magic-containers/configuration"},{"title":"Environment Variables","href":"/magic-containers/environment-variables"},{"title":"Persistent Volumes","description":"Attach persistent storage to your Magic Containers applications.","tag":"Beta","href":"/magic-containers/persistent-volumes"},{"title":"Ephemeral Storage","href":"/magic-containers/ephemeral-storage"},{"title":"Endpoints","description":"Expose your container to the internet using CDN or Anycast endpoints.","href":"/magic-containers/endpoints"},{"title":"Undeploy","href":"/magic-containers/undeploy"},{"title":"Delete App","href":"/magic-containers/delete"}]},{"group":"Observability","pages":[{"title":"Monitoring","href":"/magic-containers/monitoring"},{"title":"Logs","href":"/magic-containers/logs"},{"title":"Log Forwarding","href":"/magic-containers/log-forwarding"},{"title":"Health Checks","href":"/magic-containers/health-checks"}]},{"group":"Platform","pages":[{"title":"Autoscaling","href":"/magic-containers/autoscaling"},{"title":"Rolling Updates","href":"/magic-containers/rolling-updates"},{"title":"Blue/Green \u0026 A/B Deployments","href":"/magic-containers/deployment-strategies"},{"title":"Graceful Shutdown","href":"/magic-containers/graceful-shutdown"},{"title":"Restart Policy","href":"/magic-containers/restart-policy"},{"title":"Sandboxing","href":"/magic-containers/sandbox"},{"title":"Multi-Container Apps","href":"/magic-containers/multi-container"},{"title":"App Metadata","href":"/magic-containers/app-metadata"}]},{"group":"Reference","pages":[{"title":"Limits","href":"/magic-containers/limits"},{"title":"Troubleshooting","href":"/magic-containers/troubleshooting"},{"title":"FAQs","href":"/magic-containers/faqs"},{"title":"API Reference","url":"/api-reference/magic-containers","href":"/magic-containers/api-reference"}]},{"group":"Guides","pages":[{"group":"Go","pages":[{"title":"Go API","href":"/magic-containers/guides/simple-go-api"}]},{"group":"Node.js","pages":[{"title":"Node.js API with Hono","href":"/magic-containers/guides/node-hono-api"},{"title":"Node.js API with Express","href":"/magic-containers/guides/node-express-api"}]},{"group":"PHP","pages":[{"title":"PHP API with Slim","href":"/magic-containers/guides/php-slim"}]},{"group":"Python","pages":[{"title":"Python API with FastAPI","href":"/magic-containers/guides/python-fastapi"}]},{"group":"Web Frameworks","pages":[{"title":"Astro","href":"/magic-containers/guides/astro"},{"title":"Next.js","href":"/magic-containers/guides/nextjs"},{"title":"Nuxt","href":"/magic-containers/guides/nuxt"},{"title":"Ruby on Rails","href":"/magic-containers/guides/ruby-on-rails"},{"title":"Laravel + MariaDB","href":"/magic-containers/guides/laravel"}]},{"group":"Apps","pages":[{"title":"WordPress","href":"/magic-containers/guides/wordpress"}]},{"group":"Databases","pages":[{"title":"ClickHouse","href":"/magic-containers/guides/clickhouse"},{"title":"MariaDB","href":"/magic-containers/guides/mariadb"},{"title":"PostgreSQL","href":"/magic-containers/guides/postgresql"},{"title":"Redis","href":"/magic-containers/guides/redis"}]}]}]}]},{"product":"Edge Scripting","icon":"code","description":"Deploy serverless code at the edge","pages":[{"title":"Edge Scripting","href":"/scripting"}]},{"product":"Stream","icon":"video","description":"Video streaming and delivery platform","pages":[{"title":"Stream","href":"/stream"}]},{"product":"Storage","icon":"hard-drive","description":"Global object storage","pages":[{"title":"Storage","href":"/storage"}]},{"product":"Shield","icon":"shield","description":"Stay protected and online no matter what","pages":[{"title":"Shield","href":"/shield"}]},{"product":"Optimizer","icon":"sparkles","description":"Automatic image and web optimization.","pages":[{"title":"Optimizer","href":"/optimizer"}]},{"product":"DNS","icon":"globe","description":"Unlock the true power of DNS with an ultra-fast scriptable platform","pages":[{"title":"DNS","href":"/dns"}]},{"product":"Database","icon":"database","description":"Serverless SQLite over HTTP","pages":[{"title":"Database","href":"/database"}]},{"product":"Integrations","icon":"puzzle","description":"Official and third-party plugins and integrations","pages":[{"title":"Integrations","href":"/integrations/wordpress"}]},{"product":"CLI","icon":"terminal","description":"Manage bunny.net from your terminal","pages":[{"title":"CLI","href":"/cli"}]},{"product":"API Reference","icon":"square-terminal","description":"Build \u0026 Integrate with the Platform API","pages":[{"title":"API Reference","href":"/api-reference"}]},{"product":"Partners","icon":"handshake","description":"Manage customers, pricing, and billing as a bunny.net partner","pages":[{"title":"Partners","href":"/partners"}]}]},"basePath":"","title":"Ephemeral Storage - bunny.net Documentation","deploymentId":"dpl_2MqcLy8smQrrovUehgcZEsoo1tJX","buildId":"dpl_2MqcLy8smQrrovUehgcZEsoo1tJX","dynamics":[],"chunks":[]}