AWS Deployment
This guide covers deploying DBConvert Streams on Amazon EC2.
Prerequisites
- AWS account
- SSH client for server access
Deployment Steps
Launch EC2 Instance
- Log in to AWS Management Console
- Go to EC2 Dashboard
- Click "Launch Instance"
- Select any Linux distribution
- Choose instance type (t2.small/t3.small or larger recommended)
- Configure Key pair (login):
- Select existing key pair OR
- Create new key pair (download and save the .pem file)
- Configure Security Group:
- Create new security group
- Allow SSH traffic from Anywhere (0.0.0.0/0)
- Allow HTTPS traffic from the internet
- Allow HTTP traffic from the internet
- Add storage (20GB minimum)
- Click "Launch Instance"
Connect to Your Instance
bash# Set correct permissions for your key pair file chmod 400 your-key-pair.pem # Connect using the key pair ssh -i ~/.ssh/your-key-pair.pem ec2-user@YOUR_INSTANCE_IP
Install and Start DBConvert Streams
bash# Install DBConvert Streams curl -fsSL https://dbconvert.nyc3.digitaloceanspaces.com/downloads/streams/latest/docker-install.sh | sh # Start with HTTP ./start.sh # Or start with HTTPS (recommended for production) ./start.sh -s
Managing Services
Stop Services
bash
./stop.sh
Update Services
bash
./update.sh