I am using Amazon Elastic Beanstalk for my JSP web deployment. I want my application should be run only on HTTPS. I have also configured load scheduler to listen HTTPS request as well. But i am not able to find a way where it will become HTTPS only. I tried to configure my EBS server(using PUTTY & my machine ip i edited server.xml & web.xml so that each request will become HTTPS as per tutorial http://www.itworld.com/development/79351/how-configure-tomcat-always-require-https) But when i done this then EBS server health gone down(red). Also i noticed when load on application grows beyond threshold then new instance is created & when load gets down then old instance will be deleted & new one is preserver so please somebody tell me how to deal with this problem.
Thanks in advance.