Как преобразовать проект AWS CodeStar в балансировку нагрузки?

В AWS Beanstalk преобразование из одного экземпляра в несколько экземпляров с балансировкой нагрузки очень просто и быстро.

Новый сервис AWS CodeStar очень удобен для непосредственного управления созданием кода (внутренний Git = AWS Code Commmit) и развертыванием приложений. С другой стороны, когда я хочу преобразовать один экземпляр в несколько, процесс заканчивается статусом RED.

Я пробовал в двух разных географических районах, и результат тот же. В моем случае речь идет о развертывании приложения PHP, поэтому я использовал модель PHP Slim.

Кто-нибудь когда-либо был в состоянии сделать эту операцию, которая не запрещена в окружающей среде, или есть шаг, который должен быть сделан заранее?

Вот для справки журнал создания проекта и его обновления.

Большое спасибо.

05-11-2017 07:53:23 UTC+0100    WARN    Environment health has transitioned from YELLOW to RED
05-11-2017 07:50:24 UTC+0100    WARN    Environment health has transitioned from GREEN to YELLOW
05-11-2017 07:50:24 UTC+0100    INFO    Removed instance 'i-028f9ff8b87384027' from your environment. (Reason: Instance is in 'terminated' state)
05-11-2017 07:50:24 UTC+0100    WARN    Elastic Load Balancer awseb-e-g-AWSEBLoa-1O6JLWE36BQSY has zero healthy instances.
05-11-2017 07:50:24 UTC+0100    INFO    Adding instance 'i-0bfa702eb7fc6b14b' to your environment.
05-11-2017 07:50:24 UTC+0100    INFO    Added EC2 instance 'i-0bfa702eb7fc6b14b' to Auto Scaling Group 'awseb-e-gm3ab7mjx8-stack-AWSEBAutoScalingGroup-QBBHUZ9RG5O0'.
05-11-2017 07:50:19 UTC+0100    INFO    Environment update completed successfully.
05-11-2017 07:50:19 UTC+0100    INFO    Successfully deployed new configuration to environment.
05-11-2017 07:50:17 UTC+0100    INFO    Deleted EIP: 52.49.14.131
05-11-2017 07:50:02 UTC+0100    INFO    Deleted Auto Scaling launch configuration named: awseb-e-gm3ab7mjx8-stack-AWSEBAutoScalingLaunchConfiguration-2J2SZ9L676U
05-11-2017 07:49:29 UTC+0100    INFO    Updated bp-engineapp.z3zgu3v2kq.eu-west-1.elasticbeanstalk.com to point to awseb-e-g-AWSEBLoa-1O6JLWE36BQSY-1228432051.eu-west-1.elb.amazonaws.com. Your application might be unavailable for a few minutes while the changes propagate.
05-11-2017 07:49:11 UTC+0100    INFO    Created CloudWatch alarm named: awseb-e-gm3ab7mjx8-stack-AWSEBCloudwatchAlarmHigh-GSGZIVT1IP5K
05-11-2017 07:49:11 UTC+0100    INFO    Created CloudWatch alarm named: awseb-e-gm3ab7mjx8-stack-AWSEBCloudwatchAlarmLow-4JGYOPB35YXL
05-11-2017 07:49:11 UTC+0100    INFO    Created Auto Scaling group policy named: arn:aws:autoscaling:eu-west-1:524879253388:scalingPolicy:96fab1a5-ebf2-4075-80c7-de902e3e0ce3:autoScalingGroupName/awseb-e-gm3ab7mjx8-stack-AWSEBAutoScalingGroup-QBBHUZ9RG5O0:policyName/awseb-e-gm3ab7mjx8-stack-AWSEBAutoScalingScaleUpPolicy-1EJIBIA04RR8C
05-11-2017 07:49:11 UTC+0100    INFO    Created Auto Scaling group policy named: arn:aws:autoscaling:eu-west-1:524879253388:scalingPolicy:f828741d-db97-4d2c-a9df-dcb374b95313:autoScalingGroupName/awseb-e-gm3ab7mjx8-stack-AWSEBAutoScalingGroup-QBBHUZ9RG5O0:policyName/awseb-e-gm3ab7mjx8-stack-AWSEBAutoScalingScaleDownPolicy-1UIN6J6VLFY53
05-11-2017 07:48:09 UTC+0100    INFO    Created Auto Scaling launch configuration named: awseb-e-gm3ab7mjx8-stack-AWSEBAutoScalingLaunchConfiguration-1N3QUS86P61DH
05-11-2017 07:47:38 UTC+0100    INFO    Created load balancer named: awseb-e-g-AWSEBLoa-1O6JLWE36BQSY
05-11-2017 07:47:38 UTC+0100    INFO    Created security group named: sg-5a66b421
05-11-2017 07:47:22 UTC+0100    INFO    Updating environment bp-engineapp's configuration settings.
05-11-2017 07:47:16 UTC+0100    INFO    Environment update is starting.
05-11-2017 07:43:47 UTC+0100    INFO    Environment update completed successfully.
05-11-2017 07:43:47 UTC+0100    INFO    New application version was deployed to running EC2 instances.
05-11-2017 07:43:34 UTC+0100    INFO    Deploying new version to instance(s).
05-11-2017 07:43:30 UTC+0100    INFO    Environment update is starting.
05-11-2017 07:41:20 UTC+0100    INFO    Successfully launched environment: bp-engineapp
05-11-2017 07:40:24 UTC+0100    INFO    Environment health has been set to GREEN
05-11-2017 07:39:24 UTC+0100    INFO    Adding instance 'i-028f9ff8b87384027' to your environment.
05-11-2017 07:39:24 UTC+0100    INFO    Added EC2 instance 'i-028f9ff8b87384027' to Auto Scaling Group 'awseb-e-gm3ab7mjx8-stack-AWSEBAutoScalingGroup-QBBHUZ9RG5O0'.
05-11-2017 07:38:59 UTC+0100    INFO    Waiting for EC2 instances to launch. This may take a few minutes.
05-11-2017 07:37:55 UTC+0100    INFO    Created EIP: 52.49.14.131
05-11-2017 07:37:40 UTC+0100    INFO    Created security group named: sg-b066b4cb
05-11-2017 07:37:13 UTC+0100    INFO    Using elasticbeanstalk-eu-west-1-524879253388 as Amazon S3 storage bucket for environment data.
05-11-2017 07:37:12 UTC+0100    INFO    createEnvironment is starting.

0 ответов

Другие вопросы по тегам