How many databases are included on a Heroku Redis server?

Issue

Attempting to access a database index on a Heroku Redis server returns:

ERR invalid DB index

Resolution

Hobby Dev servers have 2 databases, at indices 0, and 1. Premium and Private servers have 512 databases at indices 0, through and including 511.