We are trying to configure SQL Server replication and it specifically requires using the instance name, not the DNS name. When we try and connect to the publishing instance, it can not locate it. How do we configure our network and/or instances to allow us to do this?
Edit: Everything is in the same region, subnet and VPC.
Wide open for every instance in the security group. The machines are domain joined although we’re using the AWS version of AD, not the Microsoft version. DNS is using the same two IP numbers.
Have you set the server name for the SQL service? I’ve just been through this a few weeks ago. The error that shown up leaded me step by step to work through this. I experienced the same as you.
I thought that SQL Server took on the name of the server? When we connect via SSMS locally, we’re using the instance name and it connects as would be expected. I did a SELECT @@SERVERNAME and it returns the correct server name. We have not changed the name of the instance which I know can cause problems.
Look into the nic properties. AWS appends their own domain automatically to hostname-based lookups. Go in there and remove theirs and add yours if it’s missing. It’s in the advanced ipv4 properties.
I had to start it. Besides I had to create admin user that are matched on both servers. And of course the security group must allow connection between the servers.
Is there a guide you followed? I’m curious how you found it.
Recently I made a 3 node replication server using EC2 instances 2 postgresql 1 monitor node and just set up a VPC using 3 availability zones and attached a elastic IP to the internet gateway. Didn’t think about using the built in systems and would be good to get some perspective on that.