title: EC2 can't retrieve the platform because the AMI was either deleted or made private
body: <p>I have 4 existing AWS EC2 instances that have been running well.</p>
  <p>I changed the instance type on all of them at the same time and following the same process.
  I went from t3.small to t3.large as well as the EBS type, going from gp2 to gp3.</p>
  <p>It worked for 3 instances but 1 is now having this error:</p>
  <blockquote>
  <p>EC2 can't retrieve the platform because the AMI was either deleted or made private.</p>
  </blockquote>
  <p>I cannot SSH anymore with this instance nor &quot;Connect&quot; to it via the AWS Console, but it's still running well.</p>
  <p>I tried reverting to t3.small, and launch the <code>AWSSupport-TroubleshootSSH</code> automation script, but none worked.</p>
  <p>Any clues on how to fix this besides launching a new instance? Thank you!</p>