Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Attach existing EC2 instance to elastic beanstalk

Is there a way to create an Elastic Beanstalk environment using an existing Amazon EC2 instance?

like image 508
Tony Avatar asked Nov 15 '13 17:11

Tony


1 Answers

It is not possible to use existing Amazon EC2 instance directly, but you can create a custom AMI of your existing EC2 instances. And using the custom AMI to launch your EB environment.

You should also pay attention which AMI your existing EC2 instance used. If your existing EC2 instance is not using EB AMI, your EB environment will not run correctly. Because it lacks Host Manager.

References:

  • Create a Custom AMI
  • Using Custom AMIs
like image 77
study Avatar answered Sep 28 '22 06:09

study