In this lecture an intermediate S3 bucket is used as a mechanism to download the private key. But, it could be downloaded directly from the Ec2 instance onto local machine with SCP command. For instance: scp -i private_key.pem email@example.com:/home/ec2-user/.ssh/new-key .
That avoids the intermediate S3 bucket!
But I wonder if it has the same educational value ?
I will bring it to the instructor’s attention.