Public IPv4 addresses are retained if you restart the instance.
The above sentence seems incorrect Public P are not retained on restart. New IP are assigned dynamically.
Course: AWS Certified Solutions Architect Associate Exam Prep - Learn Interactively
Lesson: Networking with EC2 - AWS Certified Solutions Architect Associate Exam Prep