Ocelot API Gateway inside Azure - 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.

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.

How many different ways are there to deploy a website under azure portal?

Good day dear community,
i have a smaller project where i need to search for different possibilities to deploy a website under azure portal.
Personally i found 4 different ways how to do it.
App services
App functions Serverless (which i dont understand how to deploy there a website)
Install a VM and then deploy a website
Use docker to deploy your code
Question:
Are there any more ways to deploy a website under azure and can somebody explain the deployment of websites with serverless as i dont understand how to publish a website there. i just managed to get the httptriggers and i am confused with that.
Thanks in advance
sorry for any spelling mistakes.
You can deploy to a website to a VM. But first you will have to setup the VM to be a web server. There are many different pre-configured images with either Linux or Windows OS. This will require you manage the OS of the VM.
An Azure App Service will abstract the OS and VM away from you. The OS will be managed for you and you can configure many settings through the Azure Portal. There are different plans that allow you to use more compute and/or memory. You can also setup Authentication through the portal. You can also elect to deploy you website inside a container to an App Service.
There are also Azure Function Apps which can be used. Azure Function Apps are not intended to serve as the backend to a website, but it can be. These are meant to serve only one purpose, not many like the backend of a whole website ( for example, you might use a different function app to serve content each page of a website instead of just one app service having multiple endpoints serving all pages of a website). With Azure function apps, you can deploy in a container or not in a container.
I am not sure what you mean by number 4, Container over docker. You can deploy a docker container an App Service or a Function App. You can deploy the container to docker hub or azure container registry (to name a couple), but that will not deploy your website so that it is accessible.

Unable to connect WebApp to Virtual Machine using VNET

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

How to deploy spring cloud microservice on Azure cloud

I am working on micro service development using Spring Cloud and Netflix Eureka. Now I want to deploy these microservices on Azure. I tried to follow this Link but I am not sure that it's a best way to deploy microservices on Azure cloud.
Please suggest me what is the best way to deploy these micro service on Azure Cloud?
Two options
You can use Spring-Boot and push it to the docker container, as docker recently launched the support for Azure cloud.
You can deploy through Pivotal Cloud Foundry on Microsoft Azure.
Now you can also deploy using Azure Spring Cloud.
https://learn.microsoft.com/en-us/azure/spring-cloud/spring-cloud-tutorial-prepare-app-deployment
You can still use Azure App Service, But it is better to use it for monolithic applications.
For micro-services architecture, you should go with Azure Spring-Cloud as it will manage everything for you.

Azure Web App in a Private VPN?

I'm simply wondering if it is possible to create a private network on Azure and place a web app there? I know I can put VM's, SQL instances etc, but my question concern Web Apps specifically. Seems like such basic thing, but can't seem to make any progress on this...
My goal is to setup a Dev, Test and Prod environment in Azure. I setup a VPN for each environment. Each VPN has three subnets (Public Web Front End, Private App Service, and a private Data sub net)
I want Dev, and Test environments to be completely private, but Prod should have the "Web Front End" subnet open to the Internet.
I cannot find a way to put the Web App in the subnet? If this is not possible, then does that mean I can't use Web Apps, and must instead use a VM with IIS? Is my approach using VPN's and subnets incorrect?
Thanks,
Per
Absolutely - you need to set up Virtual Network or Hybrid Connection:
Reference #1: Connect to on-premises SQL Server from a web app in Azure App Service using Hybrid Connections
Reference #2: Integrate your app with an Azure Virtual Network
Reference #3: How to place your Web App into the existing Virtual Network (your situation, i guess)
And you will have the VPN/Virtual Network that will give your solution the continuous IPs space.
You need to create an App Service Environment (ASE) and deploy your web app there. Instructions on how to do this is available here.
Also, be advised that at this time, ASE can only be created in a v1 virtual network.
Earlier this was possible only for azure VM connected via private peering via expressroute.This is now possible with azure private link

Resources