Deploy CoPilot from the Marketplace

You can deploy CoPilot from the cloud provider marketplace. This method is commonly used for single node use cases right after subscribing. The marketplace deployment method is not supported for a fault-tolerant (clustered) deployment.

You can only use Terraform scripts or Aviatrix Controller user interface for fault-tolerant (clustered) deployments.

Subscribe to a CoPilot Offer in the Marketplace

Subscribe to the "Aviatrix CoPilot" AMI in your cloud provider marketplace. You must accept terms and conditions before you can provision and launch the VM for the CoPilot instance.

CoPilot works in tandem with Aviatrix Controller to provide visibility into your cloud resources managed by the Controller. It is assumed that you have a Controller customer ID for your existing Controller.

If you want to enable the latest CoPilot add-on features such as CostIQ and Aviatrix Billing, you must subscribe to and accept terms for the correct license:

  • In AWS, subscribe to the Aviatrix Secure Cloud Networking (Includes Free Trial) license.

  • In Azure, GCP, or OCI, subscribe to the Aviatrix Secure Networking Platform 2208-Universal 24x7 Support license.

In addition to having a Controller customer ID, you must also accept terms and conditions for an Aviatrix CoPilot offer in your respective cloud marketplace before you can provision and launch the VM for the CoPilot instance.

Prerequisite tasks for Launching CoPilot Instance from the Marketplace

Make sure you read through the requirements listed in Planning Your CoPilot Deployment. Each marketplace will prompt you to configure and launch the CoPilot software.

For CoPilot instance (VM) configurations and launch requirements, note the following:

  • VM Sizing

  • Storage

    • You must attach at least one data disk (data volume) to your CoPilot instance to be used for expandable storage; this is a secondary data storage separate from the root disk that comes with CoPilot. For more information, see CoPilot Disk (Volume) Management. You can choose the disk type (volume type) that meets your business needs given the size of your environment.

  • Static Public IP Address

    • CoPilot requires a static public IP address (for example, an Elastic IP address in AWS). The only exception is if you are using private mode.

  • Service Ports

    • Copilot requires the following service ports:

    • TCP port 443 from anywhere user access (to reach CoPilot via HTTPS connection using web browser)

    • UDP port 5000 (default) — Enable Syslog for CoPilot Egress FQDN & Audit Data (from each gateway). Gateways send remote syslog to CoPilot.

    • TCP port 5000 (default) — For private mode, enable Syslog for CoPilot Egress FQDN & Audit Data (from each gateway). Gateways send remote syslog to CoPilot.

    • UDP port 31283 (default, port is configurable) — Enable Netflow for CoPilot FlowIQ Data (from each gateway). Gateways send Netflow to CoPilot.

  • Internet Access

    • CoPilot requires Internet access. You must select a subnet (availability zone) with outbound Internet access when specifying the subnet for each CoPilot instance. This is also true if you are using private mode.

  • For the Pre-6.8 Controller releases only:

    • In your cloud console, in the security group page of your CoPilot VM/instance, add entries FOR EACH of your Aviatrix gateways:

      • For the UDP ports, change the default inbound rule of 0.0.0.0/0 to the

        IP addresses of your Aviatrix gateways
    • Open your CoPilot Security Group for UDP 31283 from all of your Aviatrix gateways.

    • Open your CoPilot Security Group for UDP 5000 from all of your Aviatrix gateways.

    • For port 443, you can allow only your and other trusted user’s IP addresses.

Each time you launch a new gateway from your Controller, you must also add a CIDR entry for it here.

Starting from Controller 6.8, you can enable the CoPilot Security Group Management feature to allow your Controller to open CoPilot access to the above ports for all of your Aviatrix gateways. You enable the feature in Controller > Settings > CoPilot > CoPilot Security Group Management. See CoPilot Security Group Management.

  • IAM Role

    • Verify that your Controller instance Access Account has the IAM role aviatrix-role-ec2 attached to it. Make sure the aviatrix-app-policy policy has been added to the aviatrix-role-ec2 role in order to make sure you will be able to migrate your CoPilot data in the future if necessary.

Configuring the Timeout Value for Load Balancer (optional)

If you are configuring a Load Balancer in your CSP (that you will deploy in front of CoPilot), ensure that the timeout value is at least ten minutes.

Aviatrix recommends performing the initial disk setup via this procedure and not via the Load Balancer.
  • AWS: configure on Attributes page of Application Load Balancer.

  • Azure: See here for information on configuring this value.

  • GCP: configure HTTP keepalive timeout (in seconds) when you create your Load Balancer.

  • OCI: see here for information on configuring the Load Balancer timeout value.

Provision and launch your CoPilot instance from AWS marketplace

