When I try to deploy a Java web application to an Elastic Beanstalk Tomcat container, it did not execute the following error:
Service:AmazonCloudFormation, Message:TemplateURL must reference a valid S3 object to which you have access.
Pay attention to the following points:
, , , , , IAM. , .ebextensions script, . (, Amazon , EB).
.ebextensions
IAM Gist: https://gist.github.com/magnetikonline/5034bdbb049181a96ac9
. S3, ,
{ "Action": [ "s3:Get*" ], "Effect": "Allow", "Resource": [ "arn:aws:s3:::elasticbeanstalk-*/*" ] },
Get , , .
beanstalk zip- S3 ( ).
, IAM, jenkins ( ), S3. IAM. .: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.iam.html
, . . , AWS, , (STK). STS 36 . 36- , , Elastic Beanstalk, , . , STS 2 .
, , , . .
: AmazonCloudFormation, Message: TemplateURL S3, .
"s3:Get*" , "s3:List*".
"s3:Get*"
"s3:List*"
, EB . , , Rolling (, , , ..).
IAM, : gist: IAM, Continuous Integration AWAS Elastic Beanstalk
. , AWS, IAM S3 , . , EB CloudFormation, S3 . "AWSElasticBeanstalkFullAccess" IAM, , , , .
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "s3:*", "Resource": "*" } ] }
Amazon , , !
Source: https://habr.com/ru/post/1607964/More articles:мое приложение не запускается на загрузочном мобильном устройстве - androidRemoving rows in pandas DataFrame, where does the row contain the row present in the list? - pythonOpen application in WebView - androidCreating SVG with Javascript - javascriptOctal value Assigning an int value to it - javaEntity Framework - enable Take Top N for each parent - linqGridLayoutManager setSpanCount does not work in OnClickListener buttons - androidJava / Android is the best equivalent for C # linq - java10.9 replacement for [NSFont systemFontOfSize: weight:] - cocoaHow to check if the systemFontOfSize (fontSize: weight :) method actually exists in iOS - iosAll Articles