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' diff --git a/scripts/compute-runtime-blob-hash.sh b/scripts/compute-runtime-blob-hash.sh index be47c1bfd1..8e3bf69fb4 100755 --- a/scripts/compute-runtime-blob-hash.sh +++ b/scripts/compute-runtime-blob-hash.sh @@ -6,7 +6,7 @@ set -e # for deterministic builds. # Assumes b2sum is already instally on the host machine. -SCRIPT_PATH=`$(dirname "${BASH_SOURCE[0]}")` +SCRIPT_PATH=`dirname "${BASH_SOURCE[0]}"` cd $SCRIPT_PATH CODE_SHASUM=`./runtime-code-shasum.sh`