From bf7675410430c5af93313f3b0601048b688cbf67 Mon Sep 17 00:00:00 2001 From: Mokhtar Naamani Date: Tue, 12 Sep 2023 09:58:20 +0400 Subject: [PATCH] aws ec2 instances: update sec policy to make tcp ports 8081 and 4000 reachable Make the ports reachable as they will be behind external load balancer. --- devops/aws/cloudformation/single-instance.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/devops/aws/cloudformation/single-instance.yml b/devops/aws/cloudformation/single-instance.yml index 228cd16720..c9ab159775 100644 --- a/devops/aws/cloudformation/single-instance.yml +++ b/devops/aws/cloudformation/single-instance.yml @@ -44,6 +44,14 @@ Resources: FromPort: 30333 ToPort: 30333 CidrIp: 0.0.0.0/0 + - IpProtocol: tcp + FromPort: 8081 + ToPort: 8081 + CidrIp: 0.0.0.0/0 + - IpProtocol: tcp + FromPort: 4000 + ToPort: 4000 + CidrIp: 0.0.0.0/0 Tags: - Key: Name Value: !Sub '${AWS::StackName}_substrate_node'