public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: cloud-init solution
Date: Wed, 09 Jan 2019 13:09:46 +0000	[thread overview]
Message-ID: <59C60075-3AA8-4A45-AB7B-7D6C0E15CE12@ipfire.org> (raw)
In-Reply-To: <393737096.5367.1547028039343.JavaMail.zimbra@li.nux.ro>

[-- Attachment #1: Type: text/plain, Size: 1644 bytes --]

Hello,

Thanks for writing.

I do not think that integrating cloud-init is a viable option because it is designed for simple systems that just need to get an IP address and some basic configuration. The firewall scenario has a lot more complex configuration and that cannot be (I think) represented by cloud-init.

We have a custom set of scripts to import basic network configuration from AWS:

  https://aws.amazon.com/marketplace/pp/B07HYRD4FX

There is a script that detects at boot time if the system is running on AWS:

  https://git.ipfire.org/?p=ipfire-2.x.git;a=blob;f=src/initscripts/system/aws;h=2a556801ac8ca5854798096b31b0fa65277a7cf3;hb=HEAD

Then, a configuration script is called that connects to the meta-data service and imports what we need (networking, SSH, etc.):

  https://git.ipfire.org/?p=ipfire-2.x.git;a=blob;f=src/initscripts/helper/aws-setup;h=af6d24c8b4dc54f1a5577b32efc99523f34e31f5;hb=HEAD

This can in theory be used with other platforms, yes. I guess there is some sort of a common standard on the meta-data.

-Michael

> On 9 Jan 2019, at 10:00, Nux! <nux(a)li.nux.ro> wrote:
> 
> Hello,
> 
> We are thinking to use Ipfire on a on-premise cloud plaform, these are well supported on Linux by the cloud-init package which can work with all sorts of metadata providers.
> I understand from twitter that there is something similar in Ipfire which works on AWS. Can anyone shed some more light on this component and perhaps how it could be used with other platforms?
> 
> Regards,
> Lucian
> 
> --
> Sent from the Delta quadrant using Borg technology!
> 
> Nux!
> www.nux.ro


      reply	other threads:[~2019-01-09 13:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-09 10:00 Nux!
2019-01-09 13:09 ` Michael Tremer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59C60075-3AA8-4A45-AB7B-7D6C0E15CE12@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox