Connecting to Sql Server on EC2 instance

  • We have a Windows 2016 AMI on AWS EC2 hosting the DB (Sql Server), I'm trying to establish connection to the database from PowerBI. I'm able to connect to it only if I have an inbound rule set up for port 1433 open to the internet on the AWS security group and port 1433 configured to public access on the windows firewall. The connection string I'm using is ServerIP\SqlServerInstanceName,1433.

    Please guide if there is a better way to obtain a secure connection, we need to follow HIPPA compliance so having a secure connection is at-most important...

  • The security group you set is to control the traffic in/out of the instance, you also need to setup NACL at the subnet level. To connect securely to PowerBI, setup internet gateway to allow traffic between your VPC and internet. 

    http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Internet_Gateway.html 

    In our environment we setup VPN to connect our on premises data to SQL server hosted in EC2 instance.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply