Unable to connect WebApp to Virtual Machine using VNET - azure

I have a web app built on .Net 4.6. The application utilises elasticsearch and redis which are hosted in an Azure VM. I am trying to connect Azure VM(ElasticSearch+Redis) to Azure WebApp(.Net WebApp) using internal network. i.e, WebApp and VM should interact with each other on LAN and not the internet. I am not able to understand Azure VNET use case scenario from its description in docs.
Does Azure VNET enable the above-mentioned scenario? If yes, How? If No, Please suggest the best way to archive this.

Out of curiosity, could you please let me know why are you using a VM for Redis and Elastic Search?
With regards to your questions, you can definitely do that. Please read Getting Started at the below link to understand -
Integrate your app with an Azure Virtual Network

Related

Host Microservices on Azure without Kubernetes

I want to host microservices on Azure platform.
But my Customer don't want to use AKS (Azure Kubernetes Service).
So Anyone have idea for same? Is there any other proper way for hosting microservices on azure?
Please guide me.
You should look at Azure Container Apps.
Assuming that you are running your micro services in a Docker container. The other ways to run container apps in azure are:
Azure App Service
Run Docker on an Azure VM
Probably the Azure App Service is the best place to start.

Ocelot API Gateway inside Azure

I'm trying to create working solution with Ocelot API Gateway. I managed to create working solution locally on my pc. Now I want to move to the next step which is to deploy this solution to Azure.
As far as I know in order to do that I need one of those things :
-Docker host, in your local dev PC, on-premises or in the cloud
-Kubernetes cluster, on-premises or in managed cloud such as Azure Kubernetes Service (AKS)
-Service Fabric cluster, on-premises or in the cloud
-Service Fabric mesh, as PaaS/Serverless in Azure
I don't have much experience in any of those but I think the best one will be to use Docker App Service within Azure.
I'm working on deploying my projects but I believe I will need to create some Virtual Networks so those docker images will be able to communicate with each other. Maybe there is some tutorial online ? Or anybody has done something similar ? I would appreciate some help.

Azure Web App for Containers networking VNET

I'm exploring Azure but unable to figure out how to allow my App service to connect to the VNET I created so it can access the HDInsight cluster.
My scenario is this, I'm running a Kafka HDInsight cluster deployed in the VNET I created and I need to also deploy my Azure Web App for Container in the same VNET so it can connect to the Kafka brokers.
I haven't seen a good documentation on this, need help on how to set the Azure app service to connect to my VNET over a private network?
The Network is disabled (don't know why) on my App service.
Thanks
VNET integration is not available yet for Web App for Containers or App service on Linux. Please follow the UserVoice request for updates on when it will be supported.
https://feedback.azure.com/forums/169385-web-apps/suggestions/32534479--linux-enable-vnet-integration-for-app-service-on

Azure Website connecting to Virtual Machine

I have an Azure Website and it is required to consume an elastic search service that's running on a VM.
Although I need to be able to lock the access to elastic search down so only the Azure Website can access it, I can't seem to work out how to do this using the endpoint configuration on the VM.
Am I looking in the wrong place?
Thanks
Carl
You will need to setup a Hybrid Connection between your Web Site and the VM:
Hybrid Connections create a safe tunnel between your Web Site and a VM for example. The screenshot shows the integration between a Web Site and the corporate network, but this also works for VMs running in Azure.
The only requirement is that you install the Hybrid Connection Manager on your VM. More information:
http://azure.microsoft.com/en-us/documentation/articles/integration-hybrid-connection-overview/

Azure VPN with PaaS?

Is it possible to use site-to-site vpn with paas cloud services in azure? I have a VM in azure and it seems to work just fine but can't seem to find anything in config (or wherever) about vpn for cloud services....
Short answer, yes. You create the network first, then, configure the cloud service to deploy into that network.
Here are instructions that should help

Resources