Spring Boot + ElasticBeanStalk Error

0

Hi Team, I have very basic spring boot application. I can successfully ran the application into EC2 instance. But when I try to do the same application in ElasticBeanStalk, I am getting below error. Could you please help on this. Here I mentioned the error log for your reference.

November 17, 2023 16:02:59 (UTC+5:30) INFO Deleting SNS topic for environment Aws-hello-world-env. November 17, 2023 16:02:58 (UTC+5:30) ERROR Failed to launch environment. November 17, 2023 16:02:58 (UTC+5:30) ERROR The instance profile aws-elasticbeanstalk-ec2-role associated with the environment does not exist. November 17, 2023 16:00:01 (UTC+5:30) INFO Environment health has transitioned to Pending. Initialization in progress (running for 2 seconds). There are no instances. November 17, 2023 15:59:45 (UTC+5:30) INFO Using elasticbeanstalk-us-east-1-335730167697 as Amazon S3 storage bucket for environment data. November 17, 2023 15:59:44 (UTC+5:30) INFO createEnvironment is starting.

Vinoth
asked 7 months ago227 views
1 Answer
0

Hello.

It looks like you are getting an error similar to the problem below.
https://repost.aws/questions/QUx_V0HSWxRJSRndVaSlsvOQ/elastic-bean-stalk-environment-is-not-getting-created#ANwB9EGj4QTHycEXVvji4eEg

Try creating "aws-elasticbeanstalk-ec2-role" yourself.

profile picture
EXPERT
answered 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions