My company is needing to upgrade the OS of our EC2 instances from AML 1 to AML 2 since end of life is 6/2023. We recently released a significantly large add-on to our application, so we are talking about upgrading the instance type as well... Our current instance size is m3.large, and we have seen some latency recently. To clarify, we need OS upgrade AS WELL as instance type upgrade on production environment.
While trying to figure out the best way to go about this, I'm curious if there's anyway to salvage our current server. One of our admins is going to see about upgrading the OS with our current instance so that we don't have to completely rebuild our infrastructure. We use a golden image for our lower environments, and deploy that image from dev server up to production when it comes to lower level downloads/configurations on the server. I have a couple of questions trying to determine the best course of action to upgrading our infrastructure.
What is the dependency to deploying an image among different environments? Is it OS? Is it instance type? What needs to match among all environments to be able to use that image throughout all environments?
If my production instance type is larger than my lower environment instance type, does that have any effect on being able to deploy the image from lower to higher environments?
Is is possible to upgrade the OS on my current instance, and then get a larger production instance type, upgrade the DEV environment OS, use that image and deploy to the upper environments?
Is it even possible to upgrade amazon ec2 instances' OS without having to completely rebuild the server?
Thank you.