From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id oCmcCNATTmblrgAAe85BDQ:P1 (envelope-from ) for ; Wed, 22 May 2024 17:48:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oCmcCNATTmblrgAAe85BDQ (envelope-from ) for ; Wed, 22 May 2024 17:48:32 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fabionatali.com header.s=gm1 header.b=C6Uoi9yT; dmarc=pass (policy=reject) header.from=fabionatali.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716392912; a=rsa-sha256; cv=none; b=SgmwvVEf6JNJ2iQKQxesPhMmsrggUHhHgWmufzABEHaoQDZWy1wzm7deVSAtJ8F7hHbki4 kzS9MNP3R38GJ15CiPTk2FtWaP7+g0n2duiYnnZdczUgkf1RoreF/+b0XbY4F+auXHoxcs 6sgeTrlbaJZ3+y1tBeUJVGSprM0uxIgXSkcNjk2Cx2UBpeTx72rKd2LwSh/NfGt2BZLhcf 31x2/RXHaUKlBmCoIrL85Id0aaCFcXghKyxnDEip90+Bv5csegsqgQV1zXT+AXuLXPpA/l PA5iLwD+8bDbcuY13kC1/9z1O6LMN3ouKVRaxIvviWTbkpyf71W7fwDd3CRlnQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fabionatali.com header.s=gm1 header.b=C6Uoi9yT; dmarc=pass (policy=reject) header.from=fabionatali.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716392912; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Pg7v3RV3pBrZtb/EEYyJYTLXQ8uVcC7KlCgW9MVHD2s=; b=p1JiBrOrasVdO60T4FwwQEAOMG+bUbC3NibvJahIkVjg3C3dn6NA5ZxuHL8ZFIVbWVKOGL coRcDESdf3Tzy8JSkzzjHh0sPdy8xq5yXPrhAVPiJcQUgTJQbxNCFpqXT80hkh96ZLRzi5 EDbx6i28rg+MPiR/+hBgRM0CVqfFcjtmfcAnPAzGxY/ii84qSjYqSIyDzoD1uBWwyLjMws E5UB0j98eeQPild03rPAmrseA7b9+P0xkv1uGta6iddAnOO7PMMNmQw+l117N3QkpuDDze vpfbnDNhKkFEi5ftBOCcA4ucAYl3NH2JpfakUGo7x7xC26XBJdmpDlxUJlF2DA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BD1AF26C88 for ; Wed, 22 May 2024 17:48:31 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9oC9-0005lr-2l; Wed, 22 May 2024 11:48:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s9oC6-0005lK-TY for help-guix@gnu.org; Wed, 22 May 2024 11:47:58 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s9oC4-00019X-GZ for help-guix@gnu.org; Wed, 22 May 2024 11:47:58 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 489AE1C0006 for ; Wed, 22 May 2024 15:47:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fabionatali.com; s=gm1; t=1716392872; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=Pg7v3RV3pBrZtb/EEYyJYTLXQ8uVcC7KlCgW9MVHD2s=; b=C6Uoi9yT6GK2R08At3k2rhugoteb0HNT6X0xFr+xkB5QYA1uega/3oHKdeYdkFeBl50wiI GAVsfeDjG+smbpmitIbgsmg8VWiu3wO/kqSt5DfU2cg3rBV8TegUVt9WrkkdRl+1HbffJy AZl5JpwNJFo+WgCAxmi0hV6mGy3vpDA+UmYs87W7xXZWB9QTPiAL/gIonhP/J/l/MAxocm ynFNSedek1o1YblxKl3E2TIevhUNliuWRpJppoyM7dPbpmopLGAdgt9mpSazH9dHKtzW8z MiGdsurAUzQpKEXkcoZB9zL2Fj97QY7/wm49jkz+qA0T5MM+H6ss0cXgzstZ1Q== From: Fabio Natali To: help-guix@gnu.org Subject: Virtualisation alternatives for deploying a small number of services Date: Wed, 22 May 2024 16:47:51 +0100 Message-ID: <875xv5voew.fsf@fabionatali.com> MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: me@fabionatali.com Received-SPF: pass client-ip=217.70.183.197; envelope-from=me@fabionatali.com; helo=relay5-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: BD1AF26C88 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.85 X-Spam-Score: -4.85 X-TUID: Tb6x9QrUdmjm Hi, I'd like to run a small number of VMs on a single physical machine. The reason for using VMs is security, i.e. to get a strong level of isolation when deploying some services. Among the options I've been considering: + libvirt, which I understand would imply some manual (potentially non declarative?) setup, beyond defining and bringing up the libvirt Guix service. + Ganeti, which might be a bit of an overkill for this particular use case. + Guix's 'least-authority-wrapper', which of course would give me containerisation rather than virtualisation, so not really what I'm looking for. I think libvirt is my favourite option so far but I was wondering if there's any further alternative that I haven't been considering. I think the ideal solution would be some wrapper similar to the least-authority one, but that spins up a VM rather than a container. I see there's 'virtual-build-machine-service-type' which of course wouldn't fit the bill, but it might be close to the idea of a VM-based wrapper? Any ideas or pointers to existing solution are welcome. Thanks, best, Fabio. (I'd be grateful if you could CC me in if replying as otherwise I might miss your email.) -- Fabio Natali https://fabionatali.com