More Info:

This rule checks if the virtualization type of an EC2 instance is paravirtual. This rule is NON_COMPLIANT for an EC2 instance if ‘virtualizationType’ is set to ‘paravirtual’.

Risk Level

Low

Address

Configuration

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration of an EC2 instance using paravirtual virtualization type in AWS, you can follow these steps:

  1. Stop the EC2 Instance:

    • Navigate to the AWS Management Console and go to the EC2 dashboard.
    • Locate the EC2 instance that has the paravirtual virtualization type.
    • Select the instance and click on the “Actions” dropdown menu.
    • Choose “Instance State” and then click on “Stop Instance”.
  2. Create a Snapshot of the EC2 Instance:

    • While the instance is in a stopped state, select the instance again.
    • Click on the “Actions” dropdown menu and choose “Image and templates”, then “Create image”.
    • Follow the on-screen instructions to create an Amazon Machine Image (AMI) of the instance.
  3. Launch a New EC2 Instance with HVM Virtualization Type:

    • Once the AMI creation is complete, go to the EC2 dashboard and click on “Launch Instance”.
    • Choose the newly created AMI as the source for the new instance.
    • In the “Choose Instance Type” step, select an instance type that supports Hardware Virtual Machine (HVM) virtualization type.
    • Complete the instance launch process by configuring other settings as needed.
  4. Update Security Groups and Elastic IP (if applicable):

    • If the original EC2 instance had specific security group settings or an Elastic IP, make sure to update the new instance with the same configurations.
  5. Test the New EC2 Instance:

    • Once the new EC2 instance is up and running, test its functionality to ensure that the remediation was successful.
  6. Cleanup:

    • Once you have confirmed that the new EC2 instance is functioning correctly, you can terminate the old EC2 instance to avoid unnecessary charges.

By following these steps, you can remediate the misconfiguration of an EC2 instance using paravirtual virtualization type in AWS and ensure that it is using the appropriate HVM virtualization type.