Skip to content
IT
Guides & Tutorials

Complete Guide to the Incus 7.2 Update: New Features and Improvements

Discover how to best leverage the latest security, networking, and container management features

Published on By Sebastiano, GoYou.it 3 min read
Listen to the full article Full reading · 5:19 · from the channel GoYou Wiki
Complete Guide to the Incus 7.2 Update: New Features and Improvements

KEY TAKEAWAYS

  • Fixing 8 security vulnerabilities, including 6 critical ones
  • Integration of SELinux for advanced instance isolation
  • New commands for efficient management of CLI options
  • Improvements in networking with static configurations and BGP
  • Optimizations for backup and data compression

Incus 7.2 is a container and virtual machine manager developed as an open-source fork of LXD. This tool allows you to efficiently manage containers and virtual machines, offering advanced features for security, network management, and backup.

This guide is aimed at system administrators, developers, and advanced users who need a powerful tool for managing containers and virtual machines. Incus 7.2 is particularly useful for those looking for a secure and flexible alternative to LXD, with significant improvements in security and network management.

  • Security: Incus 7.2 fixes eight security issues, including six critical vulnerabilities, improving protection against unauthorized access and command execution.
  • SELinux: Integrates SELinux to apply confinement individually to containers and virtual machines, isolating instances on the same host.
  • Network Management: Supports static configurations for OCI containers and improvements in managed networks, such as BGP path advertising for each instance.
  • Backup and Storage: Introduces a new NBD API endpoint for concurrent access to all virtual machine disks and support for Btrfs compression.

Prerequisites

  • Hardware: A system compatible with containers and virtual machines.
  • Software: Incus 7.2 installed on the system.
  • Administrative Access: Root or sudo privileges to perform configuration and management operations.

Procedure: Updating and Configuring Incus 7.2

By the end of this guide, you will have updated Incus to version 7.2 and configured the main new features.

  • Update Incus to version 7.2 following the specific steps for your operating system.
  • Verify the update by running the command: incus --version
  • Configure SELinux integration for your instances:
    • Edit the instance configuration file to include the new configuration keys.
    • Set the process domain, file type, MCS level, and root filesystem labeling.
  • Manage default CLI options using the new command: incus default
  • Configure keepalive timeouts for remote connections:
    • Run the command: incus remote set-keepalive
    • Set the desired value for keepalive.
  • Configure static networking for OCI containers:
  • Configure BGP route advertising for instances:
  • Configure Btrfs compression for storage volumes using the configuration key: btrfs.compression
  • Configure node and port GUIDs for InfiniBand SR-IOV devices.
  • Set WebSocket source restrictions.
  • Monitor new warning-level logs for file, socket, or response body closure.

For more details, visit the release announcement here or check the full changelog here.

Verification and Troubleshooting

By the end of this guide, you will be able to test the correct operation of Incus 7.2 and resolve any issues.

Functionality Testing

  • Verification of New Features:
    • Run the command incus info to verify that sensitive information is hidden.
    • Use the command incus default to manage default CLI options.
  • Network Configuration Testing:
    • Configure static IP addresses for OCI containers.
    • Verify BGP route advertising for each instance.
  • Verification of Virtual Machine Backups:

Troubleshooting

  • Security Issues:
    • Check that SELinux settings are correct and that instances are isolated.
  • Network Issues:
    • Check that BGP routes are advertised and withdrawn correctly.
  • Backup Issues:

If you encounter persistent issues, consult the release announcement or the full changelog for more details.

2 to improve the security, network management, and backup of your instances. Now you can apply this knowledge to optimize your infrastructure.

Educational Summary

  • Security: You have learned to configure SELinux to isolate instances and manage critical vulnerabilities.
  • Network Management: You have discovered how to configure static addresses, advertise BGP paths, and use dynamic proxies.
  • Backup: You have explored the use of the NBD API to access virtual machine disks concurrently.

Call to Practice

To directly experiment with the new features of Incus 7.2, visit the Incus online platform and try the features described in this guide.

Editorial Note and Disclaimer

The guides and content published on GoYou are the result of independent research and analysis activities, for informational, educational, and in-depth purposes.

GoYou does not constitute a journalistic publication or an editorial product pursuant to Law No. 62/2001 and does not provide real-time information.

The GoYou project does not provide professional, technical, legal, or financial advice and disclaims any liability for the misuse of the information published.

In the Crypto sector, every investment involves risks: the reader is invited to always inform themselves independently before making any decision.

Source: linuxiac.com · GoYou.it is not a registered news outlet; all content is for informational and educational purposes.

Listen GoYou Wikievery article read in full
Go to the channel

You may also like

Behind every article is the work of our passion. If you enjoy GoYou.it, you can support its development and continuity.

Support with PayPal