Prepare a bare metal instance
Hardware and firmware setup
- Update your BIOS to a version that supports AMD SEV-SNP. Updating to the latest available version is recommended as newer versions will likely contain security patches for AMD SEV-SNP.
- Enter BIOS setup to enable SMEE, IOMMU, RMP coverage, and SEV-SNP. Set the SEV-ES ASID Space Limit to a non-zero number (higher is better).
- Download the latest firmware version for your processor from AMD, unpack it, and place it in
/lib/firmware/amd
.
Consult AMD's Using SEV with AMD EPYC Processors user guide for more information.
Kernel Setup
- Install a kernel with version 6.11 or greater. If you're following this guide before 6.11 has been released, use 6.11-rc3. Don't use 6.11-rc4 - 6.11-rc6 as they contain a regression. 6.11-rc7+ might work.
K3s Setup
- Follow the K3s setup instructions to create a cluster.
- Install a block storage provider such as Longhorn and mark it as the default storage class.