Is It Possible to CodeDeploy to an EC2 Instance In A Different Region

0

We have a CodeDeploy application in the US West 2 region. Is it possible to deploy to an EC2 instance that is in Asia Pacific 2? I tried and the Deployment just hung at the initial ApplicationStop event and eventually timed out. There were no errors in the code deploy agent logs. The CodeDeploy error after timing out was "The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint."

질문됨 2년 전856회 조회
1개 답변
0

Try using the S3 region-specific endpoint as per https://docs.aws.amazon.com/general/latest/gr/s3.html

Example: https://<your_bucket>.s3.us-west-2.amazonaws.com

Or try this: https://s3.amazonaws.com/<your_bucket>

If it's still not working, check this FAQ for multi-region deployment: https://aws.amazon.com/codedeploy/faqs/#Regions

profile picture
joahna
답변함 2년 전
  • Thanks for that. Unfortunately in CodeDeploy the target EC2 machine is only identified via a tag not a URL (as far as I can tell). It only presents to you tags for instances that are in the same region as the CodeDeploy application.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