amazon-web-servicesubuntuamazon-ec2ubuntu-10.04

Amazon web services and EC2 and Ubuntu 10.04


Its a been along time since I am trying to configure ubuntu ec2 instance to run my java/j2ee based web app. I am a newbie/novice to ec2 and all other applications and services.

let me explain the complete scenario of my web app.

We are developing web app using java servlets and struts. Now I need to configure my server so that it has to run the app. I am aware I need to install tomcat6 along with apache web server and also we are using mysql5.1 database at the back end. I have created an instance of the ubuntu on ec2 since we are a start up and we using the micro instance. When ever i tried to install java6 on the ubuntu instance the server gets hanged up and later i realized that because of a bug and now I start the same instance changing the type to small from micro.

I read many documents of ubuntu and also aws but its not satisfying my needs. Kindly help me out if any one has already worked on aws ubuntu instance


Solution

  • The amazon micro instance struggles with JDK installation. Setup the server on a larger image size, then when you're finished, take a snapshot and run the snapshot on the micro instance. Note that Ubuntu only support 64-bit images on micro instance, don't create a 32-bit instance.