Incus UI is open for development

Hello everyone,

Joseph (@Hye-Dev) and I are excited to share that a first-party web interface for Incus is now in development.

Incus UI sets out to be an equally first-class interface for Incus as the CLI. It’s developed alongside Incus, and is aligned with Incus’s feature release cycle.

This project is currently in its infancy and its core foundation is still under construction. During this time (v0.x releases), we will follow a semi-monthly release cycle.

The first release is scheduled for November 12th, and will lay the foundation needed to start building comprehensive Incus functionality. You can track the current roadmap on our GitHub milestones, and read more about the project on the lxc/incus-ui GitHub.

Incus UI, like Incus, is a community-driven project, and this early stage is the best time to get involved. There’s plenty to build, and whether it’s writing code, testing early releases, reporting bugs, or sharing ideas, your contributions will help shape how the project evolves. We’d love to have you on board.

This is a completely new effort that’s completely separate from the current rebranded and lightly modified LXD UI that’s shipping in various places. Our goal here is for a UI that’s really meant for Incus, supports Incus features as they come out, works with Incus deployments of any size, knows how to interacti with IncusOS and has full support for our authentication, authorization, clustering and server side documentation and metadata layers.

It’s going to be months before we feel like this is at feature parity with the rebranded LXD UI and we can start cutting over in IncusOS and elsewhere.

While we are planning deeper first party integration between this UI and Incus, mostly through a set of server-side configuration keys that are properly validated (rather than the current user.ui.XYZ configuration keys), we don’t have any plans to actively make this UI a required part of Incus and will keep making it easy to select and use the UI of your choice.

21 Likes

Very nice.

Question: is it a goal of the project to be able to manage multiple clusters in a single view - e.g. list instances across them, and move instances between them? Or will incus-ui only show the single cluster you pointed your browser at?

It’s not. The Incus UI is a pure javascript client for the Incus API of the server/cluster serving it.
It’s not allowed to connect to anything else as CORS would prevent it.

We will have the same kind of cross-server/cross-cluster migration logic that we have in the current LXD UI implementation, effectively having a “migrate” button on the source environment give you a large token that you can go and paste in a “receive migration” dialog on the target environment.

For inventory/tracking of large environments with multiple clusters, Operations Center fills in that gap, at least when IncusOS is involved. It connects to all the clusters, receives the events to keep track of a global inventory, provides a global image server, lets you manage updates across the fleet, … And then for actual interactions with the individual clusters, its inventory links directly to the per-cluster/per-server UI.

That makes security a lot better by never having one cluster (or the UI it serves) have access to another cluster. That therefore limits any compromise to the server/cluster where it happened.
Operations Center receives global events and keeps track of a read-only inventory but the goal is for its own access to be downgraded to read-only during normal operations, instead linking to the individual clusters/servers when the user wants to perform an actual operation.

With this, even the compromise of Operations Center would be limited in scope as the attacker would still need to compromise access to the actual Incus environments.

1 Like

Thanks for the announcement, great to see a first-party UI happening!

I’m interested in contributing to Incus UI. For context, I maintain IXUI (GitHub - xlmnxp/ixui: Incus UI, but with a Proxmox soul and an ESXi skeleton. · GitHub), a community web UI for Incus, and I have a few ideas I’d still like to explore there.

My one concern is that once an official UI ships, community projects become hard to discover, and users may never learn that alternatives exist.

A suggestion: during incus admin init, when the user enables the HTTPS API, an optional step could ask which web UI to install, with a one-line description for each:

  • Incus UI (official, recommended)
  • IXUI (community)
  • Other community UIs
  • None

The official UI would stay the default, so nothing changes for most users. Community projects would just get a visible, opt-in path. Since Incus can already serve a UI from a directory, this could be a fairly small change in packaging and init rather than in the core.

Rough mockup:

Happy to help implement this if there’s interest.

2 Likes

Quoting @stgraber

The current Incus UI is provided by Zabbly as a separate (and optional) incus-ui-canonical package. The official UI will likely follow a similar route via incus-ui package.

Personally, as an Incus user, I would not expect incus admin init to suggest a third-party integration that would not be supported by the Incus team (or the distro packaging team).

I would rather expect something similar to how the installation instructions for Incus include the details for different OSes and explicit about who to contact for support.

So, on the website, we can have a section for alternate UIs in the official installation instructions for Incus UI.

1 Like

Yeah, we definitely don’t want to have Incus start downloading and unpacking UIs itself from the Internet and having every distribution start packaging most UIs out there also isn’t very realistic.

There’s also the issue that you’d want this to be perfectly consistent across a cluster.

Having different packages for the different UIs which conflict with each other or use the alternatives mechanism of the distribution seems a lot more standard and tractable.

3 Likes

I think something important to understand is that it isn’t our goal for Incus UI to compete with or detract from other community interfaces that take different approaches. It’s actually the contrary & we support this activity.

When LXD UI was announced in 2023, its approach posed such a divergence from the principles of Hye Ararat at the time, that this meme started floating around the Hye company:

Some members of this community loved the approach it took, but for us it was fundamentally incompatible with the user experience our audience expected - so the result was a divergence, and had LXD & Incus not split, today you’d likely have two major competing interfaces with different factions of contributors.

We don’t want anyone to feel like they need to react to Incus UI the way we did to LXD UI. Our experience proves that one opinionated interface may not meet the needs of all, so we actually want Incus UI to improve alternative UI efforts.

The core areas of Incus UI, such as the data/state layer, we intend to package as modules that other React-based projects can consume. This will allow community interfaces to benefit from the first-party alignment of an in-house effort, and such contributions will benefit UIs throughout the ecosystem. This will also alleviate much duplicate work, and most importantly, unify contributions across projects where possible.

An official Incus UI offering is still of course important from a support & simplicity standpoint, especially if you’re one of the many people who increasingly looks to Incus as a formidable alternative to Proxmox, however, that doesn’t have to come at the cost of alternate community work, as we’ve shown here. There’s still definitely room to surface these as has been done with other projects, and I suspect we’ll have a sharper solution for bringing community alternatives to light as we approach release :wink:

4 Likes