You can use Mac terminal to upload a file but I was struggling to find a way to upload folder from my Mac to AWS EC2.
Finally I found Forklift tool and downloaded from the Mac AppStore.
– Click on Go -> Connect
– Select Protocol as SFTP
– Server: Enter your EC2 DNS found in the console.
– Username: Enter your EC2 username.
– Password: Click on the “Key” icon and upload the *.pem folder from your local machine. Actually this is your password and you don’t need to type anything.
Click on Connect.
Now you are ready to upload file/folder from your Mac to EC2