How do I allow a domain user to access the SQL Server instance on an EC2 instance?
I want to access the SQL Server instance on an Amazon Elastic Compute Cloud (Amazon EC2) instance as a domain user. How can I do this?
"I want to access the SQL Server instance on an Amazon Elastic Compute Cloud (Amazon EC2) instance as a domain user. How can I do this?Short descriptionBy default, only the built-in local administrator account can access a SQL Server instance launched from an Amazon Web Services (AWS) Windows AMI. You can use SQL Server Management Studio (SSMS) to add domain users so that they can access and manage SQL Server.ResolutionTo give a domain user access to the SQL Server instance, follow these steps:Connect to your instance using Remote Desktop Protocol (RDP) as a local administrator.Open SSMS. For Authentication, choose Windows Authentication to log in with the built-in local administrator.Choose Connect.In Object Explorer, expand Security.Open the context (right-click) menu for Logins, and then select New Login.For Login name, select Windows authentication. Enter DomainName\username, replacing DomainName with your domain NetBIOS name, and username with your Active Directory user name.On the Server Roles page, select the server roles that you want to grant to the Active Directory user.Select the General page, and then choose Ok.Log out from the instance, and then log in again as a domain user.Open SSMS. For Authentication, choose Windows authentication to log in with your domain user account.Choose Connect.Note: Performing these steps allows the user to access the SQL Server tables.Related informationTutorial: Get started with Amazon EC2 Windows instancesTroubleshoot EC2 Windows instancesFollow"