A template to deploy Spotdog to Heroku
- Ruby 2.3.0
- Spotdog 0.2.1
You need to set AWS credentials and Datadog API key as environment variables.
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION
DATADOG_API_KEY
Add new job as below. --instance-types
and --product-descriptions
can be set as you like.
- Command:
bundle exec spotdog send --instance-types c4.xlarge --product-descriptions linux_vpc --last-minutes 10
- Frequency:
- Every 10 minutes