CoPilot Access Control is a Preview feature in CoPilot 4.35. It requires
Aviatrix Controller 9.0 or later.
- CoPilot-Managed (recommended). Aviatrix manages access at the CoPilot instance using host-level filtering. Broad, generic security-group rules let Aviatrix admit traffic from many gateways without creating a separate rule per gateway, so this mode scales to large environments without hitting cloud-provider rule limits.
- Security Group Rules. Aviatrix creates and removes per-gateway inbound rules on the CoPilot security group in your cloud provider. Each gateway gets its own rules, so this mode is subject to the cloud provider’s security-group rule limits.
CoPilot Access Control is not supported on Alibaba Cloud or OCI.
Ports and Features
Whichever mode you choose, the following inbound ports must be reachable on CoPilot for the corresponding feature to work.
In CoPilot-Managed mode, Aviatrix opens these ports in the CoPilot security
group with broad rules and filters traffic at the CoPilot instance. In
Security Group Rules mode, Aviatrix adds per-gateway rules for these ports
as gateways are launched, and removes them when gateways are deleted.
Limitations of Security Group Rules Mode
Security group rules are subject to cloud-provider rule limits. As your environment grows, reaching these limits may prevent new rules from being applied, resulting in gateway connectivity issues or traffic loss. For this reason, Security Group Rules mode is not recommended for large environments. The following features require ports that are not supported by default in Security Group Rules mode:- Syslog over TCP — TCP 5000
- NetFlow over TCP — TCP 31282
Enabling CoPilot Access Control
When CoPilot Access Control is not yet configured, the CoPilot Access Control card displays an Enable button. CoPilot also displays a banner at the top of the page with a View Settings link. To enable CoPilot Access Control:1
Open Security settings
Go to Settings > Configuration > General and scroll to the
Security section.
2
Open the CoPilot Access Control card
On the CoPilot Access Control card, click Enable.
3
Choose a mode
Under Mode, select CoPilot-Managed (recommended) or
Security Group Rules.On a greenfield CoPilot, CoPilot-Managed is disabled until you have
enabled Security Group Rules at least once.
4
Confirm the target VPC/VNet and CoPilot instance
The VPC/VNet where CoPilot is deployed and the CoPilot instance
populate automatically. If they do not, select them from the dropdown
menus.For a clustered CoPilot deployment, select the Main Server CoPilot
instance.
5
Acknowledge limitations (Security Group Rules only)
If you selected Security Group Rules, expand Limitations of
Security Group Rules Mode and review the warnings before continuing.
6
Save
Click Save.
Switching Modes
You can switch between modes at any time:1
Open Edit Configuration
On the CoPilot Access Control card, click Edit Configuration.
2
Select the new mode
Under Mode, select CoPilot-Managed or Security Group Rules.
3
Save
Click Save.
Disabling CoPilot Access Control
Disabling CoPilot Access Control removes the gateway-specific rules that Aviatrix added to the CoPilot security group. Rules you manually added to the base security group are not affected. To disable CoPilot Access Control:1
Open Security settings
Go to Settings > Configuration > General and scroll to the
Security section.
2
Open Edit Configuration
On the CoPilot Access Control card, click Edit Configuration.
3
Disable
Click Disable at the bottom of the dialog and confirm.
CSP Security Group Rule Limits
AWS and Azure cap the number of rules in a security group, and GCP caps the number of rules in a firewall policy. In Security Group Rules mode, the CoPilot Access Control card displays a warning as you approach the limit:Consider switching to CoPilot-Managed Access as you approach cloud provider Security Group Rule Limits.When the rule count is high, the recommended action is to switch to CoPilot-Managed mode, which uses broad rules and host-level filtering and is not bound by per-gateway rule counts. As an alternative, you can request a security-group quota increase from your cloud provider.