Difficulty connecting to IIS 10 on a Windows 2016 server hosted on AWS

I am not able to get the IIS7+ functions to work on a test install of IIS 10 running on a Amazon EC2 instance. 

1. I installed IIS and its remote administration services on a new EC2 instance (t2.micro).
2. Remote Management Service is enabled and started.
3. Disabled the Windows Firewall on the server.
4. Inbound rules for the EC2 instance was set to allow all ICMP and TCP connections from any IP.
5. I installed IIS Manager for Remote Administration V1.2 on my local PC (Windows 10, Home Edition).
6. My PC can connect to and manage the remote IIS server using the public IP and Administrator account (using IIS Manager).

On the same PC, when using the same public IP and Administrator account in FinalBuilder, I get and exception error.
1. I tried setting global IIS options as well as per action settings with the same result.
2. I tried a few IIS actions with the same result, e.g. Stat/Stop/Restart IIS action.
3. Error: “Could not establish connection to IIS server. The object exporter specified was not found. (Exception from HRESULT: 0x80070776)”.
4. There is a more detailed exception shown, but I am not able to copy/paste the exception details.

Is there anything that I missed or any thing else that I should try?

Thanks,
Francois

You need to ensure the Windows Feature : IIS Management Scripts and Tools is installed on the machine you are running FinalBuilder on.

That said, I suspect this is an issue with WMI/DCOM over nat - https://social.msdn.microsoft.com/Forums/vstudio/en-US/99c278fe-df63-408b-b5b1-b95554b6b630/access-wmi-to-nated-machine?forum=netfxbcl

Thanks for the quick reply Vincent.

I can confirm that all Managment Tools (including IIS Management Scripts and Tools) are installed.

I have also seen another comment that NAT might be an issue, which is why I tested with all TCP and ICMP ports opened. In the AWS EC2 setup I opened all inbound ICMP and TCP ports (I left UDP as is). I also disabled the Windows Server firewall. I just now made sure that I could access the IIS server on a few arbitrary ports.

In summary, I can manage the remote EC2 (IIS) server from my own machine (using IIS Manager) as well as from another EC2 instance. When connecting via IIS Manager, I do get a warning that the digital certificate is not correct, but I can accept an move on.

I can provide you with access to the EC2 test server, if you would like to test it from your side.

Please send the details to support @ finalbuilder.com and we’ll test from here tomorrow.

It’s possible IIS Manager uses a different method to connect to IIS to what we use (WMI via root\WebAdministration ). I tested the actions today locally (after having to uninstall/reinstall the management tools, I think windows update messed them up) and also against our webservers over a vpn (australia to los angeles).