Skip to main content

Install on AWS

Brief System Overview

Forward Enterprise can be installed on one or more nodes (in this document node refers to a VM). The customer can decide to start deploying on a single node and later seamlessly extend the cluster over multiple nodes.

Primary vs Worker nodes

The first installed node is always a primary node. Additional nodes can be installed either as primary or worker nodes. The control plane of the cluster runs on the primary nodes. On multi-node installations, we recommend having 3 primary nodes and adding additional nodes as workers.

A multi-node deployment provides additional value and flexibility:

  • Scale-out - When the cluster spans 3 or more nodes, processing is faster and able to use multiple executors. Similarly, search throughput scales with each added node.
  • High Availability (HA) - When a cluster is installed with 3 primary nodes, both system and application services are configured to automatically handle node-level failures. As long as no more than a single node goes down at a time, the complete Forward application should remain available, and should not require any administrator involvement (although there may be a transient loss of availability between when the node failure is detected and when application components are restored on other healthy nodes).
  • Flexible Resource Allocation - Users can configure resources when using multiple nodes to maximize network scale, minimize the snapshot processing time, or fully isolate different tasks, like processing, search, and collection.

Resource Requirements

Depending on the size and complexity of the networks to be modeled by the platform, we provide different recommendations on number of cluster nodes and hardware requirements of each of those nodes:

Network ElementsNumber of NodesInstance TypeDisk Size per Node
1k1r6i.8xlarge400 GB (gp3)
5k3 or morem6i.16xlarge600 GB (gp3)
15k5 or morer6i.12xlarge800 GB (gp3)
45k+7 or morer6i.12xlarge2 TB (gp3)

Larger networks require more memory to be able to model them. Total vCPUs (across nodes) determine processing speed and search throughput. At least 3 nodes are required for HA support.

Legend
  • * gp3 volume type is required.

Connectivity Requirements

External and Intra-node Connectivity

Each Forward Cluster deployment requires cluster-incoming, cluster-outgoing, cluster-internal, and node-internal connectivity.

It is simpler to allow unrestricted connectivity between cluster nodes. If unrestricted connectivity is not an option, the list of specific ports is noted below. The list below assumes any cluster node can be a primary or a worker node. For additional details about each port and its usage, please contact your Forward Networks representative.

Source IPDestination IPLayer 4 Destination Port
ExternalCluster node

22 (ssh)
443 (https)

Cluster nodeCluster node

22 (ssh)
2380 (etcd)
6443 (kube API)
8132 (Konnectivity)
9443 (k0s API)
10250 (kubelet)
4789 - UDP (Calico)

Connectivity to Network Infrastructure

Connectivity from the Forward cluster to network devices or external services is required for snapshot collection, DNS lookups, access to SMTP server, etc. The list of specific ports is noted below. For additional details about each port and its usage, please contact your Forward Network representative.

Source IPDestination IP / AddressLayer 4 Destination Port
Cluster nodeLocal DNS server53 (UDP)
Cluster nodeNetwork devices

22
23 (telnet - if needed)
179 (BGP RRC - if enabled)
BMP configurable port (if enabled)

Cluster node

Cloud Collection:
   .amazonaws.com
   
.azure.com
   .googleapis.com
   
.google.com

443
Cluster nodeVMware vCenter443
Cluster nodeOpenflow devices6653
Cluster nodeSMTP serverSMTP configurable port (if enabled)

Hostname and IP Address Requirements

Hostnames and IP addresses of cluster nodes should not change. IP addresses must be consistent across reboots, either via static allocation, or persistent allocation with a DHCP server.

Get the Installation AMI ID

When installing on AWS, Forward will need your AWS account ID in order to share the AMI. Please contact your Forward Networks representative for that. Once you have the confirmation that images are shared with you, please visit Forward Software Central to get the AMI IDs.

Forward License

Make sure to also obtain the Forward License required to run Forward Enterprise post installation. The license is needed to collect and model the network infrastructure.

Provision EC2 Instances

Provison one or more ec2 instances using the AMI IDs obtained in the previous step.

  • Login to AWS EC2 Home

  • From the left Panel Click on "Images → AMIs"

    Location Map

  • Select "Private Images" from the drop-down in the search bar, and you can see the AMI ID shared by Forward Networks.

    Location Map

  • Select the AMI and click "Launch instance from AMI" to the instance with the required configuration.

    Location Map

  • Select the Instance type and storage based on the recommendations and click "Launch Instance"

    Location Map

Installation

Log in to a VM that will be one of the primary nodes via SSH, using these default credentials:

  • Username: forward
  • Password: changeme
Change the password

Change the password or add an SSH key and disable password-based logins.

Base Installation

Node Internal Subnet

Two subnets are needed for operating the cluster. The fwd-cluster utility will attempt to default to 10.27.0.0/16 and 10.16.0.0/16. If you want to manually pick the subnets to be used, ensure that the pod/service CIDR range is larger than or equal to /22, as each node in the cluster requires a /26 subnet. This ensures sufficient IP addresses for the pods running on each node, run the following commands to configure pod/service CIDR after running the fwd-cluster utility, for example:

fwd-cluster
Forward Cluster> set pod CIDR 10.27.0.0/16
Forward Cluster> set service CIDR 10.16.0.0/16

Where 10.27.0.0/16 and 10.16.0.0/16 are respectively the pod subnet and the service subnet.

caution

Note that 2 node clusters are not supported. The number of primary nodes in a multi node cluster must be equal to 3 to ensure high availability.

Total Number of Nodes in the ClusterPrimariesWorkers
110
2 (not supported)----
330
431
532
n (6 or more)3n-3

Steps for provisioning a single-node cluster:

  • Launch the fwd-cluster utility and follow the steps shown below, to create a single-node cluster (installation takes a few minutes):

    fwd-cluster
    Forward Cluster> add <node_ip> primary [hostname]
    Forward Cluster> apply

    Ensure that the hostname provided is unique

  • The installation was successfull if you see this message at the end:

    Base installation is complete.

  • You may now exit the fwd-cluster utility using the exit command.

Steps for provisioning a multi-node cluster:

For a multi-node cluster the steps for creating a primary node are the same as single-node cluster. We can follow the same steps to add additional primary and worker nodes as shown below.

  • To add a primary node to the cluster, please launch the fwd-cluster utility and run the command add as shown below:

    fwd-cluster
    Forward Cluster> add <node_ip> primary [hostname]

    Ensure that the hostname provided is unique. In addition, it is important to ensure that number of primaries added adhere to the recommendations in the table mentioned above

  • To add a worker node, please run the following steps:

    Forward Cluster> add <node_ip> worker [hostname]

    Ensure that the hostname provided is unique

  • [Optional] At any given point, you may verify the list of nodes added by running the command list:

    Forward Cluster> list
  • Once the desired number of nodes are added, provision the cluster by running the command apply:

    Forward Cluster> apply
  • The installation was successfull if you see this message at the end.

    Base installation is complete.

  • You can now exit the fwd-cluster utility using the exit command.

App Installation

Install Forward application using the commands shown below using the fwd-cluster utility.

Forward Cluster> app install [included | path to forward-app-yy.mm.x-bb.package]

Running the command app install included installs default package that comes with the base.

Running the command app install alone will trigger a prompt asking whether to install the default app version. You may type "yes" and press ENTER to install the default package that comes with the base or "no" to provide the path to the desired forward-app-yy.mm.x-bb.package.

Running the command app install (path to forward-app-yy.mm.x-bb.package) will install forward package provided at the path.

Browser Access

Before accessing the application with a web browser, please note the following:

caution

Upon the first login, the system will ask to change the password. Be ready to store it in a safe place. The user will be able to configure external authentication mechanisms like LDAP, SSO and TACACS after the first login.

It is now time to access the browser and log into the Forward UI using the following default credentials (the system will ask to change the password):

  • username: admin
  • password: forward

Browser Login

Set the TLS certificate

By default, the server uses a TLS certificate provided by Forward Networks.

Upload your own trusted certificate in the Settings --> System -->Org Preferences page to eliminate browser security warnings.

System Settings TLS Certifica

warning

The server will be restarted after the certificate is uploaded, and may be unavailable for up to 5 minutes.

Optional: Set up load balancing

If you have installed 3 primary nodes, the control plane of the cluster is already running in HA mode. Assuming the IP address of these nodes are primary1-ip, primary2-ip and primary3-ip, you can reach the application through any of the following addresses:

https://primary1-ip/
https://primary2-ip/
https://primary3-ip/

However, if users use one of these addresses and that node is down, they will see failures. To have proper HA, it is better to use a load balancing option which has health checks. To do that you need a reverse proxy which forwards requests to port 443 to any of the healthy nodes in the cluster.

The following methods can be used to perform health checks:

  • TCP health checks on port 443.
  • HTTP health checks that issue GET /ping and expect 200 status code.

Configure License

Please follow the instructions here for configuring the license.