An update on the licence change and community image server

That’s perfect! The kvm one is missing LVM2 and binfmt (needed for cross compilation) support.

Thanks for the update!

2 Likes

Hi All

So I managed to get the whole flow working locally, this means the following:

  • Icepak (github action) is able to push built images to polar.
  • Polar is able to generate LXD specific feed OR Incus specific feed.
  • Polar is able to serve images correctly using CDN.
  • Users will be able to BYOCDN (bring your own CDN) if they so choose.

I made a high-level architecture diagram to make things easier to understand.

Hi All

Another update on this. So the MVP (sandbox) server is up and running if you would like to try it out it’s here:

https://images.opsmaru.dev

The production server:

https://images.opsmaru.com

How to use

To use the image server you can use this url (expires in 30 days)

lxc remote add opsmaru https://images.opsmaru.dev/spaces/b82cb0551bccd5edb7cf8626 --public --protocol simplestreams

What happens after this expires?

We are working on a UI where you can sign up and issue your own tokens / url. You will also be able to choose between LXD / incus feed. The image listing will be customized based on your choice. This is to ensure the feed is clean and doesn’t cause problems with either of the clients. The example above is and LXD feed.

You will be able to issue as many tokens as you want including tokens that never expire, you should keep your token private and not share it with anyone.

You don’t have the images I need

We will add new images, if there is demand, please open an issue or a pull-request here.

We will currently support the following architectures:

  • x86_64 (amd64)
  • aarch64 (arm64)

Will consider adding more if there is demand.

The bulk of the build system is done, I’m using a fork here which pushes to the sandbox server.

You can see the success build action here.

When will the ui be done

This is something of a high priority for us, therefore soon. I’m working on cleaning up the MVP ui to get this thing up in production hopefully beginning March.

Can I self host the image server?

Yes you will be able to self-host the image server if you want. We will provide instructions and an easy guide to enable you to do this.

In action

lxc image list opsmaru:

+----------------------------+--------------+--------+---------------------------------+--------------+-----------+---------+-------------------------------+
|           ALIAS            | FINGERPRINT  | PUBLIC |           DESCRIPTION           | ARCHITECTURE |   TYPE    |  SIZE   |          UPLOAD DATE          |
+----------------------------+--------------+--------+---------------------------------+--------------+-----------+---------+-------------------------------+
| alpine/3.16 (3 more)       | d4e280b3b850 | yes    | alpine 3.16 arm64 (20240221-14) | aarch64      | CONTAINER | 2.28MiB | Feb 21, 2024 at 12:00am (UTC) |
+----------------------------+--------------+--------+---------------------------------+--------------+-----------+---------+-------------------------------+
| alpine/3.16/amd64 (1 more) | 4fbbab01353e | yes    | alpine 3.16 amd64 (20240221-14) | x86_64       | CONTAINER | 2.50MiB | Feb 21, 2024 at 12:00am (UTC) |
+----------------------------+--------------+--------+---------------------------------+--------------+-----------+---------+-------------------------------+
| alpine/3.17 (3 more)       | 8edf37df13ec | yes    | alpine 3.17 arm64 (20240221-14) | aarch64      | CONTAINER | 2.70MiB | Feb 21, 2024 at 12:00am (UTC) |
+----------------------------+--------------+--------+---------------------------------+--------------+-----------+---------+-------------------------------+
| alpine/3.17/amd64 (1 more) | 099f83764a67 | yes    | alpine 3.17 amd64 (20240221-14) | x86_64       | CONTAINER | 2.93MiB | Feb 21, 2024 at 12:00am (UTC) |
+----------------------------+--------------+--------+---------------------------------+--------------+-----------+---------+-------------------------------+
| alpine/3.18 (3 more)       | 7c31777227b0 | yes    | alpine 3.18 arm64 (20240221-14) | aarch64      | CONTAINER | 2.75MiB | Feb 21, 2024 at 12:00am (UTC) |
+----------------------------+--------------+--------+---------------------------------+--------------+-----------+---------+-------------------------------+
| alpine/3.18/amd64 (1 more) | 37062029ee44 | yes    | alpine 3.18 amd64 (20240221-14) | x86_64       | CONTAINER | 2.94MiB | Feb 21, 2024 at 12:00am (UTC) |
+----------------------------+--------------+--------+---------------------------------+--------------+-----------+---------+-------------------------------+
| alpine/3.19 (3 more)       | e44e496455f5 | yes    | alpine 3.19 arm64 (20240221-14) | aarch64      | CONTAINER | 2.72MiB | Feb 21, 2024 at 12:00am (UTC) |
+----------------------------+--------------+--------+---------------------------------+--------------+-----------+---------+-------------------------------+
| alpine/3.19/amd64 (1 more) | b392f4461aaf | yes    | alpine 3.19 amd64 (20240221-14) | x86_64       | CONTAINER | 2.92MiB | Feb 21, 2024 at 12:00am (UTC) |
+----------------------------+--------------+--------+---------------------------------+--------------+-----------+---------+-------------------------------+
| alpine/edge (3 more)       | 34b71a8b87ab | yes    | alpine edge arm64 (20240221-14) | aarch64      | CONTAINER | 2.72MiB | Feb 21, 2024 at 12:00am (UTC) |
+----------------------------+--------------+--------+---------------------------------+--------------+-----------+---------+-------------------------------+
| alpine/edge/amd64 (1 more) | 4d7c0a086c41 | yes    | alpine edge amd64 (20240221-14) | x86_64       | CONTAINER | 2.93MiB | Feb 21, 2024 at 12:00am (UTC) |
+----------------------------+--------------+--------+---------------------------------+--------------+-----------+---------+-------------------------------+
6 Likes

We have recently added debian and ubuntu images to the image server. You can try it out.

  • debian/bookworm
  • debian/sid
  • ubuntu/jammy

Also in case anyone is curious about our CDN we are using bunny.net you can see their network coverage here:

1 Like

Do these images contain cloud-init? I used it to initialize VMs when used images linuxcontainers

You mean the cloud variant? We can add that. You’ll also need the VM images right? We can add that too. I’ll add them and keep you posted once they’re up.

1 Like

Hi Everyone

Another update from me. I just shipped an updated version of the sandbox image server

https://images.opsmaru.dev

You should be able to sign up and issue your own tokens that don’t expire now. Do note that the production server is also coming up and will have monitoring / redundancy.

1 Like

This is very cool to provide the source for the web and image workflows. I’ll self-host and when I find time contribute to the image repo. Thank you for your effort, it’s much appreciated.

1 Like

Hi Everyone

The production image server is up and running here:

https://images.opsmaru.com

We’ve switched our internal infrastructure to using this server. The difference between the production and sandbox is that, production has redundancy and health check. You can see the status here https://status.opsmaru.com

Production will also not be updated as regularly as the sandbox version. Only well tested changes will make it to production. This is to ensure maximum stability given that the image server as simple as it maybe is a core infrastructure component.

1 Like

We have now launched our new non-Ubuntu image server:

3 Likes