https://github.com/perlin-network/fargate-umabot
https://github.com/perlin-network/fargate-umabot
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/perlin-network/fargate-umabot
- Owner: perlin-network
- Created: 2020-11-06T09:06:50.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-07T14:03:59.000Z (over 5 years ago)
- Last Synced: 2025-04-10T01:55:26.139Z (about 1 year ago)
- Language: TypeScript
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UMA Bots on AWS Fargate
### Introduction
This repo contains the CI/CD configuration for Pulumi that helps deploy UMA's liquidation and disputer bots to AWS Fargate which allows running docker containers without having to manage servers or clusters.
### Dependencies
- aws-cli (https://docs.aws.amazon.com/cli/index.html)
- pulumi (https://www.pulumi.com/docs/)
### Configuration
You will need to supply parameter values according to your environment at `Pulumi.dev.yaml` file.
| Key | Value | Required |
|-------------------|-----------------------------------|----------|
| empAddress | EMP contract address | Yes |
| infuraKey | Infura API key | Yes |
| privateKey | Ethereum private key for your bot | Yes |
| pageDutyAPI | PageDuty API key (Notification) | No |
| pageDutyServiceID | PageDuty Service ID (Notification)| No |
| pageDutyFromEmail | PageDuty Email (Notification) | No |
### Deployment
Assuming you've already setup the credential of AWS CLI & Pulumi, once ready you can setup liquidation and disputer bots on your AWS account by the following scripts:
```
pulumi up
```
To get a log stream from the container, use (Or checkout on Cloudwatch)
```
pulumi logs --follow
```