Skip to main content

Deploying VNF and Instance Within VNF

This section provides a step-by-step guide for deploying a Virtual Network Function (VNF)β€”specifically a virtual firewall and provisioning an instance behind it using the Ananta cloud platform. This setup allows users to route instance traffic through the VNF, enabling secure and segmented network environments.

It is ideal for use cases requiring:

  • Advanced traffic control
  • Isolation
  • Policy enforcement

The following are the high level steps required for deploying VNF and instance within VNF:

  1. Creating The New Virtual Firewall
  2. Configuration Options For Virtual Firewall
  3. Deploying Virtual Firewall
  4. Viewing Firewall Details
  5. Viewing LAN and WAN Tiers
  6. Accessing Pfsense Firewall GUI
  7. Deploying A Linux Instance Under Pfsense Firewall
  8. Creating a New Linux Instance
  9. Choosing A Root Disk
  10. Authentication Method
  11. Confirming Instance Purchase
  12. Checking Instance Console And Internet Connectivity

Creating the New Virtual Firewall​

To enhance your network security within the Ananta Cloud environment, you can deploy a virtual firewall that manages and filters traffic between your virtual resources. This firewall acts as a protective layer, enforcing rules and access controls based on your configuration.

The following steps guide you through the process of navigating to the correct section, initiating the firewall creation, and completing its configuration:

  1. In the left-hand menu, go to Virtual Firewalls under the Networking section.
  2. On the Virtual Firewalls page, click the NEW VIRTUAL FIREWALL button.
  3. Follow the prompts to configure and create the virtual firewall. virtual

Configuration Options for Virtual Firewall​

To configure the new virtual firewall in the Ananta cloud platform, you must define a few key options such as the zone, compute size, firewall provider, and access rules. These settings ensure the firewall is tailored to your deployment needs.

The following steps guide you through selecting configuration options like availability zone, compute configuration, firewall provider, and traffic rules before finalizing the setup:

  1. Choose Availability Zone: Select your preferred availability zone (for example, GCC Chennai, GCC Bhubaneswar, or Hybrid Chennai) based on your location and network needs.
  2. Choose Compute Configuration: Pick a compute option that matches your performance requirements, such as:
    • 2C4R: 2 vCPU, 4 GB RAM
    • 2C8R: 2 vCPU, 8 GB RAM
    • 2C16R: 2 vCPU, 16 GB RAM
  3. Select Firewall Provider: Choose a firewall provider from the dropdown (for example, pfsense Plan)
  4. Set Incoming Traffic Rule: Select the desired ACL rule, such as Allow All, from the dropdown menu.
  5. Name Your Virtual Firewall: Enter a name for your virtual firewall. Use only letters, numbers, hyphens, or dots.
  6. Review Estimated Costs: Check the summary and pricing before proceeding. firewallnew|697 providertocost

Deploying Virtual Firewall​

After completing the configuration and deployment steps, the newly created virtual firewall appears in the Virtual Firewalls section. This interface provides a summary of key details such as the firewall's name, compute configuration, provider, zone, public IP address, instance count, and deployment status.

The following steps guide you through accessing the Virtual Firewalls section and verifying that your newly deployed firewall is active and correctly configured:

  1. Navigate to the Virtual Firewalls section from the left-hand menu. See a list of deployed virtual firewalls.
  2. The newly created firewall appears with:
    • Name
    • vCPU and RAM details
    • Firewall provider
    • Availability zone
    • Public IPv4 address
    • Instance count
    • Creation time A green POWERD ON icon confirms that the firewall is active and running. firewalltest

Viewing Firewall Details​

To check the configuration and operational status of your deployed virtual firewall, you can access its detailed view in the Ananta cloud platform. This section provides essential system specifications, network settings, and real-time status indicators.

The following steps guide you through viewing the full details of your virtual firewall instance, including public IP, provider, and availability zone:

  1. From the Ananta cloud platform:
    • Navigate to the Virtual Firewalls section in the left-hand menu.
    • Locate and click on the firewall instance name to open its configuration page.
  2. On the firewall Overview page, you can view the following key details:
    • Configuration: vCPU, RAM, and OS details.
    • Availability Zone: For example GCC Chennai.
    • Firewall Provider: For example PFSENSE-VNF.
    • Public IPv4 (L2-WAN): Note down the public IP which is used for SSH access.
    • Status: Ensure the firewall is in Running state.
    • Additional Sections: You can also explore tabs like Graphs, Alerts, Utilisation, and Networking for further information. firewallopen

Viewing LAN and WAN Tiers​

To understand the network configuration, navigate to the Networking section where you can view both LAN and WAN tiers. This helps identify how instances are connected and how traffic flows between internal and external networks.

The following steps guide you through accessing the Networking section and identifying the WAN and LAN tiers connected to your firewall:

  1. Open the Firewall Instance: From the Ananta cloud platform, navigate to the Virtual Firewalls section and open the required firewall instance.
  2. Click on the Networking option: In the left-side menu, under the opened firewall instance, click on the Networking tab. This section displays all networks linked to the selected firewall.
  3. Identify the WAN Tier: Look for the network labeled as ISOLATED_NETWORK. This is the WAN Tier, typically connected to external/public networks.
  4. Identify the LAN Tiers: All networks labeled as LAN_TIER_X (where X is a number) represent LAN tiers used for internal communications. lanwan

Accessing pfsense Firewall GUI​

