You should not have to perform any license-related tasks after upgrading your EC2 instance unless the IP address changes.
If for some reason you run into any trouble with the license after upgrading your EC2 instance, contact cPanel Customer Service and we'll help figure out what went wrong.