首页›Ubuntu Blog›文章

Automating encryption at rest with Canonical’s Charmed MongoDB

Neha Oudin · 2026年11月23日

AI 摘要 AI 生成,可能有误

本文介绍了 Canonical 的 Charmed MongoDB 如何通过两级密钥层次结构实现静态数据加密:主密钥加密一个包含各数据库密钥的密钥数据库,并强调加密必须在初始部署时启用,且无法在运行时切换。文章讨论了主密钥的安全存储选项,鉴于 HashiCorp Vault 或 OpenBao 支持密钥版本管理和轮换,推荐使用它们而非本地文件,同时警告一旦丢失加密密钥就意味着无法再访问数据。最后,文章重点介绍了 Charmed MongoDB Operator 如何自动完成加密设置、主密钥轮换、通过 Vault Agent 实现高可用性、备份以及可观测性,从而提供一个可用于生产环境的端到端开源解决方案。

When stakes are high, and your data is worth gold, you want to keep it secure from your client to your storage. This usually means setting up in-transit security with transport layer security (TLS), proper user and group policies with an identity platform. Finally, you’ll want data encryption at rest, which ensures that it encrypts database storage on disk, and the encryption keys are themselves stored securely.

Without data encryption at rest, anyone with sufficient permissions can read the data from the files on the disk. If the disks are stolen, your data is not secured. With data encryption at rest properly implemented, no one will be able to recover the data without the encryption keys. Data encryption at rest can also be a matter of regulations and compliance on sensitive data.

Before diving into the details of data encryption at rest in MongoDB, a word of warning: losing the encryption keys means losing access to your data. Without the key, no one can recover the data on the disk, not even you. This article will provide ways to store the encryption keys securely so you don’t lose them.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Ubuntu Blog

Install Ubuntu on NVIDIA RTX Spark

AI 摘要Canonical has released an Ubuntu concept image that lets developers run Linux on NVIDIA RTX Spark, a new Superchip combining a Grace CPU, an RTX Blackwell GPU, and up to 128 GB of unified memory for local AI workloads in laptops and compact desktops. The image, which is experimental rather than production-ready, offers a familiar Ubuntu development environment so developers using the Linux + CUDA stack can experiment with local AI and provide feedback as hardware enablement evolves. Alongside it, Canonical ships NVIDIA Nemotron Bolt as an inference snap optimized for RTX Spark, giving developers a practical starting point for running local AI agents on Ubuntu.

15 years of long term support for bare metal automation with MAAS

AI 摘要Canonical has released MAAS 3.8, the first Long Term Support (LTS) version of its open source bare metal automation platform, offering up to 15 years of security maintenance and enterprise support in line with Ubuntu's LTS commitment. This extended lifecycle helps organizations with long-term infrastructure investments—such as AI clusters, 5G networks, and HPC data centers—avoid frequent support-driven upgrades and align support across Canonical's entire stack, from bare metal to Kubernetes. The release also adds OpenID Connect single sign-on, relationship-based access control, customizable deployment scripts, and FIPS readiness improvements.

Automating bare metal infrastructure in FIPS-regulated environments with MAAS

AI 摘要Canonical's MAAS v3.7.4 introduces FIPS mode support, allowing organizations in regulated sectors such as government, defense, and financial services to enforce stricter cryptographic and security controls on their bare metal provisioning control plane. When FIPS mode is enabled, MAAS restricts TLS and SSH to approved algorithms, validates key types and sizes, requires trusted SSH host keys, and rejects insecure power management configurations, such as IPMI connections not using cipher suite 17. While fresh deployments are recommended for enabling FIPS mode on controllers, MAAS can also provision Ubuntu machines with FIPS-enabled kernels through its standard deployment workflow and cloud-init.

From desktop to cloud to road

AI 摘要The article discusses the integration bottleneck in automotive software development caused by inconsistent environments across desktop, cloud, and vehicle targets, leading to dependency conflicts and integration delays. It advocates for environmental parity—achieved through hardware and operating system abstraction—with Ubuntu serving as a consistent platform running across x86, ARM64, and RISC-V architectures. Canonical argues that standardizing on Ubuntu Pro offers long-term security support, API stability, and compliance with automotive standards, enabling teams to build, test, and deploy software-defined vehicle applications at cloud speed.

What if your Virtual Data Room (VDR) was Android™ based?

AI 摘要During mergers and acquisitions, virtual data rooms must give lawyers, advisors, and buyers controlled access to confidential documents across many different devices, operating systems, and IT environments. The article proposes running the document-viewing application in the cloud with Anbox Cloud, which hosts isolated Android app instances and streams only their rendered pixels to any browser, so users never receive, store, or process the original files on their devices. This centralized execution model keeps providers in full control of information and reduces exposure risk, though protections like authentication, permissions, and watermarking are still recommended against screenshots or external recording.