- Newest
- Most votes
- Most comments
c3 is a previous generation (Xen) instance type, while m5n is a Nitro instance type.
To migrate, you will need to install necessary drivers. The AWSSupport-UpgradeWindowsAWSDrivers automation document can help. Refer to Migrate an EC2 Windows instance to a Nitro-based instance type for more details.
To migrate your Windows Server 2012 instance from a c3.Large (Xen-based) to an M5n.Large (Nitro-based) instance, you'll need to address the ENA (Elastic Network Adapter) requirement. Here's how to proceed:
Option 1: Upgrade the drivers on your existing instance before changing the instance type:
- Create a backup AMI of your current instance for safety
- While your instance is still running as c3.Large, download and install the latest ENA driver
- Extract the zip archive and run the install.ps1 PowerShell script
- Set the enaSupport instance attribute to activate enhanced networking
- Stop the instance
- Change the instance type to M5n.Large
- Start the instance
Option 2: If you're encountering issues with the direct upgrade approach:
- Stop your current instance
- Change back to the c3.Large instance type if you've already attempted to change it
- Start the instance
- Connect via RDP
- Install and upgrade the ENA driver
- Upgrade AWS NVMe drivers (also required for Nitro instances)
- Stop the instance
- Change to the M5n.Large instance type
- Start the instance
Option 3: Use AWS Systems Manager Automation to help with the migration:
You can use the AWSSupport-UpgradeWindowsAWSDrivers automation document to upgrade the necessary drivers automatically, which will prepare your instance for migration to the Nitro-based instance type.
For all options, ensure you have a backup of your data, especially if you have data on instance store volumes. Using an Elastic IP address instead of a public IP address is also recommended to maintain the same IP after the instance type change.
Sources
Troubleshoot an RDP connection on Windows Server after EC2 change | AWS re:Post
Migrate an EC2 Windows instance to a Nitro-based instance type - Amazon Elastic Compute Cloud
Relevant content
asked 3 years ago

I created an AMI, brought up a duplicate c3 instance
I upgraded from 2012 to 2016 as it appeared the ENA driver was not supported on 2012
I installed the driver with no error, rebooted but no change to my adapter.
Further reading suggests it is impossible to change instance from a c3 to anything that is ENA capable.
There seems like there should be a path forward?