关于通过预留实例创建实例及t2.Micro Windows实例根存储扩容的咨询
Hey there! Let's tackle your two AWS Reserved Instance (RI) questions one by one:
You don’t need any special "attach" step to use your RI—AWS automatically matches running instances to your RIs as long as the core attributes line up perfectly. Here’s what you need to do:
- Match all RI specifications exactly: For your Windows t2.micro RI, make sure your new instance has:
- Instance type:
t2.micro - Region: Same region where you bought the RI
- Platform: Windows (pick the correct Windows AMI when launching)
- Tenancy: Default (unless your RI was purchased for dedicated tenancy)
- Instance type:
- Launch normally: Use the AWS Console, CLI, or SDK to launch the instance like you would any other. AWS will handle the RI matching in the background.
- Double-check the match: After launch, head to the Reserved Instances dashboard in the EC2 Console. You should see your RI marked as "Used" once the instance is running, confirming it’s being applied.
Absolutely! Resizing the root volume won’t break your RI eligibility—here’s how to do it, depending on whether you’re launching a new instance or adjusting an existing one:
- Resize during launch (easiest way):
- When launching your Windows t2.micro instance, after selecting the AMI, go to the Add Storage step.
- Locate the root volume (usually mapped to the
C:drive in Windows, labeled/dev/sda1in the console). - Adjust the size to your desired capacity (note: while some AMIs default to 30GB, you can increase this up to AWS’s volume limits for your region).
- Finish launching the instance. Since the instance type, region, and platform still match your RI, it will use the reserved pricing, and you’ll have the expanded root storage from day one.
- Resize an existing instance’s root volume:
- First, stop the instance (Windows requires a stop to resize the root volume).
- In the EC2 Console, go to Volumes, select the root volume attached to your instance.
- Click Modify Volume, enter your new desired size, and confirm.
- Start the instance back up.
- Once running, open Windows Disk Management: right-click the
C:drive partition, select Extend Volume, and follow the wizard to use the newly allocated space.
The key takeaway here is that RIs are tied to core instance attributes (type, region, platform, tenancy)—storage size doesn’t factor into eligibility. So expanding the root volume won’t affect your ability to use your reserved instance.
内容的提问来源于stack exchange,提问作者Rodrigo Vassia

