A Vertex AI endpoint is a managed serving interface that exposes a deployed model through a URL for prediction requests. It replaces loading a model file directly from a local web server and supports cloud-based application deployment. section 10.0 section 10.4.3
Deploying and integrating an endpoint involves these practical steps:
- Select an imported model version, name the endpoint, choose sufficient machine resources, and deploy it until its status becomes Active. section 10.4.3
- Test the endpoint with valid JSON whose feature values are one-element arrays and whose feature names exactly match the model input. section 10.4.4 section 10.5.2
- Call the endpoint from Flask through the Vertex AI SDK, passing the project, endpoint identifier, location, and prepared instances. section 10.5 section 10.5.2
Testing a Kuala Lumpur property prediction
A property request supplies categorical and numeric features such as location, rooms, property type, bathrooms, car parks, and size. The endpoint returns the model output; applying the sigmoid function converts that output into a 17.9 percent probability of a price above the median, matching the local-model result. section 10.4.4
Endpoints support scaling, multiple models with adjustable traffic proportions, separate resource settings for environments, and monitoring for skew and drift. Choose machine resources appropriate to the workload to control cloud costs. section 10.4.3 section 10.5.3
Figure 10.30 Confirmation that the model has been deployed
Use the deployment confirmation figure to recognize the Active endpoint state after deployment. section 10.4.3
