【问题标题】:The bucket you are attempting to access must be addressed using the specified endpoint , while uploading from jenkins to s3您尝试访问的存储桶必须使用指定的端点进行寻址,同时从 jenkins 上传到 s3
【发布时间】:2016-03-13 10:28:39
【问题描述】:

我正在尝试将 jenkins 的 war 文件部署到 elastic bean stalk,构建成功,但是当它尝试上传到 s3 时,它显示此错误

Uploading file awseb-2152283815930847266.zip as s3://elasticbeanstalk-ap-southeast-1-779583297123/jenkins/My App-jenkins-Continuous-Delivery-
MyApp-Stage-promotion-Deploy-14.zip
Cleaning up temporary file /tmp/awseb-2152283815930847266.zip
FATAL: Deployment Failure
java.io.IOException: Deployment Failure

进一步的错误显示

The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. 
(Service: Amazon S3; Status Code: 301; Error Code:

弹性beantalk的Jenkins配置

My beanstalk is in "ap-southeast-2" region  
Bucket name is "elasticbeanstalk-ap-southeast-1-779583297123"

你可以看看这个更清楚

enter image description here

【问题讨论】:

    标签: amazon-web-services jenkins amazon-s3 amazon-elastic-beanstalk


    【解决方案1】:

    看起来 Beanstalk 和 S3 存储桶位于不同的区域。您说 Beanstalk 在 ap-southeast-2 中,而 S3 存储桶似乎在 ap-southeast-1 中。在 ap-southeast-2 中创建该存储桶。

    【讨论】:

    • 所以我刚刚找到了一个解决方法,我只是没有在配置中提供存储桶名称,所以它会自动管理它自己,但现在发生了一些奇怪的事情,你能检查一下吗stackoverflow.com/questions/34173569/…
    猜你喜欢
    • 2016-10-12
    • 1970-01-01
    • 2022-12-01
    • 2021-03-29
    • 2016-06-01
    • 2016-05-05
    • 2021-04-09
    • 2018-09-14
    相关资源
    最近更新 更多