Instructions on how to deploy a Virtual Edge with CloudFormation templates are described below. However, make sure to adhere to the prerequisite requirements prior to deployment.
The following are required before you begin to deploy the Virtual Edge with CloudFormation templates:
- AWS account and login information
- Familiarity with AWS networking concepts (see: https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Networking.html)
- RSA Public Key (see: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html)
- VMware CloudFormation Template (one of the following):
- Green Field Deployment (download here)
- Brown Field Deployment (download here)
- SD-WAN Orchestrator target and admin account to login
In a basic topology example, the AWS VPC (10.0.0.0/16) is divided into a Public subnet (10.0.0.0/24) and a Private subnet (10.0.1.0/24). The Virtual Edge routes between the two subnets. The Public VPC Routes will forward all offnet traffic to the Internet Gateway. The VPC Router in the Private subnet will forward all traffic to the LAN facing interface on the Virtual Edge (ENI of GE3). In this example, a default route is used to forward all traffic from the workloads, but is not necessary. RFC1918 summarization or specific branch/hub prefixes can be used to narrow what is sent to the Virtual Edge. For example, if the workloads in the Private Subnet need to be accessible via the SSH from publicly sourced IPs, then the VPC Router could be configured to point the default route (0.0.0.0/0) to the Internet Gateway and RFC1918 summarization to the Virtual Edge.
Step 1: Add the Virtual Edge to the Enterprise via the SD-WAN Orchestrator
- Login to the SD-WAN Orchestrator.
- Go to Configure > Edges from the navigation panel, and click the New Edge button.
The Provision New Edge dialog displays.
- In the Provision New Edge dialog box:
- Type in a name for the Virtual Edge in the Name text box.
- In the Model drop-down menu, choose Virtual Edge.
- In the Profile dropw-down menu, choose a profile for the Virtual Edge.
- Leave the High Availablity checkbox unchecked because it does not apply.
- Leave the Serial Number text box blank.
- Click Save.
- The Virtual Edge will be provisioned with an activation key. Make a note of the activation key, as it will be used when you deploy the CloudFormation template.
Step 2: Add VLAN IP
The VLAN configuration must have an IP address assigned to it in order to save the Device Settings, but the IP address will not be used. For example, use IP address 169.254.0.1. Follow the steps below to add the VLAN IP address.
- For the Virtual Edge that was just created, click the Device tab on the SD-WAN Orchestrator.
- Scroll down to the Configure VLAN section, and click the Add VLAN button.
The VLAN dialog box displays.
- In the VLAN dialog box complete the following:
- As necessary, enable Edge override by checking the Edge Override checkbox.
- Choose a segment from the Segment drop-down menu.
- The VLAN Name displays the default name and can be ignored.
- The VLAN ID displays the default value and can be ignored.
- Assign Overlapping Subnets is disabled by default.
- Enter 169.254.0.1 in the Edge LAN IP Address text box.
- Enter 24 in the Cidr Prefix text box.
- The Network value will be configured based on the Cidr Prefix.
- Leave the Advertise checkbox unchecked.
- The remaing fields (Multicast, Fixed IPs, LAN Interfaces, and SSID) can be left at their default settings.
- As necessary, enable SD-WAN Edge override by checking the Edge Override checkbox to disable DHCP.
- For the DHCP Type, click Disabled.
- The OSPF area, can be ignored.
Step 3: Configure Virtual Edge Interfaces
WARNING: The Device Settings must be configured first in the SD-WAN Orchestrator first before SD-WAN Edge activation. If you skip this step, the Virtual Edge will activate, but will go offline a few minutes later.
- Navigate to the Virtual Edge's Device Settings (Configure > Edge > Device tab).
- Scroll down to the Interface Settings section.
- Click the Edit link for the GE2 interface to change the interface settings.
The dialog box for the GE2 interface settings displays.
- In the GE2 Interface Settings dialog box, click the Override Interface checkbox and complete the following steps:
- In the Capability drop-down menu, change the GE2 interface capability from Switched to Routed.
- Choose DHCP from the Addressing Type drop-down menu.
- Enable the WAN Overlay by checking the WAN Overlay checkbox.
- Click the Edit link for the GE3 interface to change the interface settings.
The dialog box for the GE3 interface settings displays.
- In the GE3 interface settings dialog box, click the Override Interface checkbox and complete the following steps:
- Disable the WAN Overlay by unchecking the WAN Overlay checkbox, as this interface will be used for the LAN-side gateway.
- Uncheck the NAT Direct Traffic checkbox to disable NAT direct traffic.
Step 4: Launch Virtual Edge via CloudFormation
- Log into the AWS console.
- Create or Import a Key Pair.
NOTE: For additional information regarding AWS EC2 Instance Keys see: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html
- Navigate to CloudFormation.
- Create a CloudFormation stack.
- Upload the CloudFormation template.
- Specify the stack details as indicated in the image below.
For the few remaining screens, you can leave those parameters, fields, or text boxes as default settings unless you have a specific need to change them. The final step is to create the stack.
- Review and create the stack.
- Monitor your deployment progress.