How to generate the public rsa key from a PEM file

I am fairly sure this question has been asked – and probably has multiple answers .. but I really can not find it!

I have downloaded a PEM from AWS and need the RSA key pairs. My understanding is that the PEM represents the private key side of the equation. How is the public key counterpart generated?