Join us at engage.eucalyptus.com
Thank you for the great work you are doing.
I have a working eucalyptus cloud set up and I have a java application that needs to able to run on the cloud, how do I go about this since all the material I have read mentions OS virtual images and virtualization.
Hello,
thanks for starting a new thread. You should go as you would go on a newly installed machine: there shoudln't be any difference. I'd start with creating an image with all the basics packages needed by your application (for example java-sdk, perhaps tomcat?). Can you share which application do you have and how does it need to be setup?
cheers
graziano
Thanks for getting back soon.
it is just a standard app, nothing fancy. Its a traveling salesman problem application that just needs to be able to run in the cloud.
janet
I widh to do kind of same thing, you can try Glassfish as a web server on the virtual machine. and If you virtual machine is accessible fron the public network then you can access the web application . On the client machine you can you both Eclipse and glass fish, and then load the application on the virtual machine. If you need Database server then you can make DB server on the other virtual machine.
Hi
Is that the only way to run an app on the cloud because my application doesn't have a web-based aspect to it. Its just coded in java and the GUI is made from a JFrame.
You should be able to run any application in a eucalyptus cloud that you are able to execute in a VM. Assuming that you have access to a eucalyptus cloud, you just need to create a VM image with your application and the required environment, then register it in the cloud, and start it. This is the same as starting a VM in your machine, only it would be running remotely. If, as you say, it's an application with a GUI, you'd need to connect to the remote VM to manipulate it (e.g. using VNC, etc.)
David.
Hi Dvvc,
I have the same problem running in the cloud. Do I have to make my own image embedded with web application and then registering with the cloud?
Also, how to access the VM outside the private cloud, as it has no public IP. ?
regards
Thanks Dave.
I will try that.
is there a way I can run the application without running the entire VM?
Hello,
@mpaul7: you need to have Eucalyptus configure to give public IPs to instace if you want them accessible from the public network.
@big.momma: Eucalyptus is IaaS so it will give you a full VM.
cheers
graziano
i was reading this post and got my interest as i am also working with same thing..i have just one clarification needed..
if i install an image from the images repository in UEC..i login to that image..and if i install e.g tomcat on that particular instance..this all is done quite nicely...now...can i access this tomcat instance from outside the cloud..yes..i have public IP..and i tried to get this tomcat from out the cloud..but this public IP dont respond...
second question: I think it would be much better to have an image already with installation features like tomcat and so..so every time i start the instance its already in the instance...is there any guide which explains how to create custom images?
anyone can help with these two problems?
1. cannot access public IP outside the cloud
2. how to create custom image (maybe a link for creating custom images or some proper and detailed documents with others application inside that image.)
thanks
you want to ping)? For tomcat (or jboss, or jetty) you have to authorize 8080. I use cloud-init to install and start tomcat and then I have immediate access on 8080. So there is no secret there.
The way to get java preinstalled is to install, via cloud-init lamp stack. Just for example sake, here is my cloud-init file that I include via --user-data-file ~/cloudstart.txt. In this case java is installed by virtue of tomcat needing it.
#cloud-config
packages:
- tomcat6
- tomcat6-admin
- mysql-server
- euca2ools
- iperf
- apache2
- vim
As for loading your own application, refer to the cloud-init documentation and you can see how to have your application scp'd in at initial boot.
Should you really want to build your own custom image, there are tons of documentation, and problems with (hopefully with resolutions) available on the web by a simple google for eucalyptus image create. I find cloud-init a far superior solution. So does Amazon as their versions of CentOS also support cloud-init.
Hi..
To survive in the world market is necessary to provide services without over and over again and do you need business software solutions that give every day, supporting your company at all times. It goes without saying that perhaps the choice of software vendor is crucial, so first make sure your provider knows what your business is to ensure that the best solution may be offered.
Thanks.
yes...you are right kaney....i need a software which is running all the time...like a CRM application..simple case would be an application which will be used by customer all the time. and this application need many services and database connection for individual users(not all but specific) and overall database..but that is custome and i have to design it. i just wanted to know..if there is already some open source application like this which can be easily deployed on eucalyptus cloud and run like web services. i am saying webservices becuase that is what i am more interested..
for example an application which calculate weather forecast with databases inside the cloud and web services offered to users for using those databases and web services for their custom weather forecast..just an example.
if i start from scratch i though maybe its kind of reinventing the wheel...so just though maybe their is already some sophisticated application which i can customize. it does not matter what kind of application until it provide web services and databases usage...
hopefully i find a decent help in this forum.
thanks to all
hello,
i have built cloud using eucalyptus on ubuntu 10.04 LTS
and able to access the cloud(web gui) provided by euca.
now i'm confuse wheter i should install images provided by eucalyptus web-gui under extra tab.
actually i have to run an java based application on cloud (servlet,jsp based web-app) so should i install the images provided by eucalyptus or something else.
we know that cloud provide three serviece saas paas iaas.
after building cloud i thnk iaas it done now for running java app on cloud we need to have any server(tomcat,glassfish) so cloud will provide this service
thanx