You are previewing Learning Proxmox VE.
O'Reilly logo
Learning Proxmox VE

Book Description

Unleash the power of Proxmox VE by setting up a dedicated virtual environment to serve both containers and virtual machines

About This Book

  • Create virtual machines and containers from the comfort of your workstation using Proxmox VE's web-based management interface

  • Maximize performance, security, and the quality of virtual services by tailoring container and virtual machine configurations based on established best practices

  • Put theory to practice by deploying virtual servers that promise portability, modularity, flexibility, security, and quality of service at any scale

  • Who This Book Is For

    This book is intended for server and system administrators and engineers who are eager to take advantage of the potential of virtual machines and containers to manage servers more efficiently and make the best use of resources, from energy consumption to hardware utilization and physical real estate

    What You Will Learn

  • Install and configure Proxmox VE

  • Create new virtual machines and containers

  • Import container templates and virtual appliances

  • Optimize virtual machine performance for common use cases

  • Apply the latest security patches to a Proxmox VE host

  • Contrast PVE virtual machines and containers to recognize their respective use cases

  • Secure virtual machines and containers

  • Assess the benefits of virtualization on budgets, server real estate, maintenance, and management time

  • In Detail

    Proxmox VE 4.1 provides an open source, enterprise virtualization platform on which to host virtual servers as either virtual machines or containers.

    This book will support your practice of the requisite skills to successfully create, tailor, and deploy virtual machines and containers with Proxmox VE 4.1. Following a survey of PVE's features and characteristics,this book will contrast containers with virtual machines and establish cases for both. It walks through the installation of Proxmox VE, explores the creation of containers and virtual machines, and suggests best practices for virtual disk creation, network configuration, and Proxmox VE host and guest security. Throughout the book, you will navigate the Proxmox VE 4.1 web interface and explore options for command-line management

    Style and approach

    This book is a practical exploration of the different processes and procedures, which are essential in beginning your journey to fluent creation and optimization of effective containers and virtual machines.

    Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at If you purchased this book elsewhere, you can visit and register to have the code file.

    Table of Contents

    1. Learning Proxmox VE
      1. Learning Proxmox VE
      2. Credits
      3. About the Author
      4. Acknowledgments
      5. About the Reviewer
        1. eBooks, discount offers, and more
          1. Why subscribe?
          2. Free access for Packt account holders
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Downloading the color images of this book 
          3. Errata
          4. Piracy
          5. Questions
      8. 1. Proxmox VE Fundamentals
        1. Proxmox VE in brief
        2. Virtualization with Proxmox VE
          1. KVM
          2. QEMU
          3. OS Virtualization with Proxmox VE
        3. Summary
      9. 2. Installing Proxmox VE
        1. Hardware requirements and recommendations for Proxmox VE
        2. Downloading Proxmox VE
        3. Verifying the downloaded image
        4. Ensuring hardware virtualization extensions are installed
          1. Enabling hardware virtualization extensions
        5. Preparing for the Proxmox VE Installer
        6. Installing Proxmox VE
        7. Upgrading PVE from the command line
          1. Disabling the enterprise repository
          2. Enabling a non-subscriber repository
          3. Updating and upgrading Proxmox VE
        8. Summary
      10. 3. Creating Containers
        1. Understanding the container advantage
          1. Proxmox VE and the case for LXC
        2. Container templates
        3. Downloading templates
          1. Logging in to Proxmox VE's web interface
          2. Browsing available container templates
          3. Downloading a container
        4. From template to container
        5. Starting and stopping containers
          1. Changing container states with the command line
          2. Accessing a container
        6. Summary
      11. 4. Creating Virtual Machines
        1. Distinguishing features of virtual machines
          1. Scenarios for system virtualization
        2. Creating a virtual machine
          1. Installation media
            1. Uploading an ISO file to local storage on PVE
          2. Preparing a virtual machine
            1. Anticipating the configuration tabs
              1. General
              2. OS
              3. CD/DVD
              4. Hard Disk
              5. CPU
              6. Memory
              7. Network
              8. Confirm
            2. Controlling the state of a virtual machine
            3. Controlling a VM from the PVE command line
        3. Practicing the creation of virtual machines
          1. Virtualizing Windows Server 2012r2 with Proxmox VE
          2. Configuring and creating the virtual machine
          3. Starting the VM and installing Windows Server
          4. Creating a VM for Fedora 23 Server
          5. Command line virtual machine creation
        4. Summary
      12. 5. Working with Virtual Disks
        1. Understanding virtual disks
          1. Coming to terms
          2. Understanding virtual disk configuration
            1. Choosing a virtual disk format
              1. QCOW2
              2. RAW
              3. VMDK
            2. Choosing a bus
            3. Understanding cache options
        2. Learning more
        3. Summary
      13. 6. Networking with Proxmox VE
        1. Proxmox VE network model
          1. Bridged configuration
          2. NAT configuration
          3. Routed configuration
          4. VLAN support
          5. NIC bonding
        2. Network configuration for virtual servers
          1. Providing basic connectivity
            1. Of VMs and vNICs
              1. Bridge configuration
              2. Using NAT configuration
        3. Summary
      14. 7. Securing Proxmox VE
        1. Security benefits of virtualization
          1. Attack surface reduction
          2. Isolation
          3. Availability of prior states
          4. Hardware abstraction
          5. Segmentation
          6. Encapsulation and portability
          7. Physical security
          8. Fine privilege control
          9. PVE firewall features
        2. Aggravated vulnerabilities
          1. Denial of service attacks
          2. VM escape and hyper jumping
          3. Virtualization sprawl
          4. At war with complexity
        3. Taking action
          1. Protecting the boot process
            1. Locking down the bootloader
            2. Locking down BIOS/UEFI
          2. Hardening the OS and hypervisor
            1. Prohibit remote access to the hypervisor
            2. Harden SSH
              1. Disabling root account access via SSH
              2. Preventing brute-force attacks against SSH
              3. Relying on key-based authentication
            3. Managing patches
              1. Enterprise subscriptions
        4. Summary