フィードバックを送信
プロジェクトを作成
bookmark_border bookmark
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
注: 新しい Node.js ウェブサービスを Google Cloud にデプロイする場合は、Cloud Run の使用をおすすめします。 App Engine にアプリをデプロイするには、App Engine アプリケーションのリソースと他の Google Cloud リソースを保持する最上位コンテナとなる Google Cloud プロジェクトを作成する必要があります。
このタスクでは、Google Cloud プロジェクトと App Engine アプリケーションを作成して、アプリの設定、コンピューティング リソース、認証情報、メタデータを保存します。
App Engine の Google Cloud プロジェクトがすでに存在し、Cloud Build API を有効にしている場合は、ウェブサービスの作成 に進みます。
Google Cloud プロジェクトを作成する
Sign in to your Google Cloud account. If you're new to
Google Cloud,
create an account to evaluate how our products perform in
real-world scenarios. New customers also get $300 in free credits to
run, test, and deploy workloads.
In the Google Cloud console, on the project selector page,
select or create a Google Cloud project.
Note : If you don't plan to keep the
resources that you create in this procedure, create a project instead of
selecting an existing project. After you finish these steps, you can
delete the project, removing all resources associated with the project.
Go to project selector
Make sure that billing is enabled for your Google Cloud project .
Enable the Cloud Build API.
Enable the API
Install the Google Cloud CLI.
To initialize the gcloud CLI, run the following command:
gcloud init
Google Cloud コンソールで、Google Cloud プロジェクト用の App Engine アプリケーションを作成します。
アプリ作成画面を開く
アプリのコンピューティングリソースを配置するリージョンを選択します。
注: App Engine アプリの作成後にリージョンは変更できません。レイテンシを小さくするには、アプリの想定ユーザーに最も近いリージョンを選択します。使用可能なリージョンの詳細については、App Engine のロケーション をご覧ください。
次のステップ
これで Google Cloud プロジェクトが設定され、Node.js で基本的なウェブサービスを作成 する準備が整いました
フィードバックを送信
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンス により使用許諾されます。コードサンプルは Apache 2.0 ライセンス により使用許諾されます。詳しくは、Google Developers サイトのポリシー をご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-03-06 UTC。
ご意見をお聞かせください
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-03-06 UTC。"],[],[]]