Last active
April 12, 2022 12:43
-
-
Save cp-sumi-k/66436e8a799857251d31ca4c38435304 to your computer and use it in GitHub Desktop.
https://blog.canopas.com/complete-guide-to-deploying-ssr-vite-apps-on-aws-with-automation-27676113d6ac - Security group for ECS service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: 2010-09-09 | |
Description: An ECS, ECR, ALB and cloudfront stack | |
Resources: | |
ApplicationLBToECSSecurityGroup: | |
Type: "AWS::EC2::SecurityGroup" | |
Properties: | |
GroupDescription: SG for traffic between ALB and ECS service container | |
GroupName: < SECURITY-GROUP-NAME > | |
SecurityGroupIngress: | |
- IpProtocol: -1 | |
SourceSecurityGroupId: !GetAtt ApplicationLBSecurityGroup.GroupId | |
Description: "Inbound rule for all ECS service container traffic" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment