- 02 Nov 2023
- 8 Minutes to read
- Print
- DarkLight
Provision and Launch Virtual iNodes and Virtual Edge iNodes with Amazon Web Services
- Updated on 02 Nov 2023
- 8 Minutes to read
- Print
- DarkLight
This article describes how to provision and launch Virtual iNodes and Virtual Edge iNodes on Amazon Web Services (AWS).
Provisioning and Launching Virtual iNodes on AWS
In this section, learn how to provision and launch a Virtual iNode on AWS.
Provision a Virtual iNode on AWS
To provision a Virtual iNode, follow these steps:
- To add a Virtual iNode, start in the Secure Edge Portal left menu by selecting the plus icon (+) to display Add iNode.
- Enter the iNode Name.
- Optionally, you can also specify custom attributes as Label.
- Select the Virtual profile.
- Download the iNode security credentials that you’ll need when you launch the Virtual iNode by selecting aws. Note that you can download this file only once. The file contains secure credentials used by the Virtual iNode. Save the downloaded file in a safe place. Don’t share it.
- Then select Add iNode.
Launch a Virtual iNode
To launch a Virtual iNode, follow these steps:
- Login to the AWS account using your AWS credentials.
- To launch a Virtual iNode on AWS, you need access to the Secure Edge virtual iNode AMI for the region in which you want to launch. If you don’t already have the AMI, ask Secure Edge support to share it with your account.
- When you have access to the AMI you need, select the region in which you’ll launch.
- In the management console, under All services, select EC2 in the Compute section.
- Under Create Instance, select Launch Instance to launch a new virtual instance.
- When you’re prompted to choose the AMI, select the AMI Secure Edge gave you, under My AMIs.
- On the Choose an Instance Type page, select t2.medium or higher. The minimum requirement is t2.medium. Then select Next Configure Instance Details.
- On the Configure Instance Details page, select the Network (Virtual Private Cloud, VPC) and the Subnet in which you want to deploy the Virtual iNode.
- Select Auto-assign Public IP to be Enable.
- Near the bottom of the Configure Instance Details, select Advanced Details. For User data, select As file and attach the iNode security credentials file downloaded in Provisioning a Virtual iNode (AWS).
- Select Next: Add Storage. Leave the default setting for Storage and select Next: Add Tags.
- You can use tags for easy lookup in a pool. When you’re done, select Next: Configure Security Group.
- Name the security group and configure the following policies:
Type Protocol Source All traffic
All
Inter VPC/Subnet/YourIP
HTTPS
TCP
0.0.0.0/0
- Select Review and Launch, and check the configurations. Edit if needed, then select Launch.
- Select Actions > Networking > Change Source/Dest. Check. Disable the Source/Dest Check.
When the instance is established and running, you’ll see its status as ALIVE in the Secure Edge Portal.
Configuring routing
To configure routing for the application servers to reach the local network through the Virtual iNode, follow these steps:
- Copy the Instance ID of the Virtual iNode.
- In VPC, select Route Tables.
- Select your VPC and select Routes.
- Select Edit Routes. Add the network CIDR of the local network protected by your Edge iNode in the Destination. Select Target as Instance and then the Virtual iNode. This will autopopulate the Instance ID.
- Select Save Routes.
Provisioning and Launching Virtual Edge iNodes with AWS
A Virtual Edge iNode is an Secure Edge network element that is a AWS instance located at
the edge of your private network. This section describes how to provision and launch Virtual Edge iNodes on AWS
Provision Virtual Edge iNodes
Set up Virtual Edge iNodes using the Secure Edge Portal to add them as a network element, assign them to local networks, and add attributes.
Before you start, make sure you have an SSH public key to use for access authentication of the Edge iNode console. For more on SSH key management, see Managing SSH Key Authentication for an iNode
Add an AWS Virtual Edge iNode
To add a new Virtual Edge iNode, follow these steps:
- To add an iNode, in the Secure Edge Portal left menu, select the plus icon (+) > Add iNode.
- Enter the iNode name.
- Optionally, specify any custom attribute as Label. (For more on labels, see Using Labels.)
- Select the Virtual Edge profile.
- For SSH Key, select the name of the SSH public key for use when logging into the console of this iNode. (If you don’t have an SSH public key to use, see Managing SSH Key Authentication for an iNode.)
- To get the required security credentials to launch the Virtual Edge iNode, select AWS to download the iNode security credentials file. Save the downloaded file.The iNode security credentials file is downloadable only once and contains secure credentials to be used by the Virtual iNode. Save it in a safe place and don’t share it with anyone. After creation of the Virtual iNode, you should destroy the credential file.
- Select Add iNode.
Add the Local Network to be Protected by this Virtual Edge iNode
- Select the name of the newly added iNode to display the iNode details page.
- To specify the local network that will be protected by this iNode, select the plus icon (+) to display the Add Network page. Enter the network name in the Name field, and optionally, specify any custom attribute as a Label. (For more on labels, see Using Labels.)
- Manually configure static IP addresses for the hosts in this network. (The Network Addressing field is set to Static.)
- Specify the network's CIDR in the Network CIDR field.
- Specify a range of IP addresses (at least one) to reserve for iNode internal use. These IP addresses must be part of the same IP subnet as the local network's CIDR.
- In Defauly Gateway, you can specify the IP address of the default gateway in your local network. If you don't specify a default gateway, the Start IP Address in the Internal IP Reserved Address Range is assumed to be the default gateway.
- You may have the option of configuring Virtual LANs (VLANs). (For more on VLANs, see Using VLANs on Edge iNodes.)
- Any traffic from the local network with a destination outside the local network (for example, traffic going to the internet or LAN) is sent to the default destination. You can set the Default Destinationto one of the following:
- None (default), which results in dropping the traffic
- Specify IP Address, which sends the traffic to the IP address of a gateway in the local network that you specify
- WAN Network, which sends the traffic through the iNode uplink
- Click Save.
Set Up Addressing for Services
If you aren’t planning to run services on this network, skip this step.
By default, the Virtual Edge iNode assigns IP addresses to services on the network dynamically from the Internal Reserved IP Address Range you specified. If you’re using the default, make sure you’ve reserved enough IP addresses. You need at least one more than the number of services you plan to run.
If you plan to configure the services manually with static IP addresses, follow these steps:
- Select the Services expansion panel and set Service Addressing to Static.
- Select Save.
Create Static Routes for a Virtual Edge iNode
Create static routes if you want:
- Services running on the Virtual Edge iNode to reach specific routed network segments behind the iNode
- Hosts in the local network to reach specific networks in your LAN or the internet
- Select the Static Routes expansion panel and select Add to add a new static route. You can add up to 64 static routes per network. Note that if you set Default Destination to a value other than None, it uses up a static route.
- Specify the CIDR of the destination network in the Destination Network CIDR field.
- Select where to send the traffic going to the destination network in the Via field. Select one of the following:
- Specify IP Address, which sends the traffic to the IP address of a gateway in the local network that you specify
- WAN Network, which sends the traffic through the iNode uplink
- Select Save.
Launch Virtual Edge iNodes
To launch a Virtual Edge iNode, follow these steps:
- Sign in to the AWS account using your AWS credentials.
- To launch a Virtual Edge iNode on AWS, you need access to the Secure virtual Edge iNode AMI for the region in which you want to launch. If you don’t already have the AMI, ask Secure Edge support to share it with your account.
- When you have access to the AMI you need, select the region.
- In the mangement console under All services, in the Compute section select EC2.
- Under Create Instance, select Launch Instance to launch a new virtual instance.
- When you’re prompted to choose the AMI, select the AMI Secure Edge gave you under My AMIs.
- On the Choose an Instance Type page, select t2.medium or higher. The minimum requirement is t2.medium. Then select Next > Configure Instance Details.
- On the Configure Instance Details page, edit network setting and select the Network (Virtual Private Cloud, VPC) and the Subnet in which you want to deploy the Virtual iNode.
- Set Auto-assign Public IP to Disable.
- From Advanced network settings, add two interface to the instance from the same availability zone but different networks. Network subnet 1 will be public network and network subnet 2 can be public or private.
- Leave the default settings for Configure Storage.
- Select Advanced Details. For User data, select As file and attach the iNode security credentials file downloaded during provisioning.
- Once instance is created, attach an elastic IP to the 1st interface (eth0).
- Select Actions > Networking > Change Source/Dest. Check. Disable the Source/Dest Check.
- In the AWS console, attach a security group with following rules to the instance :
orType Protocol Outbound All traffic All 0.0.0.0/0 Type Protocol Source DNS TCP/UDP port 53 0.0.0.0 HTTPS TCP 34.217.170.7
54.185.195.11 - When the instance is established and running, you’ll see its status as ALIVE in the Secure Edge Portal.
- When creating a TAN in a Virtual Edge iNode, specify the gateway IP as the private IP that is associated to the interface #2. Also, ensure that the TAN CIDR is same the subnet of network #2. If you specify a reserved IP range for the TAN, ensure that the same range is excluded in the subnet autoassignment.
Configuring routing
To configure routing for devices behind the Virtual Edge to reach the virtual network through the Virtual Edge iNode, follow these steps:
- Copy the TAN Interface ID of the Virtual Edge iNode.
- In VPC, select Route Tables.
- Select your VPC and select Routes.
- Select Edit Routes. Add the network CIDR of the destination network protected by your Edge iNode in the Destination. Select Target as Instance and then paste the copied Interface ID. This will autopopulate the Instance ID.
- Select Save Routes.