Limit endpoints to source addresses
On AWS, a deployment's public endpoints can now accept traffic only from the address ranges you list, for example the ranges of a CDN or WAF in front of them:
alien deployments set-endpoint-source-ranges customer-1/us-east-1 \
--range 203.0.113.0/24 --range 2001:db8::/32- No setup update: the change rolls out as a deployment update in about a minute, with no restarts
- Ports 443 and 80: on the load balancers of Container HTTP endpoints and Daemon endpoints
- Up to 25 ranges: IPv4 or IPv6.
--anyopens the endpoints to everyone again. - Refused where it can't be enforced: other platforms, pull deployments, private endpoint access, stacks with Worker or TCP public endpoints, and managers too old to apply the list. Nothing is saved, so no endpoint stays open by mistake.