After following the steps in Subscribe to a CoPilot Offer in the Marketplace, follow these steps to provision the VM and launch your CoPilot instance from the marketplace.

  1. In the marketplace, click Launch new instance from the Aviatrix CoPilot tile.

  2. Select the most recent version under the Software version.

  3. Select the region in which you want to deploy your CoPilot instance.

  4. After specifying all values for the marketplace configuration prompts, click Continue to Launch to deploy/launch the CoPilot instance/virtual machine.

  5. Specify the settings for the CoPilot instance. Choose one of the launch actions from the drop-down box.

    • Launch through EC2

      1. Click Launch.

      2. Specify the EC2 settings. For the requirements about VM sizing, storage, static public IP address, service ports, see Planning Your CoPilot Deployment

      3. Click Launch instance.

    • Launch from Website

      1. Choose instance type. See Planning Your CoPilot Deployment for the minimum requirements.

      2. Specify the EC2 instance settings. Such as, the VPC settings, subnet settings, security group settings, Key Pair Settings, etc.

      3. Click Launch.

    You should receive a message from the cloud provider stating that the instance of CoPilot software is deployed/launched successfully.

  6. Assign a static public IP address to the CoPilot software instance/virtual machine. For example, in the AWS EC2 console, you would go to the Elastic IP section, allocate a new EIP, and then associate it with your CoPilot instance.

  7. After the instance is created, and you receive a message that your deployment is complete. Click the copilot instance name and take note of its External IP address.

  8. Go to your Controller instance in your cloud service provider. Add your CoPilot IP address into your Controller security group with TCP protocol and port 443 on the cloud service provider so that CoPilot server can communicate with Controller API.

  9. You are now ready to launch CoPilot in a web browser and perform initial setup. See Initial Setup of CoPilot.

Provision and Launch your CoPilot Instance in Microsoft Azure Marketplace

To deploy CoPilot in Azure:

  1. Log in to your Azure account with your Azure account credentials so that you enter your Azure Portal (portal.azure.com).

  2. Go to the Azure Marketplace at https://azuremarketplace.microsoft.com, and in the search field, search for "Aviatrix CoPilot".

  3. For the Aviatrix CoPilot Bring your own license offer, click Get it now.

    cplt-azr-get-now
  4. If prompted, enter the email address you use for acquiring apps on Azure Marketplace.

    cplt-azr-email
  5. In the "Create this app in Azure" dialog, click Continue.

  6. In the Aviatrix CoPilot page, click the blue Create button. If you want to view Azure recommended size choices, click "Start with a pre-set configuration". Do not choose the "Deploy programmatically" option.

    cplt-azr-create
  7. In Create a virtual machine, complete the provisioning steps for the Basics section by specifying the subscription, resource group, VM name, and size values and other values as needed for the Project details, Instance details, and Administrator account details sections. Take note of the Instance (Virtual Machine) System Requirements for CoPilot. Click Next: Disks.

  8. You must attach at least one data disk to your CoPilot VM to be used for expandable storage. This is in addition to the 25GB root disk that comes with CoPilot. Click Create and attach a new disk or Attach an existing disk to add and attach an additional disk.

    cplt-azr-attach-disk
  9. Specify the disk options you want or click OK to accept the default disk options.

  10. Click Next: Networking and specify the network interface details. For Public IP, click Create new. In the Create public IP address dialog, for Assignment, select Static and click OK.

  11. Complete the rest of the provisioning steps for the Management, Advanced, and Tags sections.

  12. Click Next: Review + create. If blank, type your phone number in the Preferred phone number field. If the validation passed, review your settings and click Create.

    Verify that your instance is up and running in the Azure console.

  13. After the instance is created, and you receive a message that your deployment is complete, click on Go to resource. Select the copilot instance name and take note of its External IP address.

  14. Go to your Controller instance in your cloud service provider. Add your CoPilot IP address into your Controller security group with TCP protocol and port 443 on the cloud service provider so that CoPilot server can communicate with Controller API.

  15. You are ready to launch CoPilot in your web browser and perform initial setup. See Initial Setup of CoPilot.

Provision and launch your CoPilot instance in Google Cloud Platform

It is recommended to deploy CoPilot based on the latest CoPilot image release. For information about Aviatrix CoPilot image releases, see Aviatrix CoPilot Image Release Notes.

To provision and launch your CoPilot instance in GCP:

  1. Go to GCP marketplace.

  2. Find the product "Aviatrix CoPilot - BYOL".

  3. Click "LAUNCH".

    gcp-copilot-1
  4. Specify the settings for the CoPilot instance

    • For Machine type, take note of the Minimum Instance (VM) System Requirements for CoPilot.

    • You must attach at least one data disk (data volume) to your CoPilot instance to be used for expandable storage; this is a secondary data storage separate from the root disk that comes with CoPilot. For more information, see CoPilot Disk (Volume) Management. Create your disk (volume) and attach the disk (volume) to your CoPilot instance. You can choose the disk type (volume type) that meets your business needs given the size of your environment and performance requirements. There is no minimum requirement for the storage you add at this stage.

    • For source IP ranges for traffic, see Instance (Virtual Machine) System Requirements for CoPilot.

  5. Click "Deploy".

  6. Go to your Controller instance in your cloud service provider. Add your CoPilot IP address into your Controller security group with TCP protocol and port 443 on the cloud service provider so that CoPilot server can communicate with Controller API.

  7. You are now ready to launch CoPilot in a web browser or from the Aviatrix Controller homepage and perform initial setup. See Initial Setup of CoPilot.