liveBook · Manning

Service account

As explained in Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI

A service account is a non-human identity that applications or automated services use to authenticate and access authorized cloud resources.

A service account is a non-human identity that an application or automated service uses to take authorized actions in Google Cloud. It lets an ML pipeline run without depending on manual intervention from an individual. section 11.1.2

Set up a service account for an automated Vertex AI pipeline by:

  • Creating it in IAM & Admin → Service Accounts and assigning the Vertex AI User role. section 11.2.1
  • Generating a service account key and placing it where the pipeline script runs. section 11.1.2 section 11.5
  • Granting the service account Service Account User access to the Compute Engine default service account. section 11.2.3

Automating a real-estate pipeline

A Kuala Lumpur real-estate price-prediction pipeline uses a service account to invoke the Vertex AI SDK, run training in a prebuilt container, generate a model, and deploy it to an endpoint. section 11.1.2 section 11.5

Figure 11.2 Selecting Service Accounts in the Google Cloud Console

Use the console walkthrough to locate Service Accounts and begin creating the pipeline identity. section 11.2.1

How Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI covers it

How deep it goes
Explains creation, role assignment, key setup, and delegated access, while deferring detailed credential documentation.
Examples
Uses a Kuala Lumpur real-estate prediction pipeline and Google Cloud Console role-assignment walkthroughs as concrete examples.
What it assumes
Assumes a Google Cloud project and Vertex AI pipeline goal, while teaching service-account creation and access configuration.
What you can do after
Operate/configure an authenticated Vertex AI pipeline by creating an identity, assigning roles, supplying its key, and granting delegated access.
How it connects
Connects service accounts with IAM, Vertex AI, machine learning pipelines, service account keys, and Compute Engine.

Also explained in

Compare how 10 books explain service account →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning for Tabular Data: XGBoost, Deep Learning, and AI. The section links point to the parts of the book it draws on.