Deployment Guide for AWS Edge Routers

Introduction

This install guide will walk you through the steps required to run the NetFoundry VM in your VPC. 

NF_GW_private_subnet.png

You could place the VM in a private subnet or public subnet, and private subnet is typical. The private subnet is best if your Edge Router will merely host a Service that is reachable inside the VPC. The public subnet is only necessary if your Edge Router will listen for Endpoints or listen for other Edge Routers or both. For most networks, a self-hosted Edge Router will only host Services and so does not need to be reachable in a public subnet. For placement in a public subnet the instance must be configured to auto assign IP to facilitate auto-configuration of listeners. You may refer to the AWS article about IP addressing.

Before You Begin

Before you can launch an instance of the NetFoundry VM, you must subscribe to the offer in the AWS Marketplace:

  1. Visit the NetFoundry Cloud Gateway on the AWS marketplace
  2. Click on the "Continue to subscribe" button and on "Accept Software Terms"
  3. AWS Marketplace should say "We are processing your request"

The software terms need to be accepted only one time per AWS Account, after which you may launch as many VMs as you wish.

Launching the Instance

Launching a NetFoundry VM in your AWS VPC is straightforward.

  1. In the NetFoundry console, create an Edge Router that is not "hosted". This means your Edge Router is self-hosted in your AWS account instead of NetFoundry's datacenter. Click the "registration key" button to copy it to your clipboard.
  2. In AWS Marketplace, wait a minute or two for the "configuration" button to become available when your subscription is approved.
  3. In AWS Marketplace, choose the AWS region where your VPC is located. Click "Continue to launch"
  4. In AWS Marketplace change the default launch method from website to EC2 and proceed to the EC2 launch form
  5. In EC2 launch form select your VPC and the subnet in your VPC
  6. In the field "user data" enter this script, substituting the registration key from your clipboard
    #!/bin/bash
    /opt/netfoundry/router-registration {key}
    yum clean metadata && yum update -y
  7. In the NetFoundry console, confirm the Edge Router is REGISTERED within ten minutes.
  8. Now you may create a Service and select this Edge Router to host it.

Advanced Registration Parameters

In the above example we used the most simple form of the router-registration command. Know more about the registration command and the parameters available for special cases such as configuring transit link listeners in How to Register the Edge Router VM.

Troubleshooting Registration

If automatic registration seems to have failed you may instead perform manual registration with these instructions.

Alternatively, please see the article: Troubleshoot client and gateway registration errors.
 

 

Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Article is closed for comments.