Working with Instances for CodeDeploy