Advice on containers
Is there any VM option possible [other than vmware, vritualbox kind], where we can pre-install softwares and configure them, then as small container on top of VPses or dedicated server running ubuntu? [we are app developers, good with db, big data etc, not having deep expertise with linux]
We are tired of creating same setup and configure same again and again, wanted to have simple option like virtualbox/vmware install once and take snapshot and repeat wherever needed.
Our host environments shall be Netcup RS, VPS, Hetzner cloud, Hetzner dedi and our office lab and few customers baremetal hardwares running Ubuntu Linux.
I see some here mention lxc, lxd etc.
Comments
I am pretty sure that's what dockers are for.
You can always use ovz .
Nexus Bytes Ryzen Powered NVMe VPS | NYC|Miami|LA|London|Netherlands| Singapore|Tokyo
Storage VPS | LiteSpeed Powered Web Hosting + SSH access | Switcher Special |
We yet to learn docker at pro level as we use tons of tools, open sources tough for us to manage. yum and apt commands works easy for us. Docker takes a long route. We bounce back with docker and kubernetes as we don't have dev ops person.
Is ovz can be simple compared to lxd? We don't rent or lease to anyone, need easy way to build an image and use it.
kubernetes is hard but docker is easy to master
u can use vagrant too but docker is better.
or just type, what all you need...someone may give you
docker
yml code for it.ThemeForest Profile
Ovz and lxc containers are pretty easy to create too
Kubernetes might be a bit too much for your tasks. Docker will be the easy and simpler approach for quick deployment.
Nexus Bytes Ryzen Powered NVMe VPS | NYC|Miami|LA|London|Netherlands| Singapore|Tokyo
Storage VPS | LiteSpeed Powered Web Hosting + SSH access | Switcher Special |
LXC on btrfs is easy. Create a snapshot and zip it, then deploying on a new machine is like
(which you would of course put in a script to simplify)
Thank you, vagrant, just checked, they provide abstraction over container? , we yet to understand the containers itself, neither me or my team could learn to manage now.
@Not_Oles Sorry for tagging, You are an inspiration for me to look through LXC stuffs, I did read about lxc last 1 hour, did install LXD on Mint, able to install web server ubuntu, sshed into guess, done apt install, too satisfied. Need a little advise.
Do you recommend tools for LXD which may be easy easy level to create/run/stop the lxd like web ui?
thanks for the tip, we need to create and move images to other systems. is zfs a good format?
I do not use ZFS (too memory hungry for me). With the above, I put images in a central repository and just scp them and run my
extract.sh
script which does the above.@gks
It's okay to tag me. No worries!
What does your service do? Is the code open source?
MetalVPS
Loads of ways to skin that cat, but I predict you'll have a tough time if you aren't familiar with any of it.
I'd personally go with ansible instead. If it's the same thing over & over just throw that in a script and then run it against whatever server you have. Will be easier than the other routes imo given the mixed service providers
Really depends on what exactly you're trying to package here though. For developer work I'd be expecting something more like a CI/CD pipeline, not container images being duplicated directly
We are Industrial IoT startup, at early stage, tools are open source and some closed source, primarily on Java, Node and Python lang, using tons of apps like zookeeper, kafka, etcd, postgresql, promethues, grafana, redash, keycloak, flink, spark, ignite, akka etc, all should be in clusters 3 to 5 instances. The problem is we have no dev ops person, work with fresh graduate, while I mentor them on apps and tech stack, I have not known much linux admin part.
Will try ansible, initially i thought it was docker tool. From the examples, it can install and change and save the configuration, that is what we needed. The other issue is, we need clusters at least 3 to 5 to 7 instances. All new stuffs.
Linux -> lxc -> lxd then unlearn
Linux -> docker -> kubernetes
Erm a questions maybe away from the topic. How easy is migration for docker? Would docker just work if moving backup from one server to another?
Say i move my bitwarden from one vps to another, just modified necessary port and i will have the same extact instance i have in like one minute when i docker container up?
Then, kubernetes is your friend. Many of your tools has helm chart. You just needs to provide some yaml configuration to the helm chart, and the cluster of the tool will be ready
Try with rancher to manage the kubernetes
Since you already familiar with guest OS then I believe docker is suitable for you
Or maybe you can post command you always run when setup new host, then maybe we can help you to convert it into ansible
Yes, less or more, as long as in new machine has docker installed, then you will be up in a short time
Wow, that is awesome
gonna start trying these setup XD
Great, good luck
Glorified SSH scripting tool really. Which is a feature not a bug - you can use it everywhere & for anything.
I'm liking it though. Combined with a virtualization solution that allows CLI control you can spin up VMs etc. No trivial, but doable with some time & patience
If you want to take all the complexities out of the provisioning side so you can just get on and work and you don’t want to also have to manage and maintain your own deployment environment then you just need a host that can do all that for you.
I am happy to work with you to store manage and deploy pre built environments and retain full VPs images to deploy on demand.
Feel free to shoot me a PM or email me [email protected] with what you need in an ideal world and I will provide a solution that just allows you to get on and do what you do.
https://inceptionhosting.com
Please do not use the PM system here for Inception Hosting support issues.
Thanks for this, I will write you in details, more of long term association would help.
Overall we made a good progress with LXD, more than we understand the lxd, this tool https://github.com/AdaptiveScale/lxdui well manage containers, images, network, port forwarding and including support to clusters.
Tried setting up 3 host servers, clustered them, launched few containers, made them to communicate each other. While this may be starter, production we need expert help.
Congrats for your progres
If you comfortable with virtualbox, why not use it ?
Isn't Virtualbox works with GUI based Systems, a ton of manual work on networking and clustering on host and vm node, it also heavy compared to LXD. VirtualBox doesn't do cross host networking out of box, IMHO.
it works fine with headless server. Every function can be done using vboxmanage. Full Virtualization will always have more overhead than the container.
If you after a lightweight solution, my recommendation is docker.
Docker, we are tried little, then putting them into swarm/kubernetes, build script also new for us, more automation expertise needed, too big for our small brains. Docker is the destination, however we picked LXD along the journey as it is good to start to understand the hosting/deployment complexities at easy scale for small brains.
LXD/LXC so far good with cluster, now we are looking into MASS https://maas.io/, hopefully we will have better understand how MASS add value to LXD clusters. The community is big enough for MASS, LXD integration.
LXD, we learned to create storage pool today, then the newly created containers are put into storage pool.
Then created storage volume and could attach to container. Still could not get MASS to work. I see it above our head, need solid understanding.
Buying 3 used HP 360e G8 servers tomorrow, this brings up total 5 servers including Dell R520. We need to put them in LXD cluster for large capacity data ingestion.
Have a look at Proxmox. You can get the best of both worlds, webui with console, easy to use, set up anything as a file backend etc etc all with LXC.
Get the best deal on your next VPS or Shared/Reseller hosting from RacknerdTracker.com - The original aff garden.
Is Proxmox works on VPS too, like netcup/hetzner cloud/vmware, the client base has unpredictable setup