ARTNet server and gui
Project description
General Usage
Start ARTNet app
- From EC2 dashboard select instance, then Instance State --> Start Instance
- From EC2 instance dashboard, get public IPv4 ip address
- Ensure ssh key has the correct permissions
chmod 600 ARTNet_Key.pem
- ssh into instance
ssh -i ARTNet_Key.pem ubuntu@[IP]
- start artnet app in detached mode
sudo docker-compose pull --policy always app && sudo docker-compose --profile app up -d
- exit SSH session (CTRL+D)
Stop ARTNet app
- From EC2 instance dashboard, get public IPv4 ip address
- ssh into instance
ssh -i ARTNet_Key.pem ubuntu@[IP]
- bring down instance
sudo docker-compose --profile app down
- exit SSH session (CTRL+D)
- From EC2 dashboard select instance, then Instance State --> Stop Instance
Connecting to ARTNet with GUI
- From EC2 instance dashboard, get public IPv4 ip address
- Start ARTNet GUI
- Paste IP address into ARTNet Address field
- Configure remaining options as needed
- Click "Connect"
Creating and Configuring a new EC2 instance for ARTNet
Create EC2 Instance
- Go to EC2 Dashboard, click Launch Instance
- OS Image: Ubuntu 64-bit architecture
- Instance Type: c5.xlarge
- Key Pair: ARTNet_Key (already made,
ARTNet_Key.pemis found in repo - Network Settings - Select existing security group ->
ARTNet-Security-Group - Configure Storage: Default
- Click Launch Instance
Install tools on instance
- From EC2 instance dashboard, get public IPv4 ip address
- Ensure ssh key has the correct permissions
chmod 600 ARTNet_Key.pem
- ssh into instance
ssh -i ARTNet_Key.pem ubuntu@[IP]
- install docker
sudo apt update && sudo apt install -y docker.io
- install latest version of docker-compose
VERSION=$(curl --silent https://api.github.com/repos/docker/compose/releases/latest | grep -Po '"tag_name": "\K.*\d')
DESTINATION=/usr/bin/docker-compose
sudo curl -L https://github.com/docker/compose/releases/download/${VERSION}/docker-compose-$(uname -s)-$(uname -m) -o $DESTINATION
sudo chmod 755 $DESTINATION
Upload docker compose file to instance
- Copy over using scp command
scp -i ART_Net.pem -r compose.yaml ubuntu@[IP]:.
Shut Down Instance Without Deleting It
- From EC2 dashboard select instance, then Instance State --> Stop Instance
Random Bits of useful info
- wipe all docker containers, networks, etc
sudo docker system prune -a -f - view docker-compose logs
sudo docker-compose --profile dataandvoicetest logs [-f]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rasl_artnet-0.1.9.tar.gz
(16.8 kB
view details)
File details
Details for the file rasl_artnet-0.1.9.tar.gz.
File metadata
- Download URL: rasl_artnet-0.1.9.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5255592cf044b31a3d26995a10c51a9411b0a1b96830416dca120d9558d0cd2f
|
|
| MD5 |
ab2970e9a6a0e7dfe7d1735aa5959fc5
|
|
| BLAKE2b-256 |
6e3ab483cbdf344f9e811e5ab833d28096986a2b4834a3a6a9ff692b3974abe3
|