An open API service indexing awesome lists of open source software.

https://github.com/dmanjunath/audius-one-click

Setup a Audius nodes on DigitalOcean using Pulumi to provision and manage infrastructure
https://github.com/dmanjunath/audius-one-click

Last synced: 9 months ago
JSON representation

Setup a Audius nodes on DigitalOcean using Pulumi to provision and manage infrastructure

Awesome Lists containing this project

README

          

## Audius One Click

Setup an Audius nodes on DigitalOcean using Pulumi to provision and manage infrastructure

#### Requirements
1. DigitalOcean API Token. This can be generated here https://docs.digitalocean.com/products/spaces/how-to/manage-access/#access-keys and set locally by running `export DIGITALOCEAN_TOKEN=...`
2. SSH Key on DigitalOcean. The script currently selects the first SSH Key. In the future this might be configurable or it could create an SSH key on the fly

#### Instructions

```sh
cd audius-one-click/

# create a stack
pulumi stack init discovery-node-1

# set the required environment variables
export DIGITALOCEAN_TOKEN=...

# set the pulumi configs
pulumi config set serviceType discovery-node
pulumi config set serviceID 1
pulumi config set sshKeyPath /Users/dmanjunath/.ssh/digitalocean

# stand up the stack
pulumi up
```

This automatically establishes an SSH connection to the VM and mounts the external disk. To setup the Audius node follow instructions here https://github.com/AudiusProject/audius-docker-compose.

Manual Fixes during setup

```
mkdir -p /etc/docker
touch /etc/docker/daemon.json

# upgrade kernel version