How to configure FTPs on AWS EC2 with windows instance?
If you are sure that your IIS configuration is correct, you should also edit the inbound rules of the security group of your instance like this:
Change the port number 21 to your own and add your IP address.