Received: from smtp.ungleich.ch (smtp.ungleich.ch [185.203.112.16]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 6B7437810A7 for <~alpine/devel@lists.alpinelinux.org>; Sun, 3 Jul 2022 08:36:31 +0000 (UTC) Received: from blind.localdomain (localhost [IPv6:::1]) by smtp.ungleich.ch (Postfix) with ESMTP id 8483720473; Sun, 3 Jul 2022 10:36:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ungleich.ch; s=202201; t=1656837379; bh=pgawzcxy0GnTT4/UKoXqQ9R0QwNjIbumTpe6W9y8IX8=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=fqmViLyU2JhZkzLcH5/YoWwxk7nBnUu0bDpJNi9wliMS1eCM+oWNUjEqb7IXvi/j+ OiI0qHQkrrasc2+TpatvT0ZVNx6Gudj0lWRHCJqDRzHKqdqwVemUNhKDKB1/Icf9N6 iBU8y9fQVSKraFl+EUiI+FglVeRbBrd5KKmChEog1Mkg532+Bn6uIssYVLEJ0KysqB GTq5BLYSFYuWpuRGEia1VuP+L/b44zCNhkvg8UrshBRPVXYyxwGfaQLc7ShYHIOQF2 tDSi8dsJcy+AbY70crYCOLsySL+AhLal/jVRv9hYFMlTW5jm9+i/VZyM39fIwaWRq1 nTHqdcrq7OWAw== Received: by blind.localdomain (Postfix, from userid 1000) id 32EA213A071A; Sun, 3 Jul 2022 10:36:30 +0200 (CEST) References: <1820c942-7444-8bb1-60f5-f6b5e9e9f8e6@wildtechgarden.ca> User-agent: mu4e 1.7.26; emacs 28.1 From: Nico Schottelius To: "Daniel F. Dickinson" Cc: ~alpine/devel@lists.alpinelinux.org Subject: Re: Lightening my cloud automation via tiny-cloud Date: Sun, 03 Jul 2022 10:30:15 +0200 In-reply-to: <1820c942-7444-8bb1-60f5-f6b5e9e9f8e6@wildtechgarden.ca> Message-ID: <877d4uy4mp.fsf@ungleich.ch> MIME-Version: 1.0 Content-Type: text/plain Hey Daniel, "Daniel F. Dickinson" writes: > Hi all, > > TL;DR I'm starting an 'experiment' with 'less is more' automation via > tiny-cloud and **no** Packer or Terraform, and no cloud-init, python > (and therefore Ansible), et al on the client side, and would appreciate > any development advice in so doing. [...] as a cloud provider I can only say I really support such developments. Building a VM is often not much more than x-bootstrap into a directory that is residing on a loopback mounted disk. As a matter of fact, we build many of our VM images like this [0]. However our scripts are hardcoded for a specific OS and for use with opennebula, so they are not universal. What I'd recommend is actually using python for such a project, as it is "nearby shell" and easy enough, but this is just my personal opinion. Regarding the metadata "server": there are 2 ways currently of using it: a) via an disk / iso image b) via networking. (b) is usually error prone as many tools rely on having IPv4, which does not exist for instance in our core network. Again, writing that daemon is probably not a big thing, but the choice of network vs. disk might make be smart to consider before. That said, in case you are a Matrix user, we discuss similar topics in the #hacking-and-learning:ungleich.ch room from time to time. If you need at some point in the future a cloud provider crazy enough to support your project in regards of supporting the whole flow, give me a ping. Best regards, Nico [0] https://code.ungleich.ch/ungleich-public/ungleich-tools/src/branch/master/opennebula-images -- Sustainable and modern Infrastructures by ungleich.ch