Reference - https://www.youtube.com/watch?v=qdFPS1ywlho&t=707s
IIS installation File -
Dotnet installation fille
https://dotnet.microsoft.com/en-us/download/dotnet/7.0
Put the path where the .exe and related files are located Create a blankApp on Visual studio and build then Start the Application, then publish the site and then copy the publish folder's path and then paste the whole folder into the Window EC2 and mention the same ec2 folder path in the Destination of the IIS site creation
then type "Users" and check names , after that provide the permission to the Users profile.
Step 6 - The site that is hosted on the port other than 80 would not be accessible through the outer Internet , for this , we have to manually add the inbound rule in the windows system
https://learn.microsoft.com/en-us/archive/blogs/mandi/how-to-create-a-windows-firewall-inbound-rule