> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rad.security/llms.txt
> Use this file to discover all available pages before exploring further.

# Linode

> Connect your Linode infrastructure to RAD Security for comprehensive cloud security monitoring.

## Overview

Integrate your Linode infrastructure with RAD Security to enhance threat detection capabilities and ensure your cloud environments adhere to stringent compliance frameworks. RAD Security leverages Linode's API to monitor your compute, storage, and network resources.

## Connection setup

1. Sign in to RAD Security
2. Go to `Data Sources`
3. Click on `Add provider`
4. Follow the guide for Linode

## Terraform setup

A Terraform snippet will appear, similar to the example below. Copy it and add it to your existing Terraform code. You will need to provide your Linode Personal Access Token and a friendly name for the integration.

```hcl theme={null}
terraform {
  required_providers {
    rad-security = {
      source  = "rad-security/rad-security"
      version = "..."
    }
  }
}

provider "rad-security" {
  access_key_id        = "..."
  secret_key           = "..."
  rad_security_api_url = "https://api.rad.security"
}

module "rad-security-connect" {
  source  = "rad-security/rad-security-connect/linode"
  version = "..."

  # Required: A friendly name for this Linode integration
  linode_integration_name = "my-linode-production-env"

  # Required: Your Linode Personal Access Token
  linode_personal_access_token = "your_linode_api_token_here"
}
```

## Linode Personal Access Token

The Linode Personal Access Token is required for agentless monitoring of your compute, storage, and network resources. It is recommended to set the token expiration to "Never" to avoid manual renewals and potential interruptions in monitoring.

You can generate a Linode Personal Access Token by following these steps:

1. Go to the [Linode Cloud Manager](https://cloud.linode.com)
2. Click on your profile in the top right corner
3. Select "API Tokens"
4. Click "Create a Personal Access Token"
5. Provide a label (e.g., "RAD Security Integration") and set the expiry to "Never" for continuous monitoring
6. Ensure the token has read-only access to the resources you wish to monitor

## Multiple Linode Accounts

If you're integrating multiple Linode accounts with RAD Security, you will need to create a separate `module "rad-security-connect"` block for each Linode account, providing a unique `linode_integration_name` and the corresponding `linode_personal_access_token` for each.
