---
title: Replay Worker Deployment
slug: telemetry-pipeline/replay-worker-deployment
docTags: 
createdAt: 2026-01-06T07:57:36.035Z
---

### 1. Replay Agent Installation

**1.1 File Preparation**

Copy the following to the target server:

- replay-agent.yml&#x20;
- ms-replay.tar&#x20;

Extract the archive and update Git credentials in replay-agent.yml.

:::BlockQuote
Credentials are **not encrypted** in the current version.
:::

**1.2 Vector Dependency**

Replay Agent launches an additional container using the latest Vector image:

:::BlockQuote
docker pull timberio/vector\:latest-alpine
:::

For offline environments, save and load the image manually.

**1.3 GitLab Agent Repository**

In GitLab:

- Create a new project named agent under: /product/dsp/worker-config&#x20;
- Add a pipeline/ directory&#x20;
- Add replay-agent-config.json&#x20;

Create a master branch (copied from main)

:::BlockQuote
Current version requires master branch.
:::

**1.4 CMS Refresh**

Restart CMS to apply agent changes:

:::BlockQuote
docker-compose -f deploy-aws-25.3.2.yml -p dsp down
docker-compose -f deploy-aws-25.3.2.yml -p dsp up -d
docker restart \<CONTAINER\_IDS>
:::

Start Replay Agent:

:::BlockQuote
docker compose -f replay-agent.yml up -d
:::

**1.5 Pipeline Creation**

Create a replay pipeline in CMS.

Example:

:::BlockQuote
https\://int-dsp-demo.krontech.com/pipeline/23246deb-5474-49ae-977c-4265dd6a5b58
:::

**1.6 S3 Destination Setup**

Create an S3 bucket destination using environment details from:

:::BlockQuote
https\://int-dsp-demo.krontech.com/component/67150438-ce33-4e5b-9ace-0a02af6afb8b/
:::

**1.7 Replay Execution**

- Navigate to **Storage**&#x20;
- Select S3 bucket&#x20;
- Choose a file (e.g. kagan-berk.log.gz)&#x20;
- Click **Replay**&#x20;

**1.8 Monitoring Replay**

- Select the pipeline&#x20;
- Start replay&#x20;
- Monitor status from:&#x20;
  - Agent Status panel&#x20;
  - Replay agent container logs on the server&#x20;
