Search code examples
linuxamazon-web-servicesamazon-ec2devopsinfrastructure

AWS - Steps/Consideration for migrating to latest generation of ec2 from an older generation


I am looking at upgrading from older generation ec2 to the latest generation for example m3.medium to m5.large. Are there any steps or considerations that need to be made when making this change? I couldn't find any documentation that is linux specific, only windows specific: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/migrating-latest-types.html.

If anybody could help me I would really appreciate it.


Solution

  • To upgrade the instance type on AWS I usually follow this official doc https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html

    However it also depends on the complexity of application running on your instance viz. just an apache server or a database? To handle that situation as @Marcin mentioned, always start with AMI of your instance and try doing any change before applying directly on production instances. screenshot from the official doc