To manage and configure the pfsense firewall, you can access its web-based Graphical User Interface (GUI). This interface allows you to perform tasks such as monitoring network traffic, updating firewall rules, and managing network settings. You can access the GUI securely using the public IP address assigned to the firewall.

The following steps help you access the pfsense firewall GUI from your browser using the public IP address:

  1. Copy the Public IP Address: From the firewall details page in Ananta cloud platform, note down the Public IPv4 (L2-WAN) address.
  2. Open a Web Browser.
  3. Paste the IP address in the address bar and press Enter.
  4. Ignore the Security Warning: If a warning appears, it is because of a self-signed certificate. Click Advanced and then Proceed to continue.
  5. Accept the License: A blue screen with license information appears. Click the Accept button. pfsense

Deploying a Linux Instance under pfsense Firewall​

To deploy a Linux instance behind the pfsense firewall in Ananta cloud platform, begin by navigating through the dashboard and accessing the compute section. This allows you to view existing Linux instances or initiate the creation of the new under the desired network configuration.

The following steps guide you through deploying the new Linux instance under the pfsense firewall:

  1. From the Ananta cloud platform, navigate to the left sidebar.
  2. Under the Compute section, click on Linux Instances.
  3. Choose Availability Zone: Select a zone for example GCC Chennai (or as per your requirement).
  4. Select Compute Configuration: Choose an instance configuration for example 2C4R (2 vCPU, 4 GB RAM).
  5. Click Select to confirm the compute pack.
  6. Select Firewall Provider: Choose pfSense Plan from the dropdown.
  7. Select Incoming Traffic Rule: Choose Allow All (or set rules as needed).
  8. Name Your Virtual Firewall: Provide a name.
  9. After filling in all details, proceed with the deployment.

Once you deploy it, you see your firewall listed under Virtual Firewalls. The listing show details like name, configuration, zone, and public IP.

Creating a New Linux Instance​

To create a new Linux instance in Ananta cloud platform, configure parameters such as the zone, network, and operating system image. These options help ensure the instance is deployed in the correct environment and connected to the appropriate virtual network and firewall.

The following steps guide you through the process of creating a new Linux instance based on your setup requirements:

  1. Select Availability Zone: Choose the availability zone nearest to your location. The following are the available options:
    • GCC Chennai (selected)
    • GCC Bhubaneswar
    • Hybrid Chennai
    • Hybrid Bhubaneswar zonetoimage
  2. Select Network Destination: Pick a VPC network with a subnet or a VNF Appliance that has already been created in the chosen availability zone.
  3. Choose an OS Image: Select an available OS image, for example, Ubuntu Server 22.04 LTS, or use a custom image if neededβ€”note that some images may incur charges. Linux Instance

Choosing a Root Disk​

When deploying a Linux instance in Ananta cloud platform, selecting the right root disk is a key step in defining your instance’s storage capacity and performance. The root disk serves as the primary storage where the operating system and essential files are installed. You can choose from predefined disk packs or specify a custom size based on your needs.

The following steps guide you through choosing a root disk option that best fits your storage needs and budget:

  1. Navigate to the Root Disk selection section: The following are the available disk options under the SSD tab:
    • Freesize: Custom size (default 25 GB)
    • RD 50: 50 GB at INR 257.5000/Month
    • RD 100: 100 GB at INR 515.0000/Month (Selected)
  2. Click on Select Pack for your desired option.
    rootdisk

Authentication Method​

To ensure secure access to your Linux instance, selecting the right authentication method is crucial. The following options are available:

  • SSH key pair for enhanced security (recommended)
  • Root user password (which is less secure but may be necessary for certain setups).

The following steps guide you through the configuration and final review before launching your instance:

  1. Choose an Authentication Method:
    • SSH key pair (Recommended)
    • root user password (Less secure than SSH-based access).
    note

    If you choose root user password method, ensure that Also email me the password is checked to receive the root password via email for initial access.

  2. Name Your Linux Instance: Instance name can only contain alphanumeric characters, underscores, dots, and hyphens
  3. Summary and Estimated Costs: Before creating this Linux instance, you can review all the selected options and their corresponding prices. Once you are done reviewing, you can proceed with your choice.
  4. SELECTIONS:
    • Availability Zone: GCC Chennai
    • HOURLY: INR 0.0000/hr
    • MONTHLY: INR 0.0000/month authenticationmethod

Confirming Instance Purchase​

Once you finalized all the configuration details for your Linux instance in Ananta cloud platform, the platform prompts you to confirm the instance purchase. This is your final opportunity to review costs and apply any available discount codes before deployment.

The following steps guide you through the confirmation process:

  1. After reviewing the instance details, a confirmation pop-up appears.
  2. The window displays the Monthly charge: for example, INR 1,887.5000.
  3. A discount code option is available.
  4. Click the CONFIRM button. instancepurchase

Checking Instance Console and Internet Connectivity​

After deploying a Linux instance under the pfsense firewall in Ananta cloud platform, it is important to verify that the instance is running correctly and has internet access. This ensures successful configuration and network functionality.

The following steps help you check the instance console and test internet connectivity:

  1. Open the instance console from the cloud portal.

  2. Log in to the instance and set a new password if prompted.

  3. Run ip a to check the instance's IP address.

  4. Run ping 1.1.1.1 to test internet connectivity.

  5. If you get a reply with 0% packet loss, the internet is working.

  6. Once the instance is deployed, access its console and check the internet connectivity by running network diagnostic commands. connectivity