Skip to content

Commit ce2829f

Browse files
committed
Add security note to README
- Document permissive IAM and security group configurations - Explain why they exist (demo/learning purposes) - Provide production security recommendations - Recommend deployment in non-production environments
1 parent c8075d1 commit ce2829f

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

sfn-ecs-python-sam/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@ Learn more about this pattern at Serverless Land Patterns: https://serverlesslan
66

77
**Important:** This application uses various AWS services and there are costs associated with these services after the Free Tier usage - please see the [AWS Pricing page](https://aws.amazon.com/pricing/) for details.
88

9+
## Security Note
10+
11+
This pattern is designed for learning and demonstration purposes. The IAM roles and security group use permissive configurations to simplify deployment and focus on the integration patterns:
12+
13+
- **Security Group**: Allows all outbound traffic (required for pulling Docker images and calling AWS APIs)
14+
- **IAM Roles**: Use wildcard (`*`) resources for ECS task management and Step Functions callbacks
15+
16+
**For production use**, you should:
17+
- Restrict security group egress to specific AWS service endpoints using VPC endpoints
18+
- Scope IAM policies to specific resources (task definitions, state machines)
19+
- Implement least privilege access based on your security requirements
20+
- Consider using AWS PrivateLink for service-to-service communication
21+
- Enable VPC Flow Logs for network traffic monitoring
22+
23+
Deploy this pattern in a non-production AWS account or isolated environment for testing.
24+
925
## Requirements
1026

1127
* [Create an AWS account](https://portal.aws.amazon.com/gp/aws/developer/registration/index.html) if you do not already have one and log in. The IAM user that you use must have sufficient permissions to make necessary AWS service calls and manage AWS resources.

0 commit comments

Comments
 (0)