CLOUD-IP // v2026.07
UPDATED 2026-07-11 PROVIDERS 37 LIVE
// AWS / NGINX

AWS · Nginx

Nginx allow/deny config for AWS. Drop into your server block or http context. 16,259 CIDRs, refreshed daily.

// nginx_aws_allow.conf

DOWNLOAD ↓  · 
# Aws IP Ranges
# Updated: 2026-07-11 03:10:41
# Source: https://github.com/rezmoss/cloud-provider-ip-addresses
# License: https://github.com/rezmoss/cloud-provider-ip-addresses/LICENSE
# This file is generated automatically. Do not edit it directly.
# Updates daily at 02:00 UTC
# To restrict access to only these IPs in nginx,
# add the following line to your server block in your nginx configuration file (e.g., /etc/nginx/nginx.conf or /etc/nginx/sites-available/default):
# include /path/to/nginx_aws_allow.conf;

allow 1.178.1.0/24;
allow 1.178.4.0/22;
allow 1.178.8.0/22;
allow 1.178.16.0/20;
allow 1.178.64.0/23;
allow 1.178.72.0/21;
allow 1.178.86.0/24;
allow 1.178.88.0/21;
allow 1.178.100.0/22;
allow 1.178.172.0/23;
allow 1.178.174.0/24;
allow 1.179.2.0/23;
allow 1.179.14.0/23;
allow 1.179.60.0/23;
allow 1.179.101.0/24;
… (3759 more lines)

// nginx_aws_deny.conf

DOWNLOAD ↓  · 
# Aws IP Ranges
# Updated: 2026-07-11 03:10:41
# Source: https://github.com/rezmoss/cloud-provider-ip-addresses
# License: https://github.com/rezmoss/cloud-provider-ip-addresses/LICENSE
# This file is generated automatically. Do not edit it directly.
# Updates daily at 02:00 UTC
# To deny access from these IPs in nginx,
# add the following line to your server block in your nginx configuration file (e.g., /etc/nginx/nginx.conf or /etc/nginx/sites-available/default):
# include /path/to/nginx_aws_deny.conf;

deny 1.178.1.0/24;
deny 1.178.4.0/22;
deny 1.178.8.0/22;
deny 1.178.16.0/20;
deny 1.178.64.0/23;
deny 1.178.72.0/21;
deny 1.178.86.0/24;
deny 1.178.88.0/21;
deny 1.178.100.0/22;
deny 1.178.172.0/23;
deny 1.178.174.0/24;
deny 1.179.2.0/23;
deny 1.179.14.0/23;
deny 1.179.60.0/23;
deny 1.179.101.0/24;
… (3759 more lines)