Search code examples
amazon-web-servicesamazon-ec2provisioned-iops

How to configure an IOPS type EBS after attachment on Amazon AWS?


Once I have created an EBS of IOPS type and attached to an EC2 volume, is there a way to change its settings such as storage and IOPS? I am fine detaching it and making changes. Obviously I want to retain data.

enter image description here

I am looking for an answer preferably on the AWS Console but even a command line approach is welcome.

I am using Windows AMI.


Solution

  • You can't change the EBS size and IOPS once it's attached to EC2 and it's a running instance. You'll need to stop it to make any changes.

    First, shutdown your instance.

    In the snapshots menu option - select the volume you want to change and make a snapshot. Once the snapshot is created, you right click on it and select "Create Volume" then select your size and type.

    On your old Volume select it, right click and select the Detach option. Then find the snapshot you created and attach it.

    Then start your instance again.