From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 0Mn9CLEoTmbNKAAAA41jLg (envelope-from ) for ; Wed, 22 May 2024 19:17:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id oPfrA7EoTma9bgEA62LTzQ (envelope-from ) for ; Wed, 22 May 2024 19:17:37 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=x+to7OdV; dkim=pass header.d=wolfsden.cz header.s=mail header.b=x+to7OdV; dmarc=pass (policy=none) header.from=wolfsden.cz; 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=1716398257; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+krG+huHqh7ch9zhgL7xHWy02P4yYxaAK3P+U/mbnC4=; b=tuK3O0x/mCPiSeXICIMSn9iPw2DLfpXfHGBdSzfa5tbGIUPnMQ4QzVfQAL/5kFNuLVG2FJ Q5yY62syF2XapgLsHYXimbwOs2p5VOlcVqIXMdCRli+2d718qOwZ63yhN4hKeBPMG7WBjg L6P10Ms5l4lkhZ6K44whs00mTNkh8/bk6DmYY4dpiRTpG9c5GhTl+n0epkx1MdC1eNt/XH pgkVS+y4gVFWZm+2GVv21aATcJGiXt+wNQNANXF8oVRKamF6a3d3u24d1Sb3lDgOjtXtBz HjyyC2dWhBqZJSk+7962ww4LePggdfvEYo2bBGz2TSBRnXZ28O3ncSGgCOTkuQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716398257; a=rsa-sha256; cv=none; b=J438tys9u1iBFMin3Fr0XEQ03jW1I/0vPqBZirMnhPlgmdP7EZiLL8dc5wCIXqivji2myG eSGuLq7r/l1LdUHeaUmahH3e3qyF7qFSMRXTHxJSVYh5VjlGS6kqE+tFMDlrQo1Fg37gkF /lrb5fOMuwYM5shHS8Tlxbh+61AHeoBeUmTJBvySODf52j9MM/UIPa/Cgx8CnhtH6rmn0q Wt5g9KZ9YD1+cJu5EjHdzgvYOLbem7L6gdGP/InYDWQBPCQApjsumOVOvR/dj0KBTcecPC KUP6KzkYuf/D9y6zi69LVx50Gd6xaMiKDVkSpHoNEPfTiyOYEvmN+JVgSjBPnw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=x+to7OdV; dkim=pass header.d=wolfsden.cz header.s=mail header.b=x+to7OdV; dmarc=pass (policy=none) header.from=wolfsden.cz; 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" 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 BFBBAD998 for ; Wed, 22 May 2024 19:17:36 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9paN-0002kz-Ej; Wed, 22 May 2024 13:17:07 -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 <~@wolfsden.cz>) id 1s9paI-0002k0-Dz for help-guix@gnu.org; Wed, 22 May 2024 13:17:02 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1s9paG-0000FE-2n for help-guix@gnu.org; Wed, 22 May 2024 13:17:02 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id ECFC629577D; Wed, 22 May 2024 17:16:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1716398215; bh=88v6AGrXYejDnreNk7hAU94X3IZbwYuobjIsWNYf8RA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=x+to7OdVyP1FesjSuCYAw627JB1HLNkC7SQ7SyrMNUe9g5M0R9P7eBeVgLfG09dda czTSm9D89CFHWQ2tqj6brR0aQEkM7bPpFQAptyb/PiyBfWSmG4mKZokJlbInAzwBbZ +2MPbZySIJH7fts1AAxPnU5SPWjZVbHWS84QnYoG9SvtkWDo71/rVSEHBVLONtCWQs maLCOxNo5zoSBDSY91A+l+08kxRyCRaCNiSArthreOnP2B236dkSFrYmI1vwolsjJ7 slj0P1aiorn0joRFg2PFwWUQyBJLAFtkWu9otNnZqYCHa5CYNgp+NMoBdbHi5tKdea 6VYzI0mMv9z2JpEU+sttXSPWATJ27PPE9DlgZRlZJ24ZkBN+1YtLk23BEGP3acf3PS DGRwX8ALKNwy3NFd1AuoLqjm4ydLzfXBDwn1EjsXRfdSrN3zm/9uNPuNSc/1Ea1Umm VHiOF6H1O9aIKKeZB+KxdVNK+eOA3kXXVWn7hM1NVLgk1018kZ58k/Yd9oEHof8kRt Yc4lAYjURpFYBicE5XPY50BRHrCwk6jsNwXlOQjNhH4t2/F/tNhTH42dIQlQ0asBzZ cBgH0tX6Dx31AiONgp+oBcW0dwJ+Y2mxIYDu1lCc52T2IJhVJtHiLQuCQFPXh0LJHV bj56unc879lKLEMFjK+HZ+XU= Received: from localhost (unknown [193.32.127.139]) by wolfsden.cz (Postfix) with ESMTPSA id 16D38297206; Wed, 22 May 2024 17:16:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1716398215; bh=88v6AGrXYejDnreNk7hAU94X3IZbwYuobjIsWNYf8RA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=x+to7OdVyP1FesjSuCYAw627JB1HLNkC7SQ7SyrMNUe9g5M0R9P7eBeVgLfG09dda czTSm9D89CFHWQ2tqj6brR0aQEkM7bPpFQAptyb/PiyBfWSmG4mKZokJlbInAzwBbZ +2MPbZySIJH7fts1AAxPnU5SPWjZVbHWS84QnYoG9SvtkWDo71/rVSEHBVLONtCWQs maLCOxNo5zoSBDSY91A+l+08kxRyCRaCNiSArthreOnP2B236dkSFrYmI1vwolsjJ7 slj0P1aiorn0joRFg2PFwWUQyBJLAFtkWu9otNnZqYCHa5CYNgp+NMoBdbHi5tKdea 6VYzI0mMv9z2JpEU+sttXSPWATJ27PPE9DlgZRlZJ24ZkBN+1YtLk23BEGP3acf3PS DGRwX8ALKNwy3NFd1AuoLqjm4ydLzfXBDwn1EjsXRfdSrN3zm/9uNPuNSc/1Ea1Umm VHiOF6H1O9aIKKeZB+KxdVNK+eOA3kXXVWn7hM1NVLgk1018kZ58k/Yd9oEHof8kRt Yc4lAYjURpFYBicE5XPY50BRHrCwk6jsNwXlOQjNhH4t2/F/tNhTH42dIQlQ0asBzZ cBgH0tX6Dx31AiONgp+oBcW0dwJ+Y2mxIYDu1lCc52T2IJhVJtHiLQuCQFPXh0LJHV bj56unc879lKLEMFjK+HZ+XU= Date: Wed, 22 May 2024 19:16:54 +0200 From: Tomas Volf <~@wolfsden.cz> To: Fabio Natali Cc: help-guix@gnu.org Subject: Re: Virtualisation alternatives for deploying a small number of services Message-ID: Mail-Followup-To: Fabio Natali , help-guix@gnu.org References: <875xv5voew.fsf@fabionatali.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jd7qks/nzgOPiBvs" Content-Disposition: inline In-Reply-To: <875xv5voew.fsf@fabionatali.com> Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.50 X-Spam-Score: -8.50 X-Migadu-Queue-Id: BFBBAD998 X-Migadu-Scanner: mx11.migadu.com X-TUID: riZa9h0SygSk --jd7qks/nzgOPiBvs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On 2024-05-22 16:47:51 +0100, Fabio Natali wrote: > 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. If your main goal is strong isolation and security, you probably might want to take a look at firecracker[0]. Downside is non-existent support in Guix, not even a package. The wrapper along the lines of least-authority is quite an interesting idea and I will likely explore it a bit, thank you. 0: https://github.com/firecracker-microvm/firecracker > > 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 > Have a nice day, Tomas Volf -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --jd7qks/nzgOPiBvs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmZOKIYACgkQL7/ufbZ/ wanGMQ//bl3nYDeju3WYuoGriubYqazqhJvSAdYA32jzkD4uB4ppUHLJ9WQslYt3 FhdrJt7+yoYeV/BZ+1I4b6OR2MZ9kfiUXBzN8azbS7DOuyHW4TFe1rvneefhMm0p x+AA/C+cbRpeee2XtyXqT37w4X7HWcS6zfMW4Sj+elum734FVyyvRVE+jVvieCHU sbSuixsM+1oLDqEsiHKjnPptIxaey+Nh8JKPW/M+lxe5pqRKlA+0xTq5S6w4wJQq vx4ss572D1Cng8stCO7Vtnb5sn9o6KVFxS1jRwzHUtMENoFywK6swninusWSyys0 YN/fXpHhANGQ9Ne1dkxAS4PDPLBqFhFz7dhAWWmW+5AW/3XLM96/Nrv7pS1azupN 644MM3VVxlyviJYz+xbpNnDBMBgzqCIVPZG5X4+DHSRiW+ZfhqJDdpaveCZHqHGB gakRTQLvxQoFWx/9kWQWERlRVS2YAdgngW5/9ePLfX3qRsdAUZ+hFaBuKStnDzpY 9AokzpI1gm6kfbrC3qe0GeOpPbhDVTJgjy74nPUto55VN1+/e1nhSKWR2ZS766mL m341wRFIP7XiBcigyH++CLVIXNrnb6HqMsV2r0u/4QGHlJEalDCpdjRlNiCrFyPi /W1aPJcdLu1Wz9fFVU/UDU0RH9mqJcvcri39HpQib0gclsz0mto= =OeNc -----END PGP SIGNATURE----- --jd7qks/nzgOPiBvs--