Tuesday, March 16, 2010

OSGi/EclipseRT in Amazon Cloud

I've created a public Amazon Image (AMI) from a recent build (3.6 stream) of the EclipseRT. The parts of EclipseRT included in this image were Jetty, Equinox, p2 provisioning, and a very simple Hello World servlet application (with source).

Here is documentation about how to get the image, start an EC2 instance, and run your own server.

Here is an instance of this Hello World servlet application running on my instance.

6 comments:

Unknown said...

Awesome, just when I needed it! BTW, how would I install additional bundles into my running instance?

Scott Lewis said...

@Peter.

Thanks for the nice words. You can currently use p2 console commands to install bundles. I haven't been able (yet) to create example docs, but I have tested it with the knoplerfish httpconsole.

Unknown said...

Thanks - install <URL> works great.

Anonymous said...

i truthfully love your writing type, very interesting,
don't quit as well as keep writing due to the fact that it just simply very well worth to read it.
excited to look over more of your own writing, thanks :)

Gopal said...

Hey! Thanks a ton for this. Actually I am looking to use Apache Felix rather than equinox along with JETTY. Can you share the step to create AMI for the same.

Thanks in Advance

Scott Lewis said...

Hi Gopal,

>Hey! Thanks a ton for this. Actually I am looking to use Apache Felix rather than equinox >along with JETTY. Can you share the step to create AMI for the same.

This blog posting is quite old and out of date. I would be generally happy to help you out with Felix+Jetty+ECF Remote Services, etc as AMI, but I don't currently have the personal resources to do so (I no longer have AWS).

But FYI, it would be much easier to do so today than it was when my posting was originally written, even for Felix + Jetty + ECF Remote Services. For example, I would probably start with Apache Karaf http://karaf.apache.org/ (Felix + Jetty + other things), and add on ECF Remote Services https://wiki.eclipse.org/EIG:Install_into_Apache_Karaf and https://wiki.eclipse.org/ECF and create an AMI out of that/those combinations, along with some of the ECF distribution providers https://wiki.eclipse.org/Distribution_Providers

If you are interested in contacting me about doing this for you/your org commercially please feel free to contact me at scottslewis at gmail.com.

Thanks.