Projekt erstellen

Zur Bereitstellung Ihrer Anwendung in App Engine müssen Sie ein Google Cloud-Projekt erstellen. Das Projekt ist ein Container auf oberster Ebene, der Ihre App Engine-Anwendungsressourcen sowie andere Google Cloud-Ressourcen enthält.

In dieser Aufgabe erstellen Sie ein Google Cloud-Projekt und eine App Engine-Anwendung, um darin Einstellungen, Rechenressourcen, Anmeldeinformationen und Metadaten für Ihre Anwendung zu speichern.

Wenn Sie bereits ein Google Cloud-Projekt mit App Engine und der Cloud Build API haben, fahren Sie mit Webdienst schreiben fort.

Google Cloud-Projekt erstellen

  1. 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.
  2. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  3. Die Abrechnung für das Google Cloud-Projekt muss aktiviert sein.

  4. Enable the Cloud Build API.

    Enable the API

  5. Install the Google Cloud CLI.
  6. To initialize the gcloud CLI, run the following command:

    gcloud init
  7. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to project selector

  8. Die Abrechnung für das Google Cloud-Projekt muss aktiviert sein.

  9. Enable the Cloud Build API.

    Enable the API

  10. Install the Google Cloud CLI.
  11. To initialize the gcloud CLI, run the following command:

    gcloud init
  12. Erstellen Sie in der Google Cloud Console eine App Engine-Anwendung für Ihr Google Cloud-Projekt.

    App-Erstellung öffnen

  13. Wählen Sie eine Region aus, in der sich die Rechenressourcen Ihrer App befinden sollen.

Nächste Schritte

Ihr Google Cloud-Projekt ist nun eingerichtet und Sie können mit Node.js einen einfachen Webdienst schreiben.