While launching a new instance getting AMI ID is not valid

The AMI ID (ami-007020fd9c84e18c7) is not valid. The AMI may no longer exist or may be specific to another account or region. I was tried for multiple OS platforms(Uduntu,Amazon linux) still same error

Are you in one of the correct regions?

The regions supported in our AWS playground are:

  • us-east-1
  • us-west-2