You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Document permissive IAM and security group configurations
- Explain why they exist (demo/learning purposes)
- Provide production security recommendations
- Recommend deployment in non-production environments
Copy file name to clipboardExpand all lines: sfn-ecs-python-sam/README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,22 @@ Learn more about this pattern at Serverless Land Patterns: https://serverlesslan
6
6
7
7
**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.
8
8
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
+
9
25
## Requirements
10
26
11
27
*[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