Setup AWS EC2
Launch an AWS EC2 Instance
- Launch an AWS EC2 Instance
-
Click Launch Instance and configure the instance with the following specifications:
- Name:
<your-unique-ID>-te-splunk-otel-demo
- AMI: Choose an Ubuntu Server AMI (e.g., Ubuntu Server 24.04 LTS).
- Instance Type: Select an instance with 6 GB RAM or more (e.g., t3.large).
- Key pair: you can use your key or create a new one
- Storage: Allocate 30 GB of disk space
- Security Group Rules:
- If possible, please select a Security Group that allows inbound connections from any IP address. If not possible, please make sure that you can access the server and allow inbound connections from the chosen ThousandEyes Cloud Agents that you will use during this workshop. You can obtain a list of ThousandEyes Agent IP addresses by using an API request provided in the Bruno collection. Please make sure to add the ThousandEyes Bearer token in Bruno variables before sendingbr the API request. Documentation on how to obtain a list of ThousandEyes Agents can be found here: Obtaining a list of ThousandEyes Agent IP.
- Name:
-
Once configured, please launch the instance and connect to it using SSH. Replace
<your-private-keyfile.pem>
with your SSH key file and<your-ec2-public-ip>
with your instance's public IP address:
If you decided to use splunk-te-otel-key
please remember to download it and set correct permission using this command:
Prepare Ubuntu Instance
- Update system packages and install git and curl
-
Install and configure Docker
- Install Docker
- Start and enable the Docker service to run on boot:
- Verify the Docker installation:
-
Add User to the Docker Group
- To execute Docker commands without sudo, add your current user to the docker group. This change requires logging out and back in.
-
To apply chnages you must log out and log in again:
-
Verify that you can run Docker:
If the command executes successfully and without permission errors, you can proceed:
-
Install Docker Compose
-
To install Docker Compose, you can use the below commands. Please download the latest version of Docker Compose from the official GitHub repository.
-
Make the plugin executable:
-
Verify the Docker Compose installation:
-