title: AWS EC2 and Elastic Beanstalk
body: <p>I am new to AWS and the question may seem very basic. However I need to see if I can find a solution to this.</p>
  
  <p>I have created and launched an EC2 instance first and then created an Elastic Beanstalk instance with a sample application deployed on it. By default, the Elastic Beanstalk attaches "Default Environment" to this instance and I find no way to change this to my EC2 instance. How can I attach my EC2 instance (that I created earlier) to this Elastic Beanstalk instance? I am using Amazon Free Tier to learn.</p>
  
  <p>Thanks a lot for your time and patience.</p>