I need to use a Java application written for Glassfish on Elastic Beanstalk. Amazon's Beacuse doesn't let me choose AMI with Glassfish, I chose Tomcat and I modified my application to work fine on Tomcat.
Now I saw that I also need to use the Sun JDK, and by default Elastic Beanstalk AMI comes with openjdk. I searched a lot on googled, found some (not many resources) interesting posts, like this answer on https://stackoverflow.com/a/360525/ ...
I can not understand this part of the answer:
Create your own AMI from a working instance of Amazon AMI beanstalk, which you start manually with EC2, and not the one that was launched from starting your application through beanstalk.
So my question is: anyone, how to use a custom AMI with Glassfish on an elastic beanstalk? If this is not possible, can someone explain to me how to create a custom AMI?
Thanks Andrea
amazon-web-services elastic-beanstalk glassfish glassfish-3 ami
andreaxi
source share