Skip to main content

πŸ“ AWS EC2 Instance uses paravirtual Virtualization Type 🟒

  • Contextual name: πŸ“ Instance uses paravirtual Virtualization Type 🟒
  • ID: /ce/ca/aws/ec2/instance-legacy-virtualization-type
  • Located in: πŸ“ AWS EC2

Flags​

Our Metadata​

  • Policy Type: COMPLIANCE_POLICY
  • Policy Category:
    • RELIABILITY
    • PERFORMANCE

Logic​

Description​

Open File

Description​

Ensure that AWS EC2 instances are not configured with the legacy paravirtual (PV) virtualization type. Hardware Virtual Machine (HVM) is the current standard and provides significant performance and compatibility advantages.

Rational​

HVM AMIs offer full hardware virtualization, allowing guest operating systems to run as if they were on native hardware. This reduces overhead, improves efficiency, and delivers superior performance. Additionally, many modern EC2 instance families and AWS features, such as Enhanced Networking and GPU support, are only available with HVM AMIs.

Impact​

Instances running on PV virtualization may experience degraded performance compared to HVM-based instances. They are also ineligible for migration to newer, more cost-efficient instance families, which can lead to increased operational costs and prevent adoption of the latest AWS capabilities.

Migrating from PV to HVM requires creating new instances from HVM-based AMIs, which involves downtime and a planned migration effort.

... see more

Remediation​

Open File

Remediation​

If an instance was launched from a PV AMI, it cannot be directly changed to an HVM-only instance type. Migration to a new instance based on an HVM AMI is required.

Migration Process Overview​

  1. Backup critical data from the original instance.
  2. Create a new instance using an HVM-compatible AMI that supports the desired instance type, and attach any EBS volumes that were attached to your original instance.
  3. Install your application on your new instance.
  4. Restore any data.
  5. If the original instance has an Elastic IP address, you must associate it with your new instance to ensure that your users can continue to use your application without interruption.
Data Preservation Considerations​
  • Instance Store Volumes
    • Data stored on instance store volumes is lost when the instance is stopped or terminated.
    • To retain this data, copy it to persistent storage before decommissioning the PV instance.
  • Amazon EBS Volumes
    • Amazon EC2 uses the DeleteOnTermination attribute to determine whether to delete or retain EBS volumes attached to the instance.

... see more

policy.yaml​

Open File

Linked Framework Sections​

SectionSub SectionsInternal RulesPoliciesFlags
πŸ’Ό AWS Foundational Security Best Practices v1.0.0 β†’ πŸ’Ό [EC2.24] Amazon EC2 paravirtual instance types should not be used1
πŸ’Ό Cloudaware Framework β†’ πŸ’Ό Infrastructure Modernization13
πŸ’Ό Cloudaware Framework β†’ πŸ’Ό Workload Efficiency8
πŸ’Ό FedRAMP High Security Controls β†’ πŸ’Ό CM-2 Baseline Configuration (L)(M)(H)3126
πŸ’Ό FedRAMP High Security Controls β†’ πŸ’Ό CM-2(2) Automation Support for Accuracy and Currency (M)(H)15
πŸ’Ό FedRAMP Low Security Controls β†’ πŸ’Ό CM-2 Baseline Configuration (L)(M)(H)25
πŸ’Ό FedRAMP Moderate Security Controls β†’ πŸ’Ό CM-2 Baseline Configuration (L)(M)(H)326
πŸ’Ό FedRAMP Moderate Security Controls β†’ πŸ’Ό CM-2(2) Automation Support for Accuracy and Currency (M)(H)15
πŸ’Ό NIST SP 800-53 Revision 5 β†’ πŸ’Ό CM-2 Baseline Configuration725
πŸ’Ό NIST SP 800-53 Revision 5 β†’ πŸ’Ό CM-2(2) Baseline Configuration _ Automation Support for Accuracy and Currency15