State- and migration-based deployment models