Changing EC2 Instance type

I was having an EC2 instance with instance type "t2.micro", I want to change the instance type to "t2.medium"

In order to change the instance type first, we need to make sure the EC2 instance is in a Stopped state, we can stop any running instance by following the below-mentioned steps.

Once the instance is became stopped status we can continue with changing the instance type by following the below steps.

Actions ~> instance settings ~> change instance type

Note: In normal case, while changing instance type the EC2 public IP and some other basic options and details will change, so after making changes note the new values (eg: Public IP) and update if any applications in the instance using the IP