I have an ASP.NET MVC site that is hosted on an Amazon EC2 service. I want to establish auto deploy with MS WebDeploy to this site. I've found a great article about this: Automating Deployment with Microsoft Web Deploy.
I can't reach https://mySite:8172/MsDeploy.axd
because port 8172 is closed on Amazon by default. I am not very familiar with EC2 service configuration so I can't find out how to open this port over https protocol. I've reconfigured IIS to use default port (433) and I was open this port on the Amazon security group that is used for my site.
Now I've tried to open https://mySite/MsDeploy.axd
in a web browser. IE requests credentials, makes note of a certificate error (I clicked "Continue..") and forwards me to 404.
Just to be sure, I tried to deploy via VS 2010, and of course it doesn't work.
Can anybody who has experience using MS Web Deploy in Amazon EC2 tell me what I'm doing wrong?
Create a new rule
dropdown, selectCustom TCP rule
. This way you will be able to specify which port you are opening. Then, choose port 8192 and enter the client IP address in theSource
field. – Resilient