SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Connecting to Sql Server on EC2 instance


Connecting to Sql Server on EC2 instance

Author
Message
vijayakarsh
vijayakarsh
Grasshopper
Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)

Group: General Forum Members
Points: 21 Visits: 48
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...
lsalih
lsalih
Hall of Fame
Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)

Group: General Forum Members
Points: 3698 Visits: 1115
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.



Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search