How can I upgrade my EC2 Windows Server instance OS to a newer version?
Last updated: 2019-08-27
I want to upgrade my Amazon Elastic Compute Cloud (Amazon EC2) Windows Server instance to a newer Windows version. How can I do that?
For Windows Server 2012 R2 or later, you can choose between a server migration or an in-place upgrade.
For Windows Server 2008 R2, you can choose between a server migration or an automated upgrade.
Plan your upgrade before you start to minimize server downtime. It's a best practice to maintain backups of your instances and data. Before you upgrade, consider creating an AMI or creating snapshots of your EBS volumes.
Server migration for EC2 Windows Server 2008 R2 or later
With a migration, you copy the data and configuration to a new server that's already running the desired version of Windows. This process can result in fewer upgrade errors or issues, but can take longer than an in-place upgrade.
For instructions, see Performing a Server Migration.
In-place upgrade for EC2 Windows Server 2012 R2 or later
An in-place upgrade lets you keep your existing configuration and data. This process can be faster, but errors can occur due to software incompatibilities.
If you run into issues with upgrading, see Troubleshooting an Upgrade.
Automated upgrade for EC2 Windows Server 2008 R2 and SQL Server 2008 R2
You can use Systems Manager Automation documents to perform an automated upgrade. Two upgrade paths are available:
- Windows Server 2008 R2 to Windows Server 2012 R2
- SQL Server 2008 R2 on Windows Server 2012 R2 to SQL Server 2016
For prerequisites and instructions, see Performing an Automated Upgrade.