Multi-Platform Portability & Model Upgrades

Porting a Vertex AI Workload to Claude Platform on AWS

Both platforms speak the Anthropic Messages API through an official SDK client, so the code diff is small. The real migration work is identity, account setup, and knowing which features you gain — and the few you lose.

Claude 3P 101 · Updated July 2026 · Unofficial guide

Teams move Claude workloads from Google Vertex AI to Claude Platform on AWS for two main reasons: consolidation onto AWS, and feature velocity — the Anthropic-operated platform typically gets same-day parity with the first-party API, including endpoints Vertex does not offer. Here is the migration broken into its actual parts.

The client swap

# before: Vertex AI (ADC, project + region in the constructor)
from anthropic import AnthropicVertex
client = AnthropicVertex(project_id="my-project", region="global")

# after: Claude Platform on AWS (SigV4 via the AWS credential chain;
# reads AWS_REGION + ANTHROPIC_AWS_WORKSPACE_ID from the environment)
from anthropic import AnthropicAWS
client = AnthropicAWS()

msg = client.messages.create(model="claude-opus-4-8", max_tokens=1024,
                             messages=[{"role": "user", "content": "Hello"}])

The messages.create call is unchanged. What moved is everything around it:

Account setup you cannot skip

Signing up (via the AWS Console's Claude Platform on AWS page plus Anthropic's partner signup) provisions a new Anthropic organization tied to your AWS account. Then comes the most common setup error: a one-time per-account prerequisite to enable outbound web identity federation with aws iam enable-outbound-web-identity-federation. Without it, every request fails with "Outbound web identity federation is disabled for your account." Create a workspace, note its wrkspc_... ID, export it with your region, and attach an IAM policy — AnthropicInferenceAccess is the narrowest managed policy sufficient for inference.

Validating feature parity

Mostly you gain features. Anthropic's Message Batches API, the Files API, the Models API, code execution, web fetch, the MCP connector, programmatic tool calling, Managed Agents (beta), and inference_geo data residency are available on Claude Platform on AWS and absent on Vertex. Two upgrades deserve specific attention:

And a few things change against you or just differently:

Rule of thumb: run both platforms in parallel on a traffic slice before cutting over — they are separate capacity pools with separate billing (Vertex per-token to GCP; Claude Platform on AWS in Claude Consumption Units via AWS Marketplace), so a dual-run is cheap insurance and doubles as your parity test.

Where to go next

Route the switch through a provider factory so it is a config change, and see the workspace ID guide and migrating between clouds for the broader playbook.

Sources