From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: Re: Hosting a GuixSD server on commodity hosting platforms, a journey Date: Sat, 3 Dec 2016 00:20:35 +0100 Message-ID: References: <878ts212ic.fsf@dustycloud.org> <871sxt1sho.fsf@dustycloud.org> <87shq76kkl.fsf@dustycloud.org> <3c51a2c0-a3a0-da12-22a7-e2b2739520ca@cbaines.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iBLlrxm9cSHub8j3NrfGV5qsU9KVrvVBc" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCx8J-0004wJ-A1 for help-guix@gnu.org; Fri, 02 Dec 2016 18:20:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCx8G-000694-3G for help-guix@gnu.org; Fri, 02 Dec 2016 18:20:47 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:37785) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cCx8F-00068F-Lj for help-guix@gnu.org; Fri, 02 Dec 2016 18:20:43 -0500 In-Reply-To: <3c51a2c0-a3a0-da12-22a7-e2b2739520ca@cbaines.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: mail@cbaines.net, help-guix@gnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --iBLlrxm9cSHub8j3NrfGV5qsU9KVrvVBc Content-Type: multipart/mixed; boundary="deJcs7VAC9grekFaaSKkPIch0okECiKmU"; protected-headers="v1" From: Tobias Geerinckx-Rice To: mail@cbaines.net, help-guix@gnu.org Message-ID: Subject: Re: Hosting a GuixSD server on commodity hosting platforms, a journey References: <878ts212ic.fsf@dustycloud.org> <871sxt1sho.fsf@dustycloud.org> <87shq76kkl.fsf@dustycloud.org> <3c51a2c0-a3a0-da12-22a7-e2b2739520ca@cbaines.net> In-Reply-To: <3c51a2c0-a3a0-da12-22a7-e2b2739520ca@cbaines.net> --deJcs7VAC9grekFaaSKkPIch0okECiKmU Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Chris[es], [If =E2=80=98commodity=E2=80=99 means =E2=80=98whatever this OpenStack th= ing might be=E2=80=99, or anything involving comparison of pets to cattle, this is not that. But this caught my eye:] On 02/12/16 20:51, Christopher Baines wrote: > Thanks for looking in to this Chris! I'm using Bytemark for personal=20 > servers, and have tried and failed to install Guix from a Debian > live cd. Interesting. That should work. I've been running a pure (from scratch) GuixSD VPS[0] for the better half of a year. I bootstrapped from a provider-supplied SystemRescueCD image, since it has all required packages pre-installed, but any sane live system should do. Partition and format the target device. Mount that. Upload shiny-new-system.scm. Get your swapon. Bind mount /gnu, /var/guix and /tmp from temporary directories on /mnt, to prevent =E2=80=98guix system = init /mnt=E2=80=99 filling up the RAM disc. Watch the builds scroll by. Reboot= =2E Done. If I forgot anything, it can't have been much. A similar approach should work on all hosting providers that support booting live CDs that can run out of RAM. I suspect one could =E2=80=98sn= apshot=E2=80=99 the base system on providers that support it, to spin up additional instances faster. I haven't tried; installing from scratch is just as easy and keeps the bits fresh. No idea how this relates to =E2=80=98commodity hosting=E2=80=99: SystemRe= scueCD happens to require console access to set the root password for SSH, but after that the entire deployment can be scripted. Mine are. It's as far from underdocumented (to the point of being proprietary) image layouts and shiny =E2=80=98API=E2=80=99s as possible, which is a ni= ce bonus. :-) Kind regards, T G-R [0]: : I happily endorse them, and can't wait to send them a =E2=80=98Please add GuixSD-1.0.iso=E2=80=99 ticket when the t= ime comes. --deJcs7VAC9grekFaaSKkPIch0okECiKmU-- --iBLlrxm9cSHub8j3NrfGV5qsU9KVrvVBc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEqBAEBCgAUBQJYQgHEDRxtZUB0b2JpYXMuZ3IACgkQkczbm0hUG5miFAf9FSOS Fr0DLYQnZA84TpMGf7YbC5saO4lOs/EbaV6CrqDbJw/apgAxbeqIIjML7ZSNYyOr yWa1UMYr//oLylLDZhjDk7wLSbM1ojDF/KIgHI4gW76WsZ7XDG4gwGO5SQo1Eykd Ph1pZCN6Uw839TOJUh3Dsk9IG6oC0WIWlXJxcWYMZWE3TBdZa60TVz3V16JSdwpd nB3A1uM/kpkavYwYoeZP5RGJlweurIcD81Rs+8e/jdrb26+1NKRBORs6yNQMpL70 vxUTWuBU8Nbk06kYFL/9XeVTi2yknUxnK5e50b++bP25CbDsoPTIKUApHK4nQqnu 52TFzfgYSyifhfCGWA== =RMgE -----END PGP SIGNATURE----- --iBLlrxm9cSHub8j3NrfGV5qsU9KVrvVBc--