Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply

Connecting to MYSQL DB on AWS Which can only be accessed through another server on AWS

Hi, 

 

I am trying to connect to a MySQL DB on AWS EC2 Server. But the problem is due to security restrictions it can only be accessed through another server on AWS. So I have to build a connection like below PowerBI - > AWS EC2 Dev Server -> AWS MySQL DB. 

 

Is it possible to do it? If so can you please help with any references? 

 

 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Jagan_MFilterIT , You need allow power bi access outside AWS(especially service). You can have a remote machine with a power bi desktop and do the development work in power bi.

Later for Power bi data gateway you have to open port outside cloud so that you can view data on power bi service.

 

You can use a single machine for data gateway and power bi desktop. This machine should able to communicate inside and outside AWS

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

v-yingjl
Community Support
Community Support

Hi @Jagan_MFilterIT ,

About connecting AWS datasource like mysql, you can refer this video which introduces it:

AWS - Power BI to RDS MySQL Connection 

 

In addition, you can try to use OData connector in power bi desktop to try to connect, refer this article:

Import AWS Management Data into the Power BI 

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yingjl
Community Support
Community Support

Hi @Jagan_MFilterIT ,

About connecting AWS datasource like mysql, you can refer this video which introduces it:

AWS - Power BI to RDS MySQL Connection 

 

In addition, you can try to use OData connector in power bi desktop to try to connect, refer this article:

Import AWS Management Data into the Power BI 

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@Jagan_MFilterIT , You need allow power bi access outside AWS(especially service). You can have a remote machine with a power bi desktop and do the development work in power bi.

Later for Power bi data gateway you have to open port outside cloud so that you can view data on power bi service.

 

You can use a single machine for data gateway and power bi desktop. This machine should able to communicate inside and outside AWS

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors