Add support for choosing instance based on layer.

Sometimes you just want to check the instance running cron. What happens then? Huh? Adam happens!
Because I :heart: `Hash`! I'll make the change.