简体   繁体   English

如何在 Amazon AWS 上附加后配置 IOPS 类型 EBS?

[英]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?创建 IOPS 类型的 EBS 并附加到 EC2 卷后,是否可以更改其设置,例如存储和 IOPS? I am fine detaching it and making changes.我很好分离它并进行更改。 Obviously I want to retain data.显然我想保留数据。

在此处输入图片说明

I am looking for an answer preferably on the AWS Console but even a command line approach is welcome.我最好在 AWS 控制台上寻找答案,但甚至欢迎使用命令行方法。

I am using Windows AMI.我正在使用 Windows AMI。

You can't change the EBS size and IOPS once it's attached to EC2 and it's a running instance.一旦 EBS 连接到 EC2 并且它是一个正在运行的实例,您就无法更改 EBS 大小和 IOPS。 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.然后再次启动您的实例。

AWS recently announced Elastic Volumes , which make it possible to modify the volume type (SSD/HDD/PIOPS), volume size (GB), and provisioned IOPS of EBS volumes with no downtime or performance impact. AWS 最近发布了弹性卷,它可以修改 EBS 卷的卷类型 (SSD/HDD/PIOPS)、卷大小 (GB) 和预配置 IOPS,而不会造成停机或性能影响。

All EBS volumes have been converted into Elastic Volumes as of today, so this functionality is already available in your AWS account!截至今天,所有 EBS 卷都已转换为弹性卷,因此您的 AWS 账户中已经可以使用此功能!

Simply right click the EBS volume -> Modify and enter a new IOPS value.只需右键单击 EBS 卷 -> 修改并输入新的 IOPS 值。

Yes, You can modify your EBS Volume without any downtime.是的,您可以在不停机的情况下修改您的 EBS 卷。

通过实例转到卷

选择音量,然后单击右键并更改并选择修改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM