사이트에 새 콘텐츠를 배포할 때 사이트에 대한 특정 버전의 콘텐츠 및 구성을 가리키는 '출시'를 만듭니다. 각 출시(새 출시와 보관된 이전 출시 모두)와 관련된 파일은 Firebase에 저장됩니다. 이러한 파일은 프로젝트의 Hosting 스토리지 사용량 수준을 구성합니다.
이 Hosting 스토리지는 독립적이며 Firebase 프로젝트의 다른 스토리지(예: Cloud Storage for Firebase 또는 데이터베이스 스토리지)와는 관련이 없습니다.
Hosting은 개별 파일의 최대 크기 한도가 2GB로 제한됩니다.
Hosting 스토리지 할당량
Hosting 콘텐츠의 스토리지는 최대 10GB까지 무료로 제공됩니다.
Blaze 요금제를 사용하지 않고 무료 Hosting 스토리지 한도인 10GB에 도달하는 경우에는 사이트에 새 콘텐츠를 배포할 수 없습니다. 이런 경우에는 이전 출시를 삭제하거나 Blaze 요금제로 업그레이드해야 합니다.
Blaze 요금제를 사용 중이며 무료 Hosting 스토리지 한도인 10GB에 도달하는 경우에는 추가 Hosting 스토리지 1GB당 $0.026가 청구됩니다.
Hosting이 사이트의 리소스 중 하나를 제공하면 CDN에서 최종 사용자에게로 데이터가 전송됩니다. 요청된 리소스가 이미 CDN 캐시에 존재할 수도 있고(캐시 적중) Hosting 백엔드에서 이를 가져와야 할 수도(캐시 부적중) 있습니다. 요청된 콘텐츠가 CDN에 캐시될 수 있는 경우에는 캐시됩니다. 캐시 적중과 부적중 모두 프로젝트의 Hosting 데이터 전송 사용량에 반영됩니다.
Hosting 데이터 전송 할당량
모든 Hosting 사이트는 Google의 글로벌 CDN에서 무료로 자동 지원됩니다.
CDN에서 최종 사용자로의 데이터 전송은 매월 최대 10GB까지 무료입니다.
Blaze 요금제를 사용하지 않고 월별 무료 데이터 전송 한도인 10GB에 도달하는 경우에는 짧은 유예 기간이 주어지지만 이 기간이 끝난 뒤에는 사이트가 사용 중지됩니다. 데이터 전송 결제는 월별 사용량 수준을 기반으로 하므로 다음 달이 시작되는 시점까지는 사이트가 사용 중지 상태로 유지됩니다. Blaze 요금제로 업그레이드하면 즉시 사이트를 다시 사용할 수 있습니다.
Blaze 요금제를 사용 중이며 월별 무료 데이터 전송 한도인 10GB에 도달하는 경우에는 해당 월에 추가로 전송된 데이터 1GB당 $0.15가 청구됩니다.
Hosting 데이터 전송 사용량 제어
Hosting 데이터 전송 사용량을 제어하는 방법은 다음과 같습니다.
브라우저가 CDN으로부터 리소스를 요청할 필요가 없도록 콘텐츠의 클라이언트 측 캐싱을 미세 조정합니다. 캐싱에 대한 자세한 내용은 웹 개발자 문서를 참조하세요.
표시할 필요가 없는 이미지와 동영상은 로드하지 않습니다.
특정 요청을 처리할 서비스 워커를 만듭니다.
예약된 Hosting URL을 통해 Firebase SDK를 로드하는 경우 이 URL의 예약된 네임스페이스에 대한 중요한 정보를 읽어야 합니다.
다음은 특히 PWA를 사용하여 서비스 워커를 설정하는 데 도움이 되는 몇 가지 리소스입니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-08-12(UTC)"],[],[],null,["\u003cbr /\u003e\n\nThe pricing for Firebase Hosting is based upon your project's usage of the\nfollowing:\n\n- [Hosting storage](#hosting-storage) (GB) --- The amount of storage space\n required to store the content of your Hosting sites (your static files and\n your configuration files).\n\n- [Data transfer](#hosting-data-transfer) (GB/month) --- The amount of data\n transferred to end users from our CDN. Every Hosting site is automatically\n backed by our global CDN at no charge.\n\nYour Hosting quota is project-level, not site-level or channel-level. You\ncan upgrade your project to the Blaze billing plan to unlock additional paid\nstorage and data transfer levels. Learn more about\n[quotas and pricing for Firebase Hosting](/pricing#hosting).\n\nWe recommend setting up\n[budget alerts](/docs/projects/billing/avoid-surprise-bills#set-up-budget-alert-emails)\nfor your project in the Google Cloud console.\n\nMonitor both your Hosting storage level and data transfer level in the\nFirebase console:\n\n- Visit the [*Usage*](//console.firebase.google.com/project/_/hosting/usage)\n dashboard in the *Hosting* section of the console. \n\n You can view the usage levels for different billing periods as well as for all\n your Hosting sites or for each site.\n\n- Visit your project's\n [*Usage and billing* dashboard](//console.firebase.google.com/project/_/usage)\n in the console.\n\n| When your project is on the Blaze pricing plan, [**set up budget alerts**](/docs/projects/billing/avoid-surprise-bills#set-up-budget-alert-emails) using the console. You can use the [Blaze plan calculator](/pricing#blaze-calculator) to estimate your monthly costs.\n|\n| Be aware that **budget alerts do *not* cap your usage or\n| charges** --- they are *alerts* about your costs so that you can\n| take action, if needed. For example, you might consider\n| [using\n| budget notifications to programmatically disable Cloud Billing on a\n| project](https://cloud.google.com/billing/docs/how-to/disable-billing-with-notifications).\n\nUnderstand Hosting storage\n\nWhen you deploy new content to your site, you create a \"release\" that points to\na specific version of content and configuration for your site. The files\nassociated with each release (both new releases and any retained previous\nreleases) are stored by Firebase. These files make up your project's Hosting\nstorage usage level.\n\nThis Hosting storage is independent and unrelated to any other storage for\nyour Firebase project (like Cloud Storage for Firebase or database storage).\n\nNote that Hosting has a maximum size limit of 2 GB for\nindividual files.\n\nQuota for Hosting storage\n\nStorage for your Hosting content is at no cost up to\n10 GB.\n\n- If you are *not* on the Blaze plan, and you reach the\n 10 GB limit of no-cost Hosting storage, you won't be\n able to deploy new content to your sites. You'll need to\n [delete older releases](/docs/hosting/manage-hosting-resources#delete-release)\n or\n [upgrade to the Blaze plan](//console.firebase.google.com/project/_/overview?purchaseBillingPlan=metered).\n\n- If you are on the Blaze plan, and you reach the 10 GB\n limit of no-cost Hosting storage, you'll be billed $0.026 for each additional\n GB of Hosting storage.\n\nControl usage of Hosting storage\n\nTo control your Hosting storage usage, here are some things you can do:\n\n- [Set a limit](/docs/hosting/manage-hosting-resources#release-storage-settings)\n for the number of releases to keep.\n\n- [Manually delete](/docs/hosting/manage-hosting-resources#delete-release)\n specific releases.\n\n- Store larger files using [Cloud Storage for Firebase](/docs/storage), which\n offers a maximum size limit in the terabyte range for individual objects.\n\nUnderstand Hosting data transfer\n\nWhen Hosting serves one of your site's resources, data transfers from our\nCDN to your end user. The requested resource might already be available in our\nCDN cache (a cache hit) or it might need to come from the Hosting backend (a\ncache miss). If the requested content can be cached in the CDN, it will be. Both\ncache hits and misses count toward your project's Hosting data transfer\nusage.\n\nQuota for Hosting data transfer\n\nEvery Hosting site is automatically backed by our global CDN at no charge.\nData transfer from the CDN to your end users is at no cost up to\n10 GB/month.\n\n- If you are *not* on the Blaze plan, and you reach the\n 10 GB/month limit of no-cost data transfer, we\n offer a short grace period but then your sites will be disabled. Your sites\n will remain disabled until the start of the next month because data transfer\n billing is based on *monthly* usage levels. You can reenable your sites\n immediately by [upgrading to the\n Blaze plan](//console.firebase.google.com/project/_/overview?purchaseBillingPlan=metered).\n\n- If you are on the Blaze plan, and you reach the\n 10 GB/month limit of no-cost data transfer, you'll be\n billed $0.15 for each additional GB of data transferred that month.\n\nControl usage of Hosting data transfer\n\nTo control your Hosting data transfer usage, here are some things you can\ndo:\n\n- Fine-tune the client-side caching of your content so that browsers don't need\n to request a resource from the CDN. Learn more about caching in the\n [web developer documentation](//web.dev/http-cache/#cache-control).\n\n- Avoid loading images and videos that you don't actually need to display.\n\n- Create service workers to handle certain requests. \n\n If you load Firebase SDKs via reserved Hosting URLs, make sure to read\n important information about the\n [reserved namespace for these URLs](/docs/hosting/reserved-urls#reserved_urls_and_service_workers).\n\n Here are some resources to help you set up service workers, especially with a\n PWA:\n - Codelab: [Caching files with the service worker](//codelabs.developers.google.com/codelabs/pwa-caching-service-worker/index.html)\n\n - Documentation: [Service Worker Mindset](//web.dev/service-worker-mindset/#powerful-but-limited)"]]