How to scan using Nmap on a server?

Sorry if I am in the wrong place, but not sure where to go.
I am a beginner and I am on lesson 4 of the nmap course. I have an AWS instance, I downloaded PuTTy, and downloaded nmap. Now, I am not sure how to “connect” them all and actually do some scanning. Any tutorials, videos, etc. would be greatly appreciated.

You have to get the public IP address of the AWS instance and then use that IP address for nmap. You don’t need to use PuTTy here. It is used to access the server using SSH. For just scanning purposes, you can use the public IP and run nmap on that on your main machine.