Restricting access with IP allow lists
Updated · 2 min read
By default, anyone on the internet can reach the Sandbox Studio sign-in page. You can limit the API to your organisation's IP ranges, for example your office networks or VPN.
How the allow list works#
The allow list is enforced by the AWS WAF web ACL on the Sandbox Studio API. Requests from other addresses are blocked, so the application can't be used from them.
You set the IPv4 ranges during installation, at the prompt
Enter comma-separated list of CIDR ranges for API access, or withallowed_ip_rangesin a configuration file.The default,
0.0.0.0/1,128.0.0.0/1, allows every IPv4 address. (AWS WAF doesn't accept0.0.0.0/0, so "everything" is written as two halves.)Enter ranges in CIDR form, separated by commas, for example
203.0.113.0/24,198.51.100.10/32.
IPv6#
New in v1.3, the web ACL also checks IPv6 addresses. The installer leaves this on automatic:
While IPv4 is open to everyone, all IPv6 addresses are allowed too.
As soon as you restrict IPv4, all IPv6 addresses are blocked. Users whose network reaches Sandbox Studio over IPv6 are then blocked unless you allow their IPv6 ranges.
To allow specific IPv6 ranges, set the AllowListedIPv6Ranges parameter on the SandboxStudio-API stack in the hub account to a comma-separated list of IPv6 CIDRs, or to none to block all IPv6.
What stays reachable#
The web pages themselves are served by CloudFront and aren't filtered, but without API access they can't show any data or make changes.
Two public endpoints stay open to everyone, because AWS STS must reach them when users open sandbox accounts: the OpenID Connect discovery document and the signing keys.
Rate limiting#
The web ACL also limits each IP address to 200 API requests per minute and returns HTTP 429 above that. Users behind one shared NAT or proxy share the limit, which can matter during large workshops.
You can raise the limit by editing the SsRateLimitRule rule in the web ACL in the hub account, but an update resets it to 200, so re-apply your change after each update.
Changing the IPv4 allow list later#
Run the installer again (see Update Sandbox Studio), answer Yes to Would you like to update any settings before upgrading?, and enter the new ranges.



