vagrant minimal linux guest for dedicated services ("appliance")

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

vagrant minimal linux guest for dedicated services ("appliance")

ivo welch

I am a new vagrant user.  (I have used vmware fusion and virtualbox, albeit on full linux ubuntu guests.)

I am interested in building minimalistic guests for single functions.  think appliance.  for example, I may want to create a guest box that has perl, a few perl modules, possibly an nfs server (to change files when not on the host, possibly not).  after boot, it should run my designated perl program and restart or shutdown on exit.  no general shell, no multiuser capabilities, nothing else.  only necessary processes (e.g., basic networking).  the less crud, the better.  fewer intrusion vectors.  less space required.  lean and mean.

could someone please recommend the best existing box to the task?  the vagrantup getting-started page suggests only hashicorp/precise64 (12.04...really?), a set of cloud images, and bento boxes, which all seem to be fairly fat distros.  is there a turnkey linux or slimmer distro available for vagrant?

regards,

/iaw

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/c44888e2-d8d4-48f4-944e-72d3fad58cf1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: vagrant minimal linux guest for dedicated services ("appliance")

Torben Knerr
Sounds pretty much like you actually wanted to use docker ;-)

Haven't tried, but does this help?

Cheers, Torben 

ivo welch <[hidden email]> schrieb am Mi. 11. Okt. 2017 um 23:22:

I am a new vagrant user.  (I have used vmware fusion and virtualbox, albeit on full linux ubuntu guests.)

I am interested in building minimalistic guests for single functions.  think appliance.  for example, I may want to create a guest box that has perl, a few perl modules, possibly an nfs server (to change files when not on the host, possibly not).  after boot, it should run my designated perl program and restart or shutdown on exit.  no general shell, no multiuser capabilities, nothing else.  only necessary processes (e.g., basic networking).  the less crud, the better.  fewer intrusion vectors.  less space required.  lean and mean.

could someone please recommend the best existing box to the task?  the vagrantup getting-started page suggests only hashicorp/precise64 (12.04...really?), a set of cloud images, and bento boxes, which all seem to be fairly fat distros.  is there a turnkey linux or slimmer distro available for vagrant?

regards,

/iaw

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/c44888e2-d8d4-48f4-944e-72d3fad58cf1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CACN%2Ba_Z9r_U%2BDoxZs23XnsOUCr9UDCYk%3DtJXxNUek8Toqr2E7w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: vagrant minimal linux guest for dedicated services ("appliance")

Jamie Jackson
I was going to say the same thing: Docker seems like the right choice for this:

* there's no waiting for a bootup
* it is the most lightweight way to do this in an encapsulated way
* you can run your utility like a command and it exits like a command
* you can mount volumes from the host very easily

On Oct 11, 2017 5:28 PM, "Torben Knerr" <[hidden email]> wrote:
Sounds pretty much like you actually wanted to use docker ;-)

Haven't tried, but does this help?

Cheers, Torben 

ivo welch <[hidden email]> schrieb am Mi. 11. Okt. 2017 um 23:22:

I am a new vagrant user.  (I have used vmware fusion and virtualbox, albeit on full linux ubuntu guests.)

I am interested in building minimalistic guests for single functions.  think appliance.  for example, I may want to create a guest box that has perl, a few perl modules, possibly an nfs server (to change files when not on the host, possibly not).  after boot, it should run my designated perl program and restart or shutdown on exit.  no general shell, no multiuser capabilities, nothing else.  only necessary processes (e.g., basic networking).  the less crud, the better.  fewer intrusion vectors.  less space required.  lean and mean.

could someone please recommend the best existing box to the task?  the vagrantup getting-started page suggests only hashicorp/precise64 (12.04...really?), a set of cloud images, and bento boxes, which all seem to be fairly fat distros.  is there a turnkey linux or slimmer distro available for vagrant?

regards,

/iaw

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/c44888e2-d8d4-48f4-944e-72d3fad58cf1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CACN%2Ba_Z9r_U%2BDoxZs23XnsOUCr9UDCYk%3DtJXxNUek8Toqr2E7w%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.



On Oct 11, 2017 5:28 PM, "Torben Knerr" <[hidden email]> wrote:
Sounds pretty much like you actually wanted to use docker ;-)

Haven't tried, but does this help?

Cheers, Torben 

ivo welch <[hidden email]> schrieb am Mi. 11. Okt. 2017 um 23:22:

I am a new vagrant user.  (I have used vmware fusion and virtualbox, albeit on full linux ubuntu guests.)

I am interested in building minimalistic guests for single functions.  think appliance.  for example, I may want to create a guest box that has perl, a few perl modules, possibly an nfs server (to change files when not on the host, possibly not).  after boot, it should run my designated perl program and restart or shutdown on exit.  no general shell, no multiuser capabilities, nothing else.  only necessary processes (e.g., basic networking).  the less crud, the better.  fewer intrusion vectors.  less space required.  lean and mean.

could someone please recommend the best existing box to the task?  the vagrantup getting-started page suggests only hashicorp/precise64 (12.04...really?), a set of cloud images, and bento boxes, which all seem to be fairly fat distros.  is there a turnkey linux or slimmer distro available for vagrant?

regards,

/iaw

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/c44888e2-d8d4-48f4-944e-72d3fad58cf1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CACN%2Ba_Z9r_U%2BDoxZs23XnsOUCr9UDCYk%3DtJXxNUek8Toqr2E7w%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CA%2BonWPerzZSKfremfW%2B%3DKJV17kRRQjNLNL0MWd%2BWfkfTeg_4Gg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: vagrant minimal linux guest for dedicated services ("appliance")

Yves Guerin
In reply to this post by ivo welch
Dear,

Create your own base box (I used the boxes from HashiCorp but I discover that the boxes contain too much stuff that I did want) and use vagrant and Jenkins to create the final box that you want, I did it wih Ubuntu 14.04 and I ran some shell scripts to create the box that I want, ooops, that the developpers need:
- base-Ubuntu14.04 server: only vagrant stuff to start the box and do ssh: only openssh running
- base-lamp: from the base-Ubuntu14.04 I ran some shell scripts from the Vagrantfile to add: apache2, MySQL, PHP, package the box, save it to Nexus or WebDav NAS.  Automate this processus with Jenkins and every monday morning my developpers have a brand new box to play (Jenkins runs during the week-end the job to update the box (apt-get stuff, do the packaging and save it to Nexus or WebDav NAS)
- lubuntu1404: from the base-ubuntu1404 I create an Lubuntu desktop with grails IDE, Chrome, RapidSvn, etc, for the developpers
- base-tomcat7mysql: from thebase-ubuntu1404 I installed Oracle JDK7 + tomcat7 + Percona MySQL
- the process is endless...

Have Fun :)

l2f

Le mercredi 11 octobre 2017 17:21:53 UTC-4, ivo welch a écrit :

I am a new vagrant user.  (I have used vmware fusion and virtualbox, albeit on full linux ubuntu guests.)

I am interested in building minimalistic guests for single functions.  think appliance.  for example, I may want to create a guest box that has perl, a few perl modules, possibly an nfs server (to change files when not on the host, possibly not).  after boot, it should run my designated perl program and restart or shutdown on exit.  no general shell, no multiuser capabilities, nothing else.  only necessary processes (e.g., basic networking).  the less crud, the better.  fewer intrusion vectors.  less space required.  lean and mean.

could someone please recommend the best existing box to the task?  the vagrantup getting-started page suggests only hashicorp/precise64 (12.04...really?), a set of cloud images, and bento boxes, which all seem to be fairly fat distros.  is there a turnkey linux or slimmer distro available for vagrant?

regards,

/iaw

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/f8e912e3-1c96-4439-900a-0846b640a30d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: vagrant minimal linux guest for dedicated services ("appliance")

Yves Guerin
In reply to this post by ivo welch
The only thing Docker help you is: boot and shutdown time.  They use the same KVM module so VirtualBox with Vagrant or Docker is the same thing, may be is liteweigth concerning the infrastructure but the scripts you develop to build your dev environment can be use for publishing the app into your prod env.

l2f

Le mercredi 11 octobre 2017 17:21:53 UTC-4, ivo welch a écrit :

I am a new vagrant user.  (I have used vmware fusion and virtualbox, albeit on full linux ubuntu guests.)

I am interested in building minimalistic guests for single functions.  think appliance.  for example, I may want to create a guest box that has perl, a few perl modules, possibly an nfs server (to change files when not on the host, possibly not).  after boot, it should run my designated perl program and restart or shutdown on exit.  no general shell, no multiuser capabilities, nothing else.  only necessary processes (e.g., basic networking).  the less crud, the better.  fewer intrusion vectors.  less space required.  lean and mean.

could someone please recommend the best existing box to the task?  the vagrantup getting-started page suggests only hashicorp/precise64 (12.04...really?), a set of cloud images, and bento boxes, which all seem to be fairly fat distros.  is there a turnkey linux or slimmer distro available for vagrant?

regards,

/iaw

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/45d3b43f-e65d-4fbc-aa43-d1441eb07b13%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.