10 votes

How to test VM provisioning script without provisioning

I can see some options: Use Vagrant to create your VMs; it separates the process of creating the VM (including the base OS) and the actual provisioning. It also has some options to run certain ...
user avatar
  • 4,726
6 votes
Accepted

Docker vs Virtualisation

First, Docker is just a company. =) There are two methods of isolating things, Methods that isolate the kernel. Methods that do not isolate the kernel. For all intents and purposes, methods that do ...
user avatar
6 votes

How to test VM provisioning script without provisioning

http://www.vagrantup.com You could use vagrant to deploy VMs on the local laptop. You could also check whether it is possible to split the script in smaller parts so it will not take four hours to ...
user avatar
  • 12.6k
5 votes

How to test VM provisioning script without provisioning

If testing locally isn't an option, then the most straight forward approach would be to use disk volume snapshots/backups to your advantage. These will still cost $$$, but will save you time in the ...
user avatar
  • 3,003
4 votes

What are the differences between application virtualization, emulation layer, and container virtualization?

Container virtualization with Linux is a combination of kernel features, namespaces and cgroups, used to run an application in a sandbox. Each application has it's own filesystem, network stack, pid ...
user avatar
  • 2,800
3 votes
Accepted

What artifact managers are available in GCP?

If the artifacts in question are docker images then the recommended artifact management solution is the Container Registry, well integrated with other GCP products producing and/or using such images. ...
user avatar
3 votes
Accepted

Automate custom docker image deployment on AWS

I will give it a try and explain all required steps with examples. Please add comments with questions and improvement suggestions if anything is not well enough explained. The OP (original poster) ...
user avatar
3 votes

What is a golden image?

As noted in the comments there are several applications for the term. This answer focuses on the term as it relates to a compliance audit. In the context of an audit, a golden image refers to an ...
user avatar
  • 620
3 votes
Accepted

How does Vagrant differ from VirtualBox and similar software, if at all?

Vagrant is a tool to create and customize virtual environments (containers and VMs) in a reproducible fashion (across platforms) using code and a virtualization provider of your choice. VirtualBox is ...
user avatar
3 votes

Open source private cloud VM provisioning for container workload

"best suited" is the question. How do you measure this? what are the metrics and why do you choose them? I think you are looking for some kind of "tools combination", earlier tested on production by ...
user avatar
  • 201
3 votes

Scheduling collisions possible in IaC - Infrastructure as Code - solutions vs. software defined data center?

I disagree with your definition, kubernetes, openshift and other are scheduler and as such should go in the SDDC part. IaC things are Vagrant/Terraform/Cloudformation/Vmware Cloud management. They are ...
user avatar
  • 11.1k
2 votes

Other tools to provision virtual machines

Have you considered to use Ansible? You have some resources about using Ansible with VirtualBox and also vagrant
user avatar
  • 248
2 votes

Possibility of container breakout compared to VM (virtual machines)

Containers isolate an application on a shared OS, VM's isolate an OS on shared hardware. With those different levels of abstraction, you have different exploits and protections. A successful kernel ...
user avatar
  • 2,800
2 votes
Accepted

Are all virtualization (OS/above-OS) utilities DevOps utilities?

I'd say you have touched another, far more fundamental question - what makes a utility a "DevOps" one? That is, how do you measure the "DevOpsness" of a tool and formalize facts in this context? ...
user avatar
2 votes
Accepted

Why is it necessary to have virtual machines to run multiple server instances?

Multiple apps on the same server But what if I have a Node.js server application? I could run multiple of those on the same machine without any kind of virtualization. Yes, you can run multiple apps ...
user avatar
  • 925
2 votes

Debug Docker DNS

There is a comprehensive document about k8s' DNS. According to this document one could validate whether the DNS is working by running: busybox.yaml apiVersion: v1 kind: Pod metadata: name: busybox ...
user avatar
  • 12.6k
1 vote
Accepted

Describe the machine and service infrastructure with a diagram

Adding on my comment, I can only share my personal experience and what worked with our clients in the past. You have to have a Diagram with an at least high overview on how the services will work: ...
user avatar
1 vote

Does RAM Come Into The Container vs VM Decision?

the benefit of a container starting up fast but they don't talk about heavyweight applications. yes and no. The container only contains the app and runtime (e.g. JVM), but the app and runtime starts ...
user avatar
  • 925
1 vote

How to automate installing an ISO in a VM?

If you're into RHEL you could look into running oVirt ( https://ovirt.org/ ). This will enable you to manage host machines, VMs and virtually anything in between through Ansible. What you need is ...
user avatar
  • 131
1 vote

What artifact managers are available in GCP?

A new service have been released this year called Artifact Registry
user avatar
1 vote

How can I test native macOS UI software in a container before deployment?

I can confirm that running Docker on Mac works just fine, but according to this ServerFault question, it's not possible to just run MacOS in Docker. (You might be able to run MacOS in a VM in a ...
user avatar
  • 221
1 vote

What are the differences between application virtualization, emulation layer, and container virtualization?

As often, the vocabulary is overloaded, and the limits between technologies are somewhat fuzzy. As a complement to the BMitch's answer, in my understanding, emulation is a way to run an application ...
user avatar
1 vote

How to install docker in Raspbian Virtual Machine

The Docker website doesn't know about your operating system and has no docker installation for you. Try the one packaged by raspbian: sudo apt install docker.io The name is different in some ...
user avatar
  • 141
1 vote

Open source private cloud VM provisioning for container workload

Here's what I've tried: Terraform + libvirt There's unofficial libvirt provider for terraform. It works, but there are a few gotchas: Doesn't support block devices: https://github.com/dmacvicar/...
user avatar
  • 141
1 vote

Do not show all docker containers to a particular user

Hi and welcome to DevOps SE! To enable Role-Based Access Control (RBAC) for Docker Engine, you need the UCP (Universal Control Pane) available through Docker EE. https://success.docker.com/article/...
user avatar
1 vote

Other tools to provision virtual machines

I've been wondering if there is any other similar software/tool that just does a one time provision, sets up a static IP/MAC address, and allows for easy start/resume/shutdown when testing/deploying/...
user avatar
  • 4,726
1 vote

How do I autostart Jenkins agent machines?

We use AWS's EC2 Plugin to spin up spot instances in AWS for our Jenkins master based on a single AMI, exactly as you describe, so Jenkins does support this behavior. From a quick bit of searching ...
user avatar
  • 4,202
1 vote

Error starting cloned VM in Vsphere Client

Have a look at this page which documents EnvironmentBrowser for clues of which setting to edit. Possibly something has a relative path that is now modified, or a resource that's fully used up or no ...
user avatar
1 vote
Accepted

Pause/Suspend guest in KVM without virsh and libvirtd

After long searching and experiments, the best option for me became qemu monitor. See https://nico.schottelius.org/blog/control-and-shutdown-qemu-kvm-vm-via-unix-socket/ for more details regarding ...
user avatar
  • 593
1 vote

Error Vagrant Provisioning with Virtual Box on Fedora

Try to start with a clean sheet by removing the .vagrant.d folder or start to remove the corrupted zip. When the file or folder has been removed, one could run vagrant up again and check whether it ...
user avatar
  • 12.6k

Only top scored, non community-wiki answers of a minimum length are eligible