проблема эластичной нагрузки на Amazon ElasticBeanstalk - PullRequest
0 голосов
/ 26 августа 2018

Я новичок в использовании Amazon Beanstalk.Я пытаюсь загрузить приложение Django, используя бесплатную версию Amazon EBS.Но когда я пытаюсь нажать его, я получаю сообщение об ошибке:

Creating load balancer failed Reason: API: elasticloadbalancing:CreateLoadBalancer User: arn:aws:iam::102977617563:user/ben2pop is not authorized to perform: iam:CreateServiceLinkedRole on resource: arn:aws:iam::102977617563:role/aws-service-role/elasticloadbalancing.amazonaws.com/AWSServiceRoleForElasticLoadBalancing

вот полный журнал:

Creating application version archive "app-180823_183748".
Uploading: [##################################################] 100% Done...
Environment details for: SoftScoresAppo-env
  Application name: SoftScoresAPP
  Region: us-west-2
  Deployed Version: app-180823_183748
  Environment ID: e-mss6ypuahn
  Platform: arn:aws:elasticbeanstalk:us-west-2::platform/Python 2.7 running on 64bit Amazon Linux/2.7.3
  Tier: WebServer-Standard-1.0
  CNAME: UNKNOWN
  Updated: 2018-08-23 15:56:45.984000+00:00
Printing Status:
2018-08-23 15:56:44    INFO    createEnvironment is starting.
2018-08-23 15:56:46    INFO    Using elasticbeanstalk-us-west-2-102977617563 as Amazon S3 storage bucket for environment data.
2018-08-23 15:57:19    INFO    Created security group named: sg-0886958040a89cc1b
2018-08-23 15:57:34    ERROR   Stack named 'awseb-e-mss6ypuahn-stack' aborted operation. Current state: 'CREATE_FAILED'  Reason: The following resource(s) failed to create: [AWSEBLoadBalancer]. 
2018-08-23 15:57:34    INFO    Created security group named: awseb-e-mss6ypuahn-stack-AWSEBSecurityGroup-1SKXY2X31PVUU
2018-08-23 15:57:34    ERROR   Creating load balancer failed Reason: API: elasticloadbalancing:CreateLoadBalancer User: arn:aws:iam::102977617563:user/ben2pop is not authorized to perform: iam:CreateServiceLinkedRole on resource: arn:aws:iam::102977617563:role/aws-service-role/elasticloadbalancing.amazonaws.com/AWSServiceRoleForElasticLoadBalancing
2018-08-23 15:57:36    INFO    Launched environment: SoftScoresAppo-env. However, there were issues during launch. See event log for details.

Может кто-нибудь помочь мне объяснить мне, в чем проблема и как ее решить?Это ?спасибо;)

...