Description: Upgrade an Amazon EC2 instance to a newer version


There are two methods to upgrade an earlier version of a Server running on an instance: in-place upgrade and migration (also called side-by-side upgrade). An in-place upgrade upgrades the operating system files while your personal settings and files are intact. A migration involves capturing settings, configurations, and data and porting these to a newer operating system on a fresh Amazon EC2 instance.


Audit: iCompaas has a scan engine that is running to gather data of the cost usage and is able to generate recommendations to help optimize your cloud costs.


Remediation: 

There are several ways of performing the instance upgrade

  • Perform an in-place upgrade
  • Perform an automated upgrade
  • Migrate to latest generation instance types
  • Windows to Linux re-platforming assistant for Server Databases


Before you perform an in-place upgrade, you must determine which network drivers the instance is running. PV network drivers enable you to access your instance using Remote Desktop.


Impact: 

The instance is moved to new hardware; however, the instance ID does not change. If your instance has a public IPv4 address, we release the address and give it a new public IPv4 address. The instance retains its private IPv4 addresses, any Elastic IP addresses, and any IPv6 addresses.  However, the information stored in the temporary instance store would be lost in transition.


References: 

1. https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/serverupgrade.html

2. https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/os-inplaceupgrade.html