configuring to run glassfish on AWS