title: AWS CodeDeploy is impossible to deploy across multiple Availability Zones at the same time?
body: <p>Below the screenshot, it seems to be successful only in one Availability Zone.
  <img src="https://i.stack.imgur.com/GXhoT.png"/></p>
  <p>I checked the codedeploy logs for a failed instance, and I found that there was an error, I think it is recognized as an on-premise instance.</p>
  <blockquote>
  <p>2018-01-10 04:40:22 INFO  [codedeploy-agent(2696)]: <strong>On Premises config file does not exist</strong> or not readable</p>
  <p>2018-01-10 04:40:43 ERROR [codedeploy-agent(2696)]: CodeDeploy Instance Agent Service: CodeDeploy Instance Agent Service: error during start or run: InstanceMetadata::InstanceMetadataError - Not an EC2 instance and region not provided in the environment variable AWS_REGION. Please specify your region using environment variable AWS_REGION.......</p>
  </blockquote>
  <p>I've searched for about three days for this issue, but there was no mention in the AWS documentation. In the production env, I plan to use two Availability Zones attached to the auto scaling group. I wonder if I'm overlooking the other thing except CodeDeploy... What should I check? Thank you in advance.</p>
  <p>[Updated]
  I update with ASG and ASG Config screent shot. There's no special, it's vanila and default process. I waiting 5 days from AWS support center but still pending response.</p>
  <p>Auto Scaling Group -----
  <a href="https://i.stack.imgur.com/uQD1I.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uQD1I.png" alt="Auto Scaling Group" /></a></p>
  <p>Auto Scaling Group Launch Config -----
  <a href="https://i.stack.imgur.com/CsGgw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CsGgw.png" alt="Auto Scaling Group Launch Config" /></a></p>