gpt4 book ai didi

amazon-web-services - 您尝试访问的存储桶必须使用指定的端点进行寻址,同时从 jenkins 上传到 s3

转载 作者:行者123 更新时间:2023-12-04 08:16:20 25 4
gpt4 key购买 nike

我正在尝试将 jenkins 中的 war 文件部署到弹性 bean 茎,构建成功,但是当它尝试上传到 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

最佳答案

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

关于amazon-web-services - 您尝试访问的存储桶必须使用指定的端点进行寻址,同时从 jenkins 上传到 s3,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34156963/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com