Getting Started
Quick Start
Connect to your LaserData Cloud deployment in minutes
This guide walks you through connecting to an existing LaserData Cloud deployment using our pre-built Docker quickstart image.
Prerequisites
- A running LaserData Cloud deployment
- Docker installed on your machine
- Your deployment credentials (found in the Credentials tab of the Console)
1. Create an Access Rule
Before connecting, allow your IP address to reach the deployment.
- Open the Access Rules tab in the Console
- Click Add Rule
- Enter your current IP address (or CIDR range)
- Save the rule
See Access Rules for details on protocol selection and CIDR configuration.
2. Pull the Quickstart Image
docker pull ghcr.io/laserdata/quickstart:latest3. Run the Producer
docker run ghcr.io/laserdata/quickstart \
/producer {DOMAIN} \
-u {USERNAME} \
-p {PASSWORD}This starts a producer that pushes sample messages to a sample-stream stream and sample-topic topic.
4. Run the Consumer
In a separate terminal:
docker run ghcr.io/laserdata/quickstart \
/consumer {DOMAIN} \
-u {USERNAME} \
-p {PASSWORD}This consumes and displays messages from the stream in real time.
Connection Options
| Option | Description |
|---|---|
-t, --token <TOKEN> | Use a Personal Access Token instead of username/password |
--transport <tcp|quic|http|ws> | Transport protocol (default: tcp) |
--no-tls | Disable TLS (local development only) |
--messages-count <N> | Number of messages to send or receive |
--stream <NAME> | Custom stream name |
--topic <NAME> | Custom topic name |
Run /producer --help or /consumer --help inside the container for all available options.