I have a VM setup with a default database and a website hosted on IIS. After the website main page is loaded, depending on the credentials, it should replace the default connection with an on-premises database connection. Now is there a way that I simply go to azure portal and make a hybrid connection with VM just like we do with azure websites or is it necessary to have a site-to-site VPN in case of azure VMs?
is it necessary to have Site-to-Site VPN when using Azure VMs with on-premises database?
217 Views Asked by Samra At
1
There are 1 best solutions below
Related Questions in VPN
- VPN + WPF Application
- how to spoof location so google autocomplete API will provide local results, ideally with R
- Android VpnService with multiple addresses and routes?
- Getting a list of installed VPN Profiles Programatically - iOS
- How to change connection to Cassandra on Windows and make it remote?
- batch file to automatically connect to vpn connection
- Number of nodes appears 0 in a swarm cluster
- Gitlab: can't SSH from home (Windows)
- Is it possible to a VM be "shared" by 2 or more virtual networks on Azure?
- Android WebView: cannot access site through VPN when using emulator
- Remove Helper Tool using NSTask in MAC Application
- Not receiving the sip call using VPN in my application
- How to send all traffic over a VPN connection?
- How to both read and write from a TAP device connected to a MACVLAN via a bridge?
- Get-AzureSubscription -ExtendedDetails in PowerShell doesn't include certificate
Related Questions in AZURE-VIRTUAL-MACHINE
- Azure VM: Single disk (filesystem) greater than 1023 GB?
- Backup strategy for build tool hosted on Azure VM
- New-AzureQuickVM not creating VM on exsisting Cloud Service?
- Ping Azure VM in same subnet using VM name
- 'Your credentials did not work' in MS Azure
- Installing Azure powershell in an azure Virtual Machine
- Azure Virtual Network Custom DNS Server
- Extend On-premise AD to Azure
- How can I use Azure-provided DNS for Resource Manager VMs?
- Find out data traffic coming in and going out through azure VM
- Azure manage compute API is failing with InvalidAPIVersion error
- Publishing ASP.net to Azure VM
- telnet to azure vm port from outside
- Copy files from Azure Blob Storage into azure SUSE LINUX VM
- Service Fabric Application vmImageSku
Related Questions in AZURE-VIRTUAL-NETWORK
- Can't connect in RDP on an Azure VM
- Azure Cloud Service connected with Azure Virtual Network - is the internal IP static or dynamic?
- How to set network security group rules for azure storage services?
- Ping Azure VM in same subnet using VM name
- Azure Reserved IP Address Inconsistency
- Azure Virtual Network Custom DNS Server
- Extend On-premise AD to Azure
- SMB access to on-premise resource from Azure Web App via Virtual Network
- Azure External Load Balancer - Adding LB Rules with PowerShell
- Azure VM Servers SQLlaasExtenstion is in transitioning state
- Azure indirect Peering
- Creating a new subnet inside a classic azure vnet
- Having on-prem IP to point to Azure VM
- Domain Controller in Azure VM slow to respond
- Connect two Azure VMs,across regions, via VPN
Related Questions in HYBRID-CLOUD
- Azure APIM and Hybrid Connections
- Can a precompiled Function App use Hybrid Connections to on-premise servers?
- How to access an OnPremise system from AWS using Node.JS
- Where to place Z/OS license file when push Cloud Foundry PHP app to Bluemix?
- Azure Service Bus: High Availability
- How to trigger GCP cloud function(private) from AWS SNS over http trigger
- Using softwares on Bluemix platform
- Azure Bastion for Hybrid Cloud Environment
- Using IBM Cloud for SaaS API management with on premise gateways
- is it necessary to have Site-to-Site VPN when using Azure VMs with on-premises database?
- Are on-premise Azure Functions suitable for production?
- Azure Service Fabric-based Services: Prerequisite is always a prepared cluster?
- Can a managed AWS service (e.g. Managed Airflow (MWAA)) be used in the cloud on data resources that are entirely on-premise?
- What is the closest latency efficient AWS region for GCP us-central1 region?
- State-of-the-art job scheduling (containers, hybrid cloud)?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It is possible, you could create a site to site VPN connect your Azure VNet and your local database. After the VPN tunnel is created, your VM could access your local database with private IP, it is more safer because your on-premise database is not exposed on Internet.
Please refer to this link:Create a Site-to-Site connection in the Azure portal.
Update:
If you want to connect your database on public network, you only need open SQL port on Azure VM firewall and NSG, you don't need open create a VPN tunnel.