Cloned Elastic Beanstalk environment failing with status Severe

0

Hi, I have successfully created a multi-AZ ElasticBeanstalk environment with a Load Balancer, EC2, and RDS. This is a Java application using Spring Boot, with a MySQL database. Everything is working fine with this environment. I cloned this environment and the new environment is failing. The status is Severe. The Health shows: "100.0 % of the requests are failing with HTTP 5xx." In the web.stdout.log, I see this error: "com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure" When I try running the application, I get error: "502 Bad Gateway" I restarted the app server, but didn't help. The original environment is still working fine. Can anyone please help? Thanks

Bob
質問済み 8ヶ月前325ビュー
1回答
0
承認された回答

I was able to answer my own question. The original EB environment had a custom property that referenced my RDS endpoint. In the cloned environment, I had to change that property to reference the new RDS in the cloned environment.

Bob
回答済み 8ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