Use this when limiting network exposure of cloud workloads.
Cloud Network Security
Cloud network security uses private subnets, security groups, network ACLs, private endpoints and firewalls to limit what can reach cloud workloads, avoiding public IPs and open management ports.
1. Cloud network security: VPC/VNet design, security groups/NSGs, private endpoints, firewalls.
2. No 0.0.0.0/0 to admin ports.
3. Private access to PaaS.
4. Flow logs.
5. Centralised egress.
traffic → SG/NSG → cloud firewall → resource
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Common mistakes Narrow the fault
- Security groups allowing 0.0.0.0/0 to management ports.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
aws ec2 describe-security-groups— security groupsaz network nsg list -o table— Azure NSGs- VPC flow logs enabled — visibility
ReferenceWhy it matters1 section · depth on demand
Network controls
| Control | AWS | Azure |
|---|---|---|
| Stateful instance firewall | Security groups | NSGs |
| Subnet-level filter | NACLs | NSGs on subnets |
| Private access to PaaS | VPC endpoints / PrivateLink | Private endpoints |
| Central firewall | AWS Network Firewall | Azure Firewall |
| Web protection | AWS WAF | Application Gateway WAF / Front Door |
Avoid public IPs on VMs; use bastion services or VPN/ZTNA for admin access.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Cloud network security controls traffic in and between cloud networks (VPCs, VNets) using cloud-native constructs: security groups, network ACLs, route tables, private endpoints, cloud firewalls and WAFs. The principles match on-premises networks, but configuration is software-defined and changes quickly.
| Control | Purpose |
|---|---|
| Private subnets | Workloads without public IPs |
| Security groups / NSGs | Stateful per-instance filtering |
| Network ACLs | Stateless subnet-level filtering |
| Private endpoints / PrivateLink | Reach cloud services without internet |
| Cloud firewall / NVA | Central inspection, egress control |
| Flow logs | Visibility for detection and troubleshooting |
Manage cloud networks as code, review changes, and continuously scan for exposures such as management ports open to 0.0.0.0/0.
Controls by provider
| Control | AWS | Azure | GCP |
|---|---|---|---|
| Instance-level filter | Security groups | NSGs | Firewall rules |
| Subnet-level filter | NACLs | NSG on subnet | Firewall rules |
| Managed firewall | Network Firewall | Azure Firewall | Cloud NGFW |
| Private service access | PrivateLink | Private Endpoint | Private Service Connect |
| Flow logs | VPC Flow Logs | VNet flow logs | VPC Flow Logs |
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Cloud Security → Cloud Network Security. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/210/final · confidence 94%