Ensure ECS service tasks run in private subnets
ECS tasks should run in private subnets with NAT gateways or VPC endpoints for internet access.
Security Impact
Tasks in public subnets with public IPs are directly exposed to the internet.
How to Remediate
Deploy ECS services in private subnets. Use ALB in public subnets for public-facing services.
Affected Resources
Compliance Frameworks
How TigerGate Helps
TigerGate continuously monitors your AWS environment to detect and alert on this misconfiguration. Here's what our platform does for this specific check:
- Continuous Scanning
Automatically scans all Elastic Container Service (ECS) resources across your AWS accounts every hour
- Instant Alerts
Get notified via Slack, email, or webhooks when this misconfiguration is detected
- One-Click Remediation
Fix this issue directly from the TigerGate dashboard with our guided remediation
- Compliance Evidence
Automatically collect audit evidence for SOC 2, PCI-DSS, NIST 800-53 compliance
- Drift Detection
Get alerted if this configuration drifts back to an insecure state after remediation
Check Details
- Check ID
- aws-ecs-15
- Service
- Elastic Container Service (ECS)
- Category
- Network Security
- Severity
- MEDIUM
Automate This Check
TigerGate automatically scans your AWS environment for this and 575+ other security checks.
Start Free TrialRelated Elastic Container Service (ECS) Checks
View all checksEnsure ECS task definitions do not run as root
Ensure ECS task definitions use read-only root filesystem
Ensure ECS task definitions do not grant privileged access
Ensure ECS task definitions do not share host namespaces
Ensure ECS task definitions have logging configured