AWS GovCloud (US)

AWS GovCloud (US) for engineering

Topsoil runs on Amazon Bedrock in AWS GovCloud (US) the same way it runs in a commercial region: a client on your machine, model calls in your GovCloud account, and no Topsoil-hosted service in the path.

Your boundary, your ATO

Topsoil adds no hosted service to your system, so there is no vendor control plane to bring into scope. The authorization boundary and the ATO remain yours: Topsoil fits inside the account, the IAM policy and the network path you already document.

AWS describes AWS GovCloud (US) as isolated AWS Regions designed to allow U.S. government agencies and customers to move sensitive workloads into the cloud. It also notes that the overall security of your workloads is a shared responsibility. See AWS’s own pages for what GovCloud provides. Your program decides how Topsoil is documented inside that boundary.

What stays in the GovCloud account

The client runs on the machine: the Terminal on macOS, Windows and Linux, a VS Code bridge, or the desktop app on macOS and Windows. Model calls go to Amazon Bedrock in the GovCloud Region you set. The context library and the budget policy live in an S3 bucket in that account. Chats, credentials and raw tool output stay on the machine.

PieceWhere it lives in AWS GovCloud (US)
Model callAmazon Bedrock in your GovCloud account, us-gov-west-1 or us-gov-east-1.
Tool useOn your machine. The Converse request is what reaches Bedrock. See how Topsoil uses Bedrock models.
Context library and budget policyYour S3 bucket, in the same account.
Sign-inIAM, a named profile, IAM Identity Center, or a gateway token.
Network pathThe public endpoint, custom HTTPS, or PrivateLink path you can reach.

Plan approval, diffs and the command allowlist are the same gates as in a commercial Region. How engineering changes get approved walks through them. Pipeline files are covered in AI for DevSecOps and CI/CD pipelines.

Setting it up in GovCloud

  1. Deploy the account stack in your GovCloud Region. It creates the context-library bucket, the user policy and the optional budget backstop.
  2. Use the GovCloud IAM policy. Topsoil ships policy files for the arn:aws-us-gov partition. An arn:aws resource never matches in GovCloud, and the reverse is also true.
  3. Enable model access. AWS documents this as a manual step. Third-party models need access enabled in the linked commercial account as well as the GovCloud account. Amazon’s own models need only the GovCloud step.
  4. Enable both GovCloud Regions. The Regions are us-gov-west-1 and us-gov-east-1. Bedrock’s us-gov. inference profiles span both, but access is granted per Region, so a model enabled in only one can fail when a request lands in the other. Topsoil ships a script that checks both. AWS documents the GovCloud half of model access as a manual step, so the script prints the remaining steps for each Region.
  5. Sign in with IAM, a named profile or IAM Identity Center, and run topsoil setup to pick the Region and a default model and prove the connection works.

If you sign in with IAM and a model error talks about an API key, a Bedrock token in the environment is taking the call. Remove it and run the call again.

Which models are available

Model availability in AWS GovCloud (US) differs from commercial Regions and changes over time. Topsoil shows only what your GovCloud account has enabled. Check AWS’s current list before you plan a rollout, then confirm with topsoil models in the account you will use.

Model errors that say what to do

In the Terminal, a failed model call prints what happened and what to fix, including a missing model subscription or a step that has to be done from the linked commercial AWS account.

Questions

Frequently asked questions

Does Topsoil work in AWS GovCloud (US)?

Yes. Topsoil runs on Amazon Bedrock in your GovCloud account, with IAM policy files for the GovCloud partition and setup for both GovCloud Regions, us-gov-west-1 and us-gov-east-1.

Why enable models in both GovCloud Regions?

A us-gov. inference profile can place a request in either GovCloud Region. Access is granted per Region, so a model enabled in only one can fail when the request lands in the other.

Does Topsoil change our authorization boundary?

Topsoil adds no hosted service. The authorization boundary and the ATO remain yours, and your program decides how Topsoil is documented within them.

Why do we enable models in two accounts?

AWS links a GovCloud account to a commercial account. For third-party models, AWS requires model access to be enabled in both. Amazon's own models need only the GovCloud step.

Try it on your own codebase

A pilot runs in your own AWS account, with your models and your material, and ends with findings you can act on.