The bucket you are attempting to access must be addressed using the specified endpoint , while uploading from jenkins to s3

Question:

i am trying to deploy the war file from jenkins to elastic bean stalk, the build is successful , but when it tries to upload to s3 , it is showing this error

further error shows

Jenkins configuration for elastic beanstalk

You can have a look at this for more clarity

enter image description here

Answer:

Looks like Beanstalk and the S3 bucket are in different regions. You stated that Beanstalk is in ap-southeast-2, while it seems that the S3 bucket is in ap-southeast-1. Create that bucket in ap-southeast-2.

Leave a Reply