コンテンツ ドリブン ウェブアプリのホスティング テクノロジー
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
コンテンツ ドリブンのウェブ アプリケーションをホストする場合は、ユーザーの場所、コンテンツの更新頻度、スループットに合わせたスケーリング、不正行為からの保護を考慮する必要があります。要件とトレードオフ、およびそれらがアプリケーションのホスティングに適した利用可能なテクノロジーに与える影響を考慮します。
テクノロジー |
サーバーレス |
サーバーレス テクノロジーにより専用サーバーを用意する必要がありません。このアプリケーションは Cloud Run や Cloud Functions for Firebase などのクラウドベースのプラットフォームでホストされ、需要に基づいてリソースを自動的に割り当てます。アプリケーションは、手動での操作なしでスケールアップまたはスケールダウンできます。このオプションは効率的で費用対効果が高く、アプリケーションを迅速かつ効率的にデプロイしたいあらゆる規模の企業に適しています。
|
コンテナ |
コンテナは、必要な依存関係、ライブラリ、構成ファイルをすべてパッケージ化した、移植可能な分離された環境を提供します。このオプションにより、Cloud Run や Google Kubernetes Engine などのコンテナ テクノロジーをサポートするプラットフォーム全体で、アプリケーションのパフォーマンスの一貫性と信頼性が確保されます。コンテナ テクノロジーには、リソース使用率の向上、オーバーヘッド コストの削減、デプロイ時間の短縮など、多くのメリットがあります。こうした利点により、スケーラビリティと可用性が高くポータブルなアプリケーションのホスティングに最適です。
|
仮想マシン |
仮想マシン(VM)を使用すると、アプリケーションはホスト オペレーティング システム内のシミュレートされたオペレーティング システム上で実行されます。これにより、さまざまなオペレーティング システムやハードウェア構成との互換性を実現できます。Compute Engine などのクラウドでホストできます。VM は他のオプションよりもリソースを大量に消費し、ポータビリティが低い場合があります。 |
エッジ |
Edge では、アプリケーションが使用される場所の近くにコンピューティング リソースを配置します。マネージド エッジ サービスは、Google Distributed Cloud などのプラットフォームで利用できます。メリットとしては、特に低レイテンシが要求されるアプリケーションの場合、応答時間の短縮やパフォーマンスの向上などが挙げられます。Edge テクノロジーを利用する際は、分散コンピューティング リソースの管理と保護に関する課題を考慮する必要があります。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003eContent-driven web applications require careful consideration of user location, content update frequency, scalability, and security.\u003c/p\u003e\n"],["\u003cp\u003eHosting options include serverless, containers, virtual machines, and edge, each with tradeoffs in resource management, portability, and cost.\u003c/p\u003e\n"],["\u003cp\u003eServerless and containers offer efficient scaling and cost-effectiveness, while VMs provide compatibility and Edge prioritizes low latency.\u003c/p\u003e\n"],["\u003cp\u003eChoosing the right technology depends on the specific requirements and priorities of your application, such as speed, security, and scalability.\u003c/p\u003e\n"]]],["Content-driven web app hosting requires consideration of user location, content update speed, scaling, and security. Key hosting technologies include: Serverless, which auto-scales on cloud platforms; Containers, offering portable, isolated environments for scalability; Virtual Machines (VMs), providing OS compatibility but with higher resource use; and Edge, placing resources closer to users for low latency. Each technology presents unique tradeoffs regarding cost, efficiency, scalability, and management.\n"],null,["# Hosting technologies for Content-Driven Web Apps\n\nHosting a content-driven web application must account for the location of your\nusers, how quickly you need to update content, scaling for throughput, and\nsecuring against abuse. Consider the requirements and tradeoffs and how they\nimpact the available technologies suitable for hosting your application.\n\n| Technologies ||\n|------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Serverless | Serverless technology eliminates the need for dedicated servers. The application is hosted on a cloud-based platform, such as [Cloud Run](https://cloud.google.com/run) or [Cloud Functions for Firebase](https://firebase.google.com/docs/functions), and automatically assigns resources based on the demand. The application can scale up or down without manual intervention. This option is efficient and cost-effective and is a good choice for businesses of any size that want to deploy applications quickly and efficiently. |\n| Containers | Containers provide a portable and isolated environment that packages all necessary dependencies, libraries, and configuration files together. This option ensures consistent and reliable application performance across any platform that supports container technology, such as [Cloud Run](https://cloud.google.com/run) or [Google Kubernetes Engine](https://cloud.google.com/kubernetes-engine). Container technology offers numerous benefits, including improved resource utilization, lower overhead costs, and faster deployment times. These advantages make it an excellent choice for hosting highly scalable, available, and portable applications. |\n| Virtual Machines | Using a virtual machine (VM), the application runs on a simulated operating system within a host operating system, which allows for compatibility with different operating systems and hardware configurations. They can be hosted in the cloud, for example on [Compute Engine](https://cloud.google.com/compute). VMs can be more resource-intensive and less portable than other options. |\n| Edge | Edge involves placing computing resources closer to the location where the application is used. Managed edge services are available on platforms such as [Google Distributed Cloud](https://cloud.google.com/distributed-cloud/). Benefits include faster response times and improved performance, especially for applications that require low latency. When utilizing Edge technology, you must consider the challenges of managing and securing distributed computing resources. |"]]