Cloud AI selection
Separate the cloud capabilities
Cloud AI services provide managed building blocks for training, serving and integrating models. A managed training job consumes a versioned dataset and configuration, allocates compute and produces a model artifact plus evaluation evidence. A hosted inference service accepts a request and returns a prediction or generated response using a deployed model. Orchestration coordinates retrieval, model calls, tools and workflow state; data integration connects approved storage, catalogs and indexes. These are distinct responsibilities even when bundled in one product. For a fictional support FAQ system, start with a hosted text model and an existing approved retrieval index; training a new model is not required just to update the FAQ. Use the deployment and MLOps lessons for contracts, versioning and rollback.
Compare provider families as dated candidates
As checked on 30 November 2026, AWS offers Amazon Bedrock for managed foundation-model access and Amazon SageMaker AI for custom training, fine-tuning and deployment [1,2]. Bedrock also provides model-related integration features; neither product name alone defines the region or data terms. Microsoft Foundry offers model hosting with deployment choices including regional, data-zone and global processing [3]; custom model training and pipelines may also involve Azure Machine Learning. Google announced Gemini Enterprise Agent Platform on 22 April 2026 as the evolution of Vertex AI [4]; current documentation maps legacy names to the newer platform [5]. Its machine-learning location tables distinguish custom training and batch inference [6]. Older Vertex AI identifiers may remain in documentation, SDKs and billing. These are candidate families, not equivalent feature lists. Actual selection requires a dated record of exact model ID and revision, deployment type, task and modalities, supported location, quotas, access roles, data terms, pricing units and retirement notices. Do not assume any particular model is available in your account.
Gate eligibility before comparing price
The three profiles below are invented and do not correspond to any actual provider. A supports inference in east, B training in east, C inference across east and west. The zones field is the complete set of possible processing locations, not merely the endpoint address. verified is a host-reviewed summary of current model, deployment, region, data terms and price evidence; permitted represents a recorded access decision; quota_ok means the proposed workload fits the verified limit. Missing or empty zone evidence must not pass. The function takes a trusted complete profile shape with unique IDs, then checks task, reviewed evidence, permission, capacity and set inclusion. With east only, A is eligible for inference and B for training; C requires both zones to be approved. The printed list is an eligibility shortlist, not a recommendation or an actual cloud entitlement.
def shortlist(profiles, task, allowed_zones): # Profiles are trusted, reviewed fixture records, not a live catalog. result = [] for p in profiles: if (p["task"] == task and p["verified"] is True and p["permitted"] is True and p["quota_ok"] is True and p["zones"] and set(p["zones"]) <= set(allowed_zones)): result.append(p["id"]) return sorted(result)
profiles = [ dict(id="A", task="infer", verified=True, permitted=True, quota_ok=True, zones=["east"]), dict(id="B", task="train", verified=True, permitted=True, quota_ok=True, zones=["east"]), dict(id="C", task="infer", verified=True, permitted=True, quota_ok=True, zones=["east", "west"]),]print(shortlist(profiles, "infer", {"east"}))print(shortlist(profiles, "train", {"east"}))print(shortlist(profiles, "infer", {"east", "west"}))Residency and access are separate controls
Data residency must distinguish where data is stored, processed, backed up and logged. Microsoft Foundry deployment types affect processing location [3]. Google documents that a global endpoint does not guarantee processing residency [7]. Check the full request path including retrieval, tool execution, telemetry, support access, caches, training use and deletion terms. A regional endpoint does not establish compliance by itself. Use workload identities, narrowly scoped IAM roles, private networking where required and secret management instead of embedding keys in application code. Record quotas for requests, tokens and concurrency separately; set bounded queues and retry budgets. Verify the actual service terms, including model-provider conditions, with security and legal owners. If evidence expires, remove the candidate until reviewed. No live region, access or contract check is performed here.
Plan a compatible fallback
A multi-provider gateway can reduce dependence on one endpoint, but does not make models interchangeable. Keep an explicit adapter for request format, structured response, errors and usage, and a per-model evaluation record. The route example accepts a primary and fallback ID plus trusted healthy, approved and compatible sets. It selects the primary only if all three checks pass; if primary fails, it considers the fallback under the same constraints. A healthy but unapproved fallback is not usable. Compatibility includes required capability, data policy, response schema and validated quality, not just API syntax. Use separate retrieval indexes when embedding spaces differ. Returning None means abstain or use a preapproved non-model path, not silently route outside the permitted boundary. Practice removing A from health and C from approval, then record a rejection reason for each candidate. This is local policy arithmetic, not an actual gateway.
def route(primary, fallback, healthy, approved, compatible): # All sets are supplied by the host, not by model output. for candidate in (primary, fallback): if candidate in healthy and candidate in approved and candidate in compatible: return candidate return None
print(route("A", "C", {"A", "C"}, {"A", "C"}, {"A", "C"}))print(route("A", "C", {"C"}, {"A"}, {"A", "C"}))print(route("A", "C", {"C"}, {"A", "C"}, {"A", "C"}))Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Cloud AI selection quiz
Assess cloud service eligibility, residency, economics and portability.
Which activity produces a new model artifact from a dataset?
Which Google platform is the documented evolution of Vertex AI?
Which inference profile passes with east only?
Does a global endpoint guarantee processing residency?
What if the fallback is healthy but not approved?