InstanceSecurityGroup

The security group to assign to the ECS instances. If blank, the Rack creates a security group open to all IPs in your VPC.

| Default value | "" |

Use Cases

  • Restricting inbound traffic to instances from specific CIDR ranges or security groups
  • Applying a pre-existing security group that meets your organization's network security policies
  • Locking down instance access in environments where the default open-VPC security group is too permissive

Additional Information

The value should be a valid AWS Security Group ID, for example:

$ convox rack params set InstanceSecurityGroup=sg-0abc1234def56789a

When this parameter is blank, Convox creates a default security group that allows all traffic from within the VPC. If you provide a custom security group, ensure it permits the necessary traffic for the ECS agent, load balancers, and inter-container communication.

If you also need to customize the security group for build instances specifically, see BuildInstanceSecurityGroup.

See Also