CLISecurity Groups
Security Groups
hudl commands for managing security groups on Huddle Cloud.
hudl exposes every Security Groups endpoint as a first-class command. They map 1:1 to the Security Groups API reference, so anything you can do through the API or dashboard you can do here.
Security groups act as virtual firewalls that control inbound and outbound traffic for your instances. Each security group contains a set of rules that specify allowed protocols, ports, and source/destination CIDRs.
Commands
| Command | Description |
|---|---|
hudl sg list | List all security groups in the current region. |
hudl sg get <id> | Show a security group and all of its rules. |
hudl sg create <name> | Create a new (empty) security group. |
hudl sg delete <id> | Permanently delete a security group. |
hudl sg duplicate <id> --target-region <region> | Clone an existing security group into another region. |
hudl sg rule add <sg-id> | Add a single ingress or egress rule to a security group. |
hudl sg rule delete <sg-id> <rule-id> | Remove a single rule from a security group. |