You must create firewall rules for the Compute Gateway of each SDDC in the group. Without these rules, workloads running on group members cannot use VMware Transit Connect to communicate with each other.
Because all members of an SDDC Group are owned by the same VMware Cloud on AWS organization, network traffic among members of the group can be safely treated as East-West traffic, rather than North-South traffic that might have an external source or destination. But since an SDDC compute gateway's default firewall rules reject external traffic, you'll need to create firewall rules allowing that traffic through the compute gateway of each SDDC in the Group. (SDDC Groups do not currently need to route network traffic through members' management gateways.)
- Transit Connect Customer TGW Prefixes
- Routes learned from customer-owned AWS Transit Gateways.
- Transit Connect DGW Prefixes
- Routes learned from the group's Direct Connect Gateway.
- Transit Connect Native VPCs Prefixes
- Routes learned from the group's attached VPCs.
- Transit Connect other SDDCs Prefixes
- Routes learned from other SDDCs in the group.
For more information, see Add or Modify Compute Gateway Firewall Rules and Working With Inventory Groups.
Procedure
Example: CGW Firewall Rules with User-Defined Inventory Groups to Allow Workload Traffic Between Group Members
These examples show how to use NSX Manager to create inventory groups and firewall rules. You can also use the VMware Cloud Console Networking & Security tab for this workflow. See SDDC Network Administration with NSX Manager.
- Create the Groups
-
In NSX Manager, click ADD GROUP and create three groups. You can use any names you want for the groups. The ones we show here are just examples., then click
- A group named Local Workloads that includes segment prefixes for the SDDC's own workload segments.
- A group named Peer Workloads that includes segment prefixes for workload segments of other SDDCs in the group.
- A group named Peer SDDC vCenters that includes the private IP address of the vCenter in each SDDC in the group.
For each group, click Set in the Compute Members column to open the Set Members tool. In this tool, you can click ADD CRITERA and enter the IP Addresses or MAC Addresses of group members. You ca also click to import these values from a file.
- Create the Rules
-
As shown in Step 2, open the Gateway Firewall card, click Compute Gateway, then click ADD RULE to create new rules that use the inventory groups you created for their Sources and Destinations. You can use any names you want for the rules. The ones we show here are just examples.
Name Sources Destinations Services Local workload to peer workload Local Workloads Peer Workloads As needed for outbound traffic from local workloads to workloads in other group members Peer workload to local workload Peer Workloads Local Workloads As needed for in traffic to local workloads from workloads in other group members