How to block Amazon Q
How to block Amazon Q on every device
Amazon Q Developer is AWS’s AI coding assistant. This page covers the Q and CodeWhisperer service hosts; the AWS console and amazon.com are not blocked. Below: how to block Amazon Q in the browser, on phones and tablets, on your home or school network, and on managed devices.
AI blocker suite for browsers, desktop, and mobile
Amazon Q
AI coding tools
q.us-east-1.amazonaws.comBlocked2 hostnames in the Nullgen catalog
Every entry also covers its subdomains, so the Amazon Q app and API are blocked too.
What Amazon Q connects to
These are the hostnames Amazon Q uses for its website, its apps, and its API. Each entry is matched as a suffix — blocking q.us-east-1.amazonaws.com also blocks every subdomain of it — so the Amazon Q app cannot slip through on a hostname that is not listed. Shared hosts that other products need are deliberately left out.
| Hostname | Role |
|---|---|
| q.us-east-1.amazonaws.com | Main website |
| codewhisperer.us-east-1.amazonaws.com | App, API, or content host |
Amazon Q inside the AWS console is not blocked
Amazon Q Developer also lives inside the AWS console, which shares hosts with the rest of AWS and amazon.com. This guide blocks the Q and CodeWhisperer service hosts that the IDE plugins and CLI use.
Block Amazon Q in the browser
Free: Nullgen browser extension
The Nullgen extension stops typing and pasting into the Amazon Q prompt box — and into AI prompt fields on any website, including new tools that launched last week. Everything else on the page keeps working. It runs right in Chrome, Edge, Firefox, and Safari, with no DNS or policy setup.
Managed browsers: block the sites by policy
On a school or company fleet, push the hosts above as a browser policy to block the whole Amazon Q site. These snippets use the official Chrome, Edge, and Firefox policy names.
{
"URLBlocklist": [
"codewhisperer.us-east-1.amazonaws.com",
"q.us-east-1.amazonaws.com"
]
}Chrome and Edge treat a bare hostname as the host plus every subdomain.
{
"policies": {
"WebsiteFilter": {
"Block": [
"*://codewhisperer.us-east-1.amazonaws.com/*",
"*://*.codewhisperer.us-east-1.amazonaws.com/*",
"*://q.us-east-1.amazonaws.com/*",
"*://*.q.us-east-1.amazonaws.com/*"
]
}
}
}Firefox needs both the apex and the wildcard pattern.
Need every AI tool in one file, or a .reg or macOS profile?
Open the free policy generatorBlock the Amazon Q app on phones and tablets
Nullgen mobile app
The Nullgen app blocks Amazon Q and 100+ other AI apps and sites on the whole device with an on-device filter — the app, the website, and the API, on any network, with no DNS server to run. Included with Nullgen Pro.
Without Nullgen: Screen Time on iPhone and iPad
- 1Open Settings → Screen Time → Content & Privacy Restrictions and turn restrictions on. This covers Amazon Q in Safari and in apps that use Apple’s web filter.
- 2Under Web Content, choose Limit Adult Websites — the setting that lets you deny q.us-east-1.amazonaws.com by name.
- 3Under Never Allow, add q.us-east-1.amazonaws.com. Safari and apps that use Apple’s web filter will refuse it.
- 4To keep the Amazon Q app off the device entirely, delete it and set Installing Apps to Don’t Allow, or use Ask to Buy on a child’s Apple Account.
Without Nullgen: Family Link on Android
- 1Open Family Link, choose the child, then Controls → Content restrictions → Google Chrome — where Amazon Q can be blocked by site.
- 2Choose Only allow approved sites, or add q.us-east-1.amazonaws.com under Blocked sites.
- 3Under Controls → App limits, block the Amazon Q app, or require approval for new installs from Google Play.
Block Amazon Q on your home or school network
A DNS blocker such as Pi-hole, AdGuard Home, NextDNS, or pfBlockerNG blocks Amazon Q for every device on the network — laptops, phones, consoles, and the Amazon Q app — without installing anything on them. Subscribe to the Amazon Q file from the public blocklist, or paste the rules directly.
Subscribe to the Amazon Q list
AdGuard Home, uBlock Origin, and Brave rules
||codewhisperer.us-east-1.amazonaws.com^
||q.us-east-1.amazonaws.com^DNS blocking cannot see inside a VPN or a phone on mobile data. For a block that follows the device, use the Nullgen apps or an MDM profile.
Block Amazon Q on managed devices
Schools and companies can block Amazon Q on every managed iPhone, iPad, laptop, and Chromebook from the MDM they already run — Intune, Jamf, Kandji, or Google Workspace — with per-person policies and an approval flow for legitimate use. Nullgen Pro provides the profiles and the dashboard; these guides walk through the setup.
About Amazon Q
How people use Amazon Q
Amazon Q Developer is AWS’s coding assistant. AWS describes it as working natively in IDEs, in the AWS Management Console, in the AWS Console Mobile app, and in Microsoft Teams and Slack for operations tasks. Developers use it for code generation, debugging, and migrations such as Java upgrades.
What makes Amazon Q hard to block
Amazon Q is a shared-apex case through and through. Its IDE service endpoints — q.us-east-1.amazonaws.com and codewhisperer.us-east-1.amazonaws.com — are listed, and blocking them disables the IDE plugin. Everything else runs inside AWS: the console, the mobile app, and the Teams and Slack apps use AWS’s general hosts, which cannot be blocked without blocking AWS itself.
AWS controls access to Q through IAM policies, which is the right tool for an organization that wants to turn it off for its own accounts. This page handles personal use from a managed device.
AWS’s own documentation describes Q Developer as available in IDEs, the console, the mobile console app, and Teams and Slack, and the IAM policy for Q is the organizational control for all of those. On a managed laptop, an MDM profile or DNS block for the two endpoints above disables the IDE plugin.
Questions about blocking Amazon Q
Does this block Amazon Q in the AWS Console?
No. The console runs on AWS’s general hosts, which are not listed. Use IAM policies to control Q access for your accounts. This page blocks the IDE plugin’s service endpoints. AWS documents the IAM policy for Q Developer in its user guide, linked below.
Why are the Amazon Q hostnames regional service endpoints?
Because that is what the IDE plugin connects to. There is no consumer website for the product; the endpoints are the product. The CodeWhisperer endpoint is the older name for the same service and is still used by some plugin versions.
Does blocking these endpoints affect other AWS services?
No. They are specific to Q Developer and the former CodeWhisperer service. They are in us-east-1 because that is the region AWS routes the service through.
Does the free Nullgen extension block Amazon Q?
Yes. The free extension blocks the prompt box on Amazon Q and on any other site where it recognizes an AI prompt, in Chrome, Edge, Firefox, and Safari. It works on the page itself, so it needs no policy and no DNS change.
Does this block the Amazon Q app, not just the website?
A DNS or device-level block does. The app talks to the same hostnames listed above, and every entry covers its subdomains, so the app cannot slip through on a hostname that is not listed. A browser policy or extension only covers the browser.
What happens when Amazon Q adds a new hostname?
The catalog is updated as vendors change, and the Nullgen apps, the extension, and the public blocklist all read from it, so a new hostname reaches every device without anyone editing a list by hand.
Official resources
Documentation from Amazon Q that is useful when blocking or managing it.
Block Amazon Q today
Start with the free browser extension. Add Nullgen Pro when you need the Amazon Q app blocked on phones, tablets, and desktops, with approvals for the people who really need it.