Amazon Web Services uses 74 prefixes for EC2_INSTANCE_CONNECT.
Short answer
EC2_INSTANCE_CONNECT lists the addresses the EC2 Instance Connect service uses to open SSH sessions to instances.
Prefixes
What changed
No prefixes added or removed since we started tracking this list. Changes appear here the day after the provider publishes them.
Allowlist formats
nginx (first 5 prefixes)
allow 13.209.1.56/29; allow 13.233.177.0/29; allow 13.239.158.0/29; allow 13.244.121.196/30; allow 13.48.4.200/30; deny all;
iptables (first 5 prefixes)
iptables -A INPUT -s 13.209.1.56/29 -j ACCEPT iptables -A INPUT -s 13.233.177.0/29 -j ACCEPT iptables -A INPUT -s 13.239.158.0/29 -j ACCEPT iptables -A INPUT -s 13.244.121.196/30 -j ACCEPT iptables -A INPUT -s 13.48.4.200/30 -j ACCEPT
Generate the full list from the CSV, and refresh it on a schedule: providers add and retire prefixes often.
Sources
- Amazon Web Services: published IP ranges · checked 5 Nov 2026
- Amazon Web Services documentation