I have a heroku hobby dyno and I am creating an app that would need to perform a few tasks:
- Deploy a front-end website
- Run a scheduled background task to make an API request and update a database (DynamoDB)
- Host an API to connect the front-end with the database
From my understanding heroku always starts up a web instance (the front-end) and allows the possibility to create multiple workers, one for the API and one for the scheduled job.
I was unclear from their documentation if these 3 separate node apps would run on one dyno (assuming I scaled each of them to one instance) or if I would require multiple dynos to run them all.
Note: This is a hobby project so I am trying to keep the costs as low as possible.