Yes, www.nasa.gov (220.127.116.11) is apparently on AWS.
Discover whether something on the Web is on AWS.
This works by looking up IP addresses in the IP Address Ranges JSON file published regularly by AWS.
It’s perfectly possible that the site you looked up is using a content delivery network other than CloudFront, or has its front page on its own computers but most of its business logic on AWS (or vice-versa). So the picture isn’t as simple as this page might make it look.