An Azure service that provides a general-purpose, serverless container platform.
Hi @AzureRACO ,
Thanks for reaching out to Microsoft Q&A.
There is no supported way to:
- Keep ACA ingress public
- AND apply subnet NSGs
- AND selectively expose apps
Microsoft explicitly states inbound NSGs don't apply to public ACA ingress.
To allow public access while controlling it:
- Convert ACA environment to Internal
- Deploy Application Gateway v2 (WAF optional)
- Expose only required apps via:
- Host-based routing or
- Path-based routing
- Apply:
- NSGs to App Gateway subnet
- WAF/IP rules at the gateway
References:
Protect Azure Container Apps with Web Application Firewall on Application Gateway