--- title: "Run the installation script for a virtual device in AWS" slug: "run-the-installation-script-for-a-virtual-device-in-aws" tags: ["ESM", "Install and Get Started"] updated: 2026-09-12T21:29:45Z published: 2026-09-12T21:29:45Z canonical: "docs.trellix.com/run-the-installation-script-for-a-virtual-device-in-aws" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Run the installation script for a virtual device in AWS Use the temporary server to run the installation script, which creates the virtual SIEM device. - Download the installation script from the [Trellix download site](hhttps://www.trellix.com/en-us/downloads/my-products.html). - Make sure to use AWS CLI version 2. 1. Open command line and enter `aws --version` to verify the version. aws-cli/1.xxx is version 1 and aws-cli/2.xxx is version 2. 2. If the version is not 2, enter `rpm -e awscli` to remove the previous version. 3. To install AWS CLI v2, run the script: ```plaintext curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip sudo ./aws/install -b /usr/bin ``` 1. Create a user. 1. From the AWS Management Console, go to **Identity and Access Management**. 2. Click **Users**, then click **Create User**. The Add user window appears. 3. Enter a user name. 4. Select **Generate an access key for each user**. 5. Give the new user **Programmatic access** and **Admin** permissions. 6. Click **Create user**. 7. Click **Download Credentials**, then save the resulting CSV file. These credentials contain the Access Key and Secret Key you will need later. 2. From the command prompt on the temporary Linux server, enter `sudo su`. 3. Enter `aws configure`. 4. Copy and paste the **Access key ID** and **Secret access key** when prompted. 5. Change the permissions of the script: ```plaintext chmod 755 ``` 6. Run the script: ```plaintext ./ ``` The script creates a machine image. This can take about 20 minutes. :