Proxmox Vagrant Cloud lxc On the Fly --query--

cmarin78

New Member
Jul 19, 2016
4
0
1
46
Hello, my name is Cesar, and I'm trying to get information about the following:
I have installed 3 pve nodes and 1 nfs storage to manage an VM infraestructure on HA but I need to provide to my user-groups a new feature, such consists into create cloud lxc on the fly, according to specific user needs. I need Proxmox up on demand, an X container that obey the needs of the user connected, for example, if a web desrarrollador, I would like to make Proxmox launch a lxc debian or Ubuntu and when you install the necessary tools for the user work. At the same time I need that time machine (I need is for testing and temporary use) is connected to a database and store it all information and connection logs and user activity. Is that possible in Proxmox?

Thanks for your time
 
Can I use vagrant-openvz on proxmox?

Not anymore.

Yet you can
  • deploy a default LXC template and post-install all necessary packages,
  • use turnkey appliances
  • use any orchestration tool to setup your container (ansible, puppet, $younameit)
  • build a lot of appliances yourself - using DAB is really easy and can be automatized very quickly and efficiently
  • use templates for everything and bind-mount and chroot them for daily updates
Depending on you knowledge and time to invest in this, there should be a solution in this list.
 
Not anymore.

Yet you can
  • deploy a default LXC template and post-install all necessary packages,
  • use turnkey appliances
  • use any orchestration tool to setup your container (ansible, puppet, $younameit)
  • build a lot of appliances yourself - using DAB is really easy and can be automatized very quickly and efficiently
  • use templates for everything and bind-mount and chroot them for daily updates
Depending on you knowledge and time to invest in this, there should be a solution in this list.
.....
Thanks for your answer.

I am interested in creating disposable container that automatically rise after a weblogin for example, and are discarded when disconnected the user. Disposable containers arm themselves "hot", as it somehow, according to the needs of the connected user, whose profile would be set according to their tasks and needs.

then the only way to do this would be to use several tools together?

My idea was to create a file similar to the vagrantfiles but to use docker or próxmos templates and based on another file shoot after one or more login scripts.

Thanks again for your answer
 
If the environment is very similar, I'd use ZFS and its CoW clone mechanisms to clone and start a container in a few seconds. Yet that depends heavily on your needs.

I read about Proxmox and Vagrant and their integration, I never tested it. Maybe there is some new LXC stuff. You can maybe also integrate a ordinary lxc-binding with vagrant and only do the Proxmox addition stuff, yet that's totally manual for now.
 
If the environment is very similar, I'd use ZFS and its CoW clone mechanisms to clone and start a container in a few seconds. Yet that depends heavily on your needs.

I read about Proxmox and Vagrant and their integration, I never tested it. Maybe there is some new LXC stuff. You can maybe also integrate a ordinary lxc-binding with vagrant and only do the Proxmox addition stuff, yet that's totally manual for now.

.........

Thankyou :D
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!