Add support for choosing instance based on layer.

Sometimes you just want to check the instance running cron. What happens then? Huh? Adam happens!