Migrating Amazon Linux AMI PV (Paravirtual) EC2 Instance to HVM (Hardware assisted Virtualization) Instance

Reading Time: 2 minutes

PV to HVM Image

As of now there is no easy way to directly migrate an existing PV EC2 (T1) instance to HVM (T2) instance. Using the following steps we will migrate data from an existing PV (Paravirtual) instance to a newly launched HVM (Hardware assisted Virtualisation) instance.


STEP 1 – Prepare SOURCE Volume

PV Instance


  1. Stop the PV instance
  2. Using the AWS Console go to the PV instance root volume and create a snapshot
  3. From the snapshot create a new volume, we will call this as the source volume


STEP 2 – Prepare TARGET Volume

HVM Instance


  1. Create and Launch a new Hardware Assisted Virtual (HVM) machine of similar configuration as the PV instance. Ensure that the new HVM instance has the same base AMI as that of the PV instance and is in the same availability region.
  2. Stop the HVM
  3. Using the AWS Console go to the newly created HVM’s root volume and create a snapshot
  4. From the snapshot create a new volume, we will call this as the target volume
  5. Using the AWS Console:
    Attach SOURCE volume to the new instance as /dev/xvdf
    Attach TARGET volume to the new instance as /dev/xvdg
  6. Start the HVM


STEP 3 – Migrate Data from Source Volume (PV) to Target Volume (HVM)



  1. SSH into the new HVM instance and get root access by using:
    sudo su
  2. Mount the source and target drives using the following commands:
    mkdir -p /mnt/source && mount /dev/xvdf /mnt/source
    mkdir -p /mnt/target && mount /dev/xvdg1 /mnt/target

Please use ls -al /dev/xvd*  to see the drives if the above drive labels are different on your machine.

  1. Delete everything but /boot on the target volume using the following command
    cd /mnt/target && ls | grep -v boot | xargs rm -Rf
  1. Delete /boot on the source volume:
    rm -Rf /mnt/source/boot
  1. Copy the source volume’s data to the target volume preserving all the attributes:
    rsync -aAXHPv /mnt/source/ /mnt/target
  2. After the data has been copied across from the source to the target volume navigate to the following directory on the target volume:
    cd /mnt/target/boot/grub We will update the grub.conf file to tell the kernel to disable SELinux on boot.Append the following to the kernel line in your /boot/grub/grub.conf for your current kernel.enforcing=0
  3. After appending the above setting your grub.conf file should look like this:grub.conf
  4. Stop the system and detach all volumes using the AWS console.



STEP 4 – Attach the Target Volume to HVM instance as root device


  1. Attach the TARGET volume on the new instance as /dev/xvda.
    Please check where the original root device was mounted on the HVM instance. In most cases, it should be /dev/xvda.
  2. Start your HVM instance.It should be an exact replica of the PV instance.
    The PV instance and the source volume can be deleted.

Design Thinking

Reading Time: 2 minutes

Designer Desk

We are at the verge of a monumental shift in the way consumers choose and utilize products and services. We have seen the transition from the Industrial age to the Information age, which has fundamentally changed the way we produce and consume i.e. the basic building blocks of our economy.  The transition from Industrial age to Information age was quite stark. We saw a shift from products based economy to services oriented economy.

With the maturation of the Information age we are now moving away from an economy and a society built on the logical linear computer like capabilities of the information age to an economy and society built on inventive, empathic, big-picture capabilities of what’s rising in its place, the Conceptual age.

The Conceptual Age belongs to a very different kind of person with a very different kind of mind – creators and empathizers, pattern recognizers, and meaning makers. Inventors, designers, artists, storytellers, big-picture thinkers – are the kind of people primed to excel in the new era and reap societies richest rewards.

For existing businesses in order to stay competitive it is important to differentiate themselves from their competitors not only in terms of the quality of the service but as an overall experience of what their consumers experience when they interact with the brand. Businesses need to start thinking in terms of selling experience rather than just a product or a  service.

Consumers are now looking for a sense of personal satisfaction from any product or service that they utilize. And this personal satisfaction depends on attributes like design, story, symphony, empathy and meaning. These are the fundamental human abilities that triggers a response that resonates with consumers at a very personal level. These attributes that are at the core of the design thinking approach.

So what is Design Thinking?

Design thinking refers to design-specific cognitive activities that designers apply during the process of designing.
— Willemien Visser, The Cognitive Artifacts of Designing 

“Design thinking is a human-centered approach to innovation that draws from the designer’s toolkit to integrate the needs of people, the possibilities of technology, and the requirements for business success.”
— Tim Brown, President and CEO, IDEO






IBM Design


Helvetica [2007]


A documentary about typography, graphic design, and global visual culture. Click here for movie homepage.


Design & Thinking [2012] 


An excellent documentary exploring the idea of design thinking. Click here for movie homepage.