Deploy Tenable Core in AWS

When you deploy a Tenable Core + Tenable Web App Scanning virtual machine in Amazon Web Service (AWS) with cloud-init, you can configure your instance of Tenable Core + Tenable Web App Scanning and link it to Tenable Vulnerability Management during deployment.

You can use cloud-init to configure your virtual machine through the Amazon Marketplace or through the AWS command-line interface (CLI). To configure your virtual machine through the CLI, you must create a configuration file with data specifications for your virtual machine. For more information, see the cloud-init Documentation at cloud-init.io.

Before you begin:

  • Confirm your environment will support your intended use of the instance, as described in   System Requirements.

  • Confirm your internet and port access will support your intended use of the instance, as described in Access Requirements.

To deploy Tenable Core + Tenable Web App Scanning using cloud-init via the Amazon Marketplace:

  1. Log in to AWS. For information about how to log in to AWS, see the AWS Documentation.
  2. Navigate to the Amazon Marketplace.
  3. In the Amazon Marketplace search bar, type Tenable Core + Tenable Web App Scanning Amazon Machine Image (AMI).
  4. Click the result for Tenable Core + Tenable Web App Scanning Amazon Machine Image (AMI).

    The Tenable Core + Tenable Web App Scanning AMI product overview page appears.

  5. Click Continue to Subscribe.

    A terms and conditions window appears.

  6. Click Accept Terms.

  7. Click Continue to Configuration.

    The basic configurations page appears.

  8. Select the region where you want to operate your Tenable Core + Tenable Web App Scanning instance.

    Note: AWS automatically selects fulfillment and software versions for the AMI based on your region.

  9. Click Continue to Launch.

    The launch options page appears.

  10. In the Choose Action drop-down box, select Launch through EC2.
  11. Click Launch.

    The configuration page appears.

  12. Configure the options based on the specifications you want for your instance and the requirements described in Tenable Core Requirements. For information about configurations in AWS, see the AWS Documentation.
  13. Click the Configure Instance tab.
  14. In the Advanced Settings section, in the text box, paste the following configuration variables:

    #cloud-config runcmd: # Link WAS to Tenable.io - - /usr/libexec/tenablecore/was_rest_client.py - --set-link - --scanner-name "<name>" - --linkkey "<linking key>"

    Note: You can add more configurations (e.g., password, new users, groups) to your instance by adding the configurations and values to the configuration file. For information on configuration options, see the cloud-init Documentation at https://cloudinit.readthedocs.io/en/latest/.

    Tip: You can add additional configurations (e.g., password, new users, groups) to your instance by modifying the configurations and values in the configuration file. For more information, see the cloud-init Documentation at https://cloudinit.readthedocs.io/en/latest/.

  15. Click Launch.

    An SSH key pair window appears.

  16. In the SSH key pair window, in the drop-down box, select the key pair option you want for your instance.

    Caution: Do not select the option to proceed without a key pair. If you launch your Tenable Core + Tenable Web App Scanning instance without a key pair you cannot connect to the instance, and you cannot add an SSH key pair later.

    Action Steps
    Choose existing key pair
    1. Select the file for the key pair you want to use.
    2. Select the I acknowledge that I have access to the select private key file check box.
    Create a new key pair
    1. In the box, type a name for your private key file.
    2. Click the download button.
    3. The private key file downloads in your browser.

  17. In the lower-left corner, click Launch Instances.
  18. AWS deploys and launches your Tenable Core + Tenable Web App Scanning instance as a virtual machine in AWS.

What to do next: