cloudius-systems / capstan

Capstan, a tool for packaging and running your application on OSv. http://osv.io/capstan
Other
367 stars 82 forks source link

Capstan cannot build images for Xen #153

Open darahayes opened 8 years ago

darahayes commented 8 years ago

According to the documentation in the OSv wiki, OSv is fully supported on Xen and as a result, it can be run on EC2.

I'm not familiar with go but sifting through the code I believe the following are supported:

How do I build an OSv image containing my application code for Xen? For instance, How could I do this with the NodeJS hello world example?

rowlandwatkins commented 8 years ago

@darragh-hayes with the NodeJS example, it should be as simple as:

[[[ capstan build ]]]

in the working directory. The output will be available in ~/.capstan/repository/capstan-example-nodejs/capstan-example-nodejs.qemu.

All you need to do is convert the .qemu into a raw image, create an AMI, and then run an instance on EC2.

Give me a shout if you need any further tips!

daehyeok commented 8 years ago

if it can be possible by convert. is it other reason not implemented in capstan?

Walkerks commented 7 years ago

I too am wondering why this isn't an option given it's that simple? Why not just add it already?