Forum Discussion
How to connect to an Amazon RDS MySQL database via VPN from a Fabric notebook?
- 1 year ago
Hi Gmarqs ,
Thanks for your question. Connecting to an Amazon RDS MySQL database via VPN from a Microsoft Fabric notebook does present some limitations due to current support constraints, but there are several viable workarounds depending on your environment and needs.
Option 1: Ingest via Data Pipeline or Dataflow Gen2
Since on-premises data gateways are not currently supported within notebooks, a recommended approach is to first ingest your data into a Fabric Lakehouse using a Data pipeline or Dataflow Gen2. Once the data resides in the Lakehouse, you can query it seamlessly using notebooks.A related discussion here includes a suggestion to utilize views for better data management when adopting this pipeline.
Option 2: Use an ODBC Connector
You can also consider connecting to your RDS database using an ODBC connector from an environment that has VPN access and then transferring the data into Fabric.
Solved: Connect to AWS RDS via VPN - Microsoft Fabric CommunityOption 3: VNet Gateway & Notebook Access
If your setup includes secure or private network access (like through a VPN or VNet), it’s possible to connect from a notebook using a custom script. A Microsoft consultant shared an example showing how to do this by setting up a connection through a VNet gateway.
Solved: Re: Using a VNet gateway with Notebooks - Microsoft Fabric CommunityOption 4: Managed Private Endpoints.
You might consider using Managed Private Endpoints. This feature lets Fabric securely connect to services like AWS RDS without using a VPN, by setting up a private network path.
About private Links for secure access to Fabric - Microsoft Fabric | Microsoft LearnHope this helps. Please reach out for further assistance.
If this post helps, then please consider "Accept it as the solution" to help the other members find it more quickly and a kudos would be appreciated. - 1 year ago
Hello finaly we do export file out of fabric and ingest file
Hi Gmarqs ,
We’re following up once more regarding your query. If it has been resolved, please mark the helpful reply as the Accepted Solution to assist others facing similar challenges.
If you still need assistance, please let us know.
Thank you.
- Gmarqs1 year agoRegular Visitor
Hello finaly we do export file out of fabric and ingest file
- v-veshwara-msft1 year ago
Community Support
Hi Gmarqs ,
Thanks for the update - glad to hear you found a workable approach by exporting the file from Fabric and ingesting it separately. It’s a smart workaround, especially while native support for VPN or gateway access in notebooks is still evolving.If you decide to revisit the integration down the line, feel free to reach out.
Also, if you found any response helpful, please consider marking it or your reply as Accepted Solution so others in the community can benefit from your experience.
Thank you.