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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南