SlideShare a Scribd company logo
Sponsored by
Demystifying Azure Networking for
SQL Server/Azure SQL Databases
Mohamed Wali
@_Mwaly
Author, Speaker & DevOps Engineer @Knab
Agenda
Azure SQL Connectivity
Azure SQL Firewall Rules
VNet Service Endpoints
Secure the Connection between Azure App Services and Databases
On-Prem SQL Server with App Service
Azure Private Link
Q&A
Azure SQL Connectivity Process
• Using the public IP address on port 1433 of the database, the
client connect to gateway.
• Based on the applied connection policy, the traffic will be
redirected or proxied to the DB cluster.
• Within the DB cluster the traffic will be forwarded to the right
database.
Azure SQL Connectivity Architecture
Reference: https://docs.microsoft.com/en-us/azure/sql-database/sql-database-connectivity-architecture#connectivity-architecture
Azure SQL Connection Policies
• Redirect: The traffic originating from the client goes directly to
the node hosting the database resulting in lower latency and
higher throughput.
• Proxy: The traffic originating from the client has to be proxied
via Azure SQL Database gateways resulting in higher latency and
lower throughput.
• Default: Unless you are explicitly specifying the connection policy, it
would be “Redirect” for the traffic originating from within Azure, and
“Proxy” for the traffic originating from outside Azure.
Demo: Change Azure SQL Connection Policies
Server-level vs Database-level Firewall rules
• Allows access to all databases within the
server.
• The rules are stored in the master database.
• Can be configured via:
• Azure Portal
• PowerShell
• Transact-SQL statements
Server-level
• Allows access to specific databases within the
server.
• The rules are stored in the individual database.
• You can’t configure it until you configure first the
server-level database.
• Can be configured via Transact-SQL statements.
• If the IP address range configured at the
database-level is different than the range on
server-level, only the clients with IP address from
the range of the database-level can access the
database.
Database-level
How the Firewall works for Azure SQL?
• When the client initiate the connection, it verifies whether the client
IP address is in the allowed range or not at the database level.
• If the client IP address is in range, the connection would be forwarded
to the appropriate database in Azure SQL Server.
• If not, it verifies whether the client IP address is in the allowed range
or not at the server level.
• If allowed, the connection would be forwarded to the appropriate
server where he can connect to database he wants within the server.
• If not, the connection would be refused.
Demo: Configure Firewall Rules
VNet Service Endpoints
• Extend VNet to Azure Services
• Make use of Microsoft Azure backbone network
• Faster, Reliable and Secure
How Service Endpoints Works?
Reference: https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview#securing-azure-services-to-virtual-networks
Services
support
Service
Endpoints
Azure Storage
Azure SQL Database
Azure SQL Data Warehouse
Azure Database for PostgreSQL server
Azure Database for MySQL server
Azure Database for MariaDB
Azure Cosmos DB
Azure Key Vault
Azure Service Bus
Azure Event Hub
Azure Data Lake Store Gen 1
Azure App Service
Azure Container Registry Preview!
Demo: Service Endpoints
Secure the Connection between Azure
App Services and Databases
Securing Web App to DB Connection Patterns
App Service
Internet
Azure Virtual Network
Point to Site VPN
App Service
Environment
Azure Virtual Network
Azure Storage
Azure SQL
Service Endpoints
Pattern 1: VNet Integration
Pattern 2: Extending VNets
New VNet Integration
• No gateway needed
• Support for ExpressRoute and Service Endpoints
• Require Subnet delegation to allow the access between App service
and Azure SQL
App Service
Internet
Azure Virtual
Network
Azure SQL
Service Endpoints
Delegated subnet
Demo: New VNet Integration
On-Prem SQL Server with Azure App Service
App Service Hybrid Connection
• Allow App Service to access on-prem services securely
• The on-prem service doesn’t has to be internet accessible
• The single app service can provide access in multiple networks
• All the connections are outbound over standard web ports.
Therefore, no firewall holes needed
Demo: Hybrid Connection
Azure Private Link
• Provides private connectivity from
VNet, peered networks and on-
premises
• Built-in exfiltration protection
• Improved control over the services by
having a predictable IP address space to
consume the services, integration with
Azure DNS private zone, and having an
approval workflow
What is Private Endpoint?
10.1/16
Private Endpoint
10.1.1.5
Services
support
Private Link
Azure Storage
Azure SQL Database
Azure Private Link Service Preview!
Preview!
Preview!
Private Endpoints VS Service Endpoints
Private Link Limitations
• Still in Preview
• Doesn’t co-exist with Service Endpoints
Demo: Private Endpoint for Azure SQL
Q&A
Keep in touch
@_MWaly
https://vlacticcloud.wordpress.com
Session
Evaluation

More Related Content

PDF
Azure Service Endpoints vs. Private Links
PPTX
Azure Messaging Services 2
PPTX
A Deepdive into Azure Networking
PPTX
Azure integration in dynamic crm
PDF
Azure API Manegement Introduction and Integeration with BizTalk
PPTX
Tokyo azure meetup #8 - Azure Update, August
PPTX
Routing in the cloud
PPTX
Secure Hadoop clusters on Windows platform
Azure Service Endpoints vs. Private Links
Azure Messaging Services 2
A Deepdive into Azure Networking
Azure integration in dynamic crm
Azure API Manegement Introduction and Integeration with BizTalk
Tokyo azure meetup #8 - Azure Update, August
Routing in the cloud
Secure Hadoop clusters on Windows platform

What's hot (17)

PPTX
Tokyo Azure Meetup #5 - Microservices and Azure Service Fabric
PPTX
Let's Talk About: Azure Networking
PPTX
IBM Cloud Object Storage
PPTX
Azure Networking - The First Technical Challenge
PDF
Oracle in the Cloud
PPTX
Part 01: Azure Virtual Networks – An Overview
PPTX
Azure governance
PPTX
Azure WAF
PPTX
Digitally Transform (And Keep) Your On-Premises File Servers
PPTX
Tokyo Azure Meetup #4 - Build 2016 Overview
PPTX
Azure signalr service
PPTX
Azure Web App services
PPTX
Implement a disaster recovery solution for your on-prem SQL with Azure? Easy!
PDF
Azure SQL Database
PPTX
Perth Azure Usergroup Build 2018 updates
PPTX
Amazon Virtual Private Cloud - VPC 2
PPTX
AWS Messaging
Tokyo Azure Meetup #5 - Microservices and Azure Service Fabric
Let's Talk About: Azure Networking
IBM Cloud Object Storage
Azure Networking - The First Technical Challenge
Oracle in the Cloud
Part 01: Azure Virtual Networks – An Overview
Azure governance
Azure WAF
Digitally Transform (And Keep) Your On-Premises File Servers
Tokyo Azure Meetup #4 - Build 2016 Overview
Azure signalr service
Azure Web App services
Implement a disaster recovery solution for your on-prem SQL with Azure? Easy!
Azure SQL Database
Perth Azure Usergroup Build 2018 updates
Amazon Virtual Private Cloud - VPC 2
AWS Messaging
Ad

Similar to Demystifying azure networking for on premises-azure databases (20)

PPTX
Demystifying Azure App Service Networking
PPTX
The hidden secrets of azure networking
PPTX
Introduction to Azure Virtual WAN Presentation
PPTX
10052016115136.pptx
PDF
Building Hybrid Cloud Apps with Azure and Azure stack
PDF
Working with azure database services platform
PDF
Understanding Azure AD Webinar Presentation
PPTX
Build modern and intelligent applications using Azure Database for PostgreSQL
PPTX
Brk30176 enterprise class networking in azure
PPTX
Multi cloud network leveraging sd-wan reference architecture
PPTX
The Hitchhiker’s Guide to Hybrid Connectivity
PPTX
Azure privatelink
PPTX
VPC and Datacenter Connectivity Options
PPTX
Developing Solutions for Azure - Best Practices
PPTX
ciplaasfqewfefewtwegndkvndsgjbsdz-dfafd.pptx
PPTX
Cloud integration patterns for it pros - itprceed
PPTX
azure track -06- cloud integration patterns for it-pros - itproceed
PDF
XCloudLabs- AWS Overview
PPTX
Simplify hybrid data integration at an enterprise scale. Integrate all your d...
PPTX
Demystifying Azure App Service Networking
The hidden secrets of azure networking
Introduction to Azure Virtual WAN Presentation
10052016115136.pptx
Building Hybrid Cloud Apps with Azure and Azure stack
Working with azure database services platform
Understanding Azure AD Webinar Presentation
Build modern and intelligent applications using Azure Database for PostgreSQL
Brk30176 enterprise class networking in azure
Multi cloud network leveraging sd-wan reference architecture
The Hitchhiker’s Guide to Hybrid Connectivity
Azure privatelink
VPC and Datacenter Connectivity Options
Developing Solutions for Azure - Best Practices
ciplaasfqewfefewtwegndkvndsgjbsdz-dfafd.pptx
Cloud integration patterns for it pros - itprceed
azure track -06- cloud integration patterns for it-pros - itproceed
XCloudLabs- AWS Overview
Simplify hybrid data integration at an enterprise scale. Integrate all your d...
Ad

Recently uploaded (20)

DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
Machine Learning_overview_presentation.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
A Presentation on Artificial Intelligence
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
cuic standard and advanced reporting.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
The AUB Centre for AI in Media Proposal.docx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Network Security Unit 5.pdf for BCA BBA.
sap open course for s4hana steps from ECC to s4
Machine Learning_overview_presentation.pptx
Programs and apps: productivity, graphics, security and other tools
MYSQL Presentation for SQL database connectivity
A Presentation on Artificial Intelligence
The Rise and Fall of 3GPP – Time for a Sabbatical?
MIND Revenue Release Quarter 2 2025 Press Release
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Spectral efficient network and resource selection model in 5G networks
cuic standard and advanced reporting.pdf
Big Data Technologies - Introduction.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Review of recent advances in non-invasive hemoglobin estimation
Unlocking AI with Model Context Protocol (MCP)
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Digital-Transformation-Roadmap-for-Companies.pptx

Demystifying azure networking for on premises-azure databases

  • 2. Demystifying Azure Networking for SQL Server/Azure SQL Databases Mohamed Wali @_Mwaly Author, Speaker & DevOps Engineer @Knab
  • 3. Agenda Azure SQL Connectivity Azure SQL Firewall Rules VNet Service Endpoints Secure the Connection between Azure App Services and Databases On-Prem SQL Server with App Service Azure Private Link Q&A
  • 4. Azure SQL Connectivity Process • Using the public IP address on port 1433 of the database, the client connect to gateway. • Based on the applied connection policy, the traffic will be redirected or proxied to the DB cluster. • Within the DB cluster the traffic will be forwarded to the right database.
  • 5. Azure SQL Connectivity Architecture Reference: https://docs.microsoft.com/en-us/azure/sql-database/sql-database-connectivity-architecture#connectivity-architecture
  • 6. Azure SQL Connection Policies • Redirect: The traffic originating from the client goes directly to the node hosting the database resulting in lower latency and higher throughput. • Proxy: The traffic originating from the client has to be proxied via Azure SQL Database gateways resulting in higher latency and lower throughput. • Default: Unless you are explicitly specifying the connection policy, it would be “Redirect” for the traffic originating from within Azure, and “Proxy” for the traffic originating from outside Azure.
  • 7. Demo: Change Azure SQL Connection Policies
  • 8. Server-level vs Database-level Firewall rules • Allows access to all databases within the server. • The rules are stored in the master database. • Can be configured via: • Azure Portal • PowerShell • Transact-SQL statements Server-level • Allows access to specific databases within the server. • The rules are stored in the individual database. • You can’t configure it until you configure first the server-level database. • Can be configured via Transact-SQL statements. • If the IP address range configured at the database-level is different than the range on server-level, only the clients with IP address from the range of the database-level can access the database. Database-level
  • 9. How the Firewall works for Azure SQL? • When the client initiate the connection, it verifies whether the client IP address is in the allowed range or not at the database level. • If the client IP address is in range, the connection would be forwarded to the appropriate database in Azure SQL Server. • If not, it verifies whether the client IP address is in the allowed range or not at the server level. • If allowed, the connection would be forwarded to the appropriate server where he can connect to database he wants within the server. • If not, the connection would be refused.
  • 11. VNet Service Endpoints • Extend VNet to Azure Services • Make use of Microsoft Azure backbone network • Faster, Reliable and Secure
  • 12. How Service Endpoints Works? Reference: https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-service-endpoints-overview#securing-azure-services-to-virtual-networks
  • 13. Services support Service Endpoints Azure Storage Azure SQL Database Azure SQL Data Warehouse Azure Database for PostgreSQL server Azure Database for MySQL server Azure Database for MariaDB Azure Cosmos DB Azure Key Vault Azure Service Bus Azure Event Hub Azure Data Lake Store Gen 1 Azure App Service Azure Container Registry Preview!
  • 15. Secure the Connection between Azure App Services and Databases
  • 16. Securing Web App to DB Connection Patterns App Service Internet Azure Virtual Network Point to Site VPN App Service Environment Azure Virtual Network Azure Storage Azure SQL Service Endpoints Pattern 1: VNet Integration Pattern 2: Extending VNets
  • 17. New VNet Integration • No gateway needed • Support for ExpressRoute and Service Endpoints • Require Subnet delegation to allow the access between App service and Azure SQL App Service Internet Azure Virtual Network Azure SQL Service Endpoints Delegated subnet
  • 18. Demo: New VNet Integration
  • 19. On-Prem SQL Server with Azure App Service
  • 20. App Service Hybrid Connection • Allow App Service to access on-prem services securely • The on-prem service doesn’t has to be internet accessible • The single app service can provide access in multiple networks • All the connections are outbound over standard web ports. Therefore, no firewall holes needed
  • 22. Azure Private Link • Provides private connectivity from VNet, peered networks and on- premises • Built-in exfiltration protection • Improved control over the services by having a predictable IP address space to consume the services, integration with Azure DNS private zone, and having an approval workflow
  • 23. What is Private Endpoint? 10.1/16 Private Endpoint 10.1.1.5
  • 24. Services support Private Link Azure Storage Azure SQL Database Azure Private Link Service Preview! Preview! Preview!
  • 25. Private Endpoints VS Service Endpoints
  • 26. Private Link Limitations • Still in Preview • Doesn’t co-exist with Service Endpoints
  • 27. Demo: Private Endpoint for Azure SQL
  • 28. Q&A

Editor's Notes

  • #2: Please add this slide at the beginning of your presentation
  • #31: Please add this slide at the end of your presentation