Deploying the Rapid7 agent across diverse environments, such as Azure and AWS servers managed through Azure Arc (Windows and Linux), can be streamlined using Azure Automation. This blog post will guide you through the step-by-step process to automate this deployment.
Step 1: Set Up an Azure Automation Account
- Navigate to the Azure Portal:
- Open the Azure portal and search for "Automation Accounts" in the search bar.
- Click on "Add" to create a new Automation Account.
- Fill in the necessary details like Name, Resource Group, and Location.
- Click on "Create".
Step 2: Configure Hybrid Runbook Worker
To run scripts on servers outside Azure, you need a Hybrid Runbook Worker.
- Add a Hybrid Worker Group:
- In the Automation Account, go to "Hybrid Worker Groups" under the "Process Automation" section.
- Click "Add a hybrid worker group" and follow the instructions.
- Download and install the Hybrid Runbook Worker on your Azure and AWS servers as per the instructions provided.
- Register these servers to the newly created Hybrid Worker Group.


