From f53f5403c3eb9b5e304a90e83c98f428972cdabe Mon Sep 17 00:00:00 2001 From: David Pine Date: Thu, 19 May 2022 13:28:59 -0500 Subject: [PATCH] Remove old article and add redirect --- .openpublishing.publish.config.json | 1 + .openpublishing.redirection.json | 4 -- .openpublishing.redirection.orleans.json | 12 +++++ ...zure-web-apps-with-azure-cloud-services.md | 52 ------------------- docs/orleans/toc.yml | 2 - 5 files changed, 13 insertions(+), 58 deletions(-) create mode 100644 .openpublishing.redirection.orleans.json delete mode 100644 docs/orleans/deployment/azure-web-apps-with-azure-cloud-services.md diff --git a/.openpublishing.publish.config.json b/.openpublishing.publish.config.json index 3a004cbd58731..771620001eee7 100644 --- a/.openpublishing.publish.config.json +++ b/.openpublishing.publish.config.json @@ -118,6 +118,7 @@ ".openpublishing.redirection.fsharp.json", ".openpublishing.redirection.fundamentals.json", ".openpublishing.redirection.machine-learning.json", + ".openpublishing.redirection.orleans.json", ".openpublishing.redirection.standard.json", ".openpublishing.redirection.visual-basic.json" ], diff --git a/.openpublishing.redirection.json b/.openpublishing.redirection.json index d83e89ad3a1b5..ac33ac33de873 100644 --- a/.openpublishing.redirection.json +++ b/.openpublishing.redirection.json @@ -79,10 +79,6 @@ { "source_path_from_root": "/docs/tutorials/index.md", "redirect_url": "/dotnet/samples-and-tutorials/" - }, - { - "source_path_from_root": "/docs/orleans/whats-new/whats-new-in-orleans.md", - "redirect_url": "https://github.com/dotnet/orleans/releases" } ] } diff --git a/.openpublishing.redirection.orleans.json b/.openpublishing.redirection.orleans.json new file mode 100644 index 0000000000000..f57b61f6ac10a --- /dev/null +++ b/.openpublishing.redirection.orleans.json @@ -0,0 +1,12 @@ +{ + "redirections": [ + { + "source_path_from_root": "/docs/orleans/whats-new/whats-new-in-orleans.md", + "redirect_url": "https://github.com/dotnet/orleans/releases" + }, + { + "source_path_from_root": "/docs/orleans/deployment/azure-web-apps-with-azure-cloud-services.md", + "redirect_url": "/dotnet/orleans/deployment/deploy-to-azure-app-service" + } + ] +} \ No newline at end of file diff --git a/docs/orleans/deployment/azure-web-apps-with-azure-cloud-services.md b/docs/orleans/deployment/azure-web-apps-with-azure-cloud-services.md deleted file mode 100644 index 47a9787d92ff4..0000000000000 --- a/docs/orleans/deployment/azure-web-apps-with-azure-cloud-services.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: Use Azure Web Apps with Azure Cloud Services -description: Learn how to use Azure Web Apps with Azure Cloud Services in .NET Orleans. -ms.date: 03/09/2022 ---- - -# Use Azure Web Apps with Azure Cloud Services - -If you would like to connect to an Azure Cloud Services silo from an [Azure Web App](/azure/app-service/overview) rather than a Web Role hosted within the same cloud service you can. - -For this to work securely you will need to assign both the Azure Web App and the Worker Role hosting the Silo to an [Azure Virtual Network](/azure/virtual-network). - -First we'll setup the Azure Web App, you can follow [this guide](https://azure.microsoft.com/blog/azure-websites-virtual-network-integration) which will create the virtual network and assign it to the Azure Web App. - -Now we can assign the cloud service to the virtual network by modifying the `ServiceConfiguration` file. - -```xml - - - - - - - - - - -``` - -Also make sure the Silo endpoints are configured. - -```xml - - - - -``` - -You can now connect from the Web App to the rest of the cluster. - -### Potential issues - -If the Web App is having difficulty connecting to the Silo: - -* Make sure you have at least **two roles**, or two instances of one role in your Azure Cloud Service, or the `InternalEndpoint` firewall rules may not be generated. -* Check that both the Web App and the Silo are using the same `ClusterId` and `ServiceId`. -* Make sure the network security group is set up to allow internal virtual network connections. If you haven't got one you can create and assign one easily using the following PowerShell: - -```azurepowershell -New-AzureNetworkSecurityGroup -Name "Default" -Location "North Europe" -Get-AzureNetworkSecurityGroup -Name "Default" | Set-AzureNetworkSecurityGroupToSubnet -VirtualNetworkName "virtual-network-name" -SubnetName "subnet-name" -``` diff --git a/docs/orleans/toc.yml b/docs/orleans/toc.yml index 2a89df2d301e4..bba99cdfa448c 100644 --- a/docs/orleans/toc.yml +++ b/docs/orleans/toc.yml @@ -158,8 +158,6 @@ items: href: deployment/service-fabric.md - name: Handle failures href: deployment/handling-failures.md - - name: Using Azure Web Apps with Azure Cloud Services - href: deployment/azure-web-apps-with-azure-cloud-services.md - name: Troubleshooting Azure Cloud Services deployments href: deployment/troubleshooting-azure-cloud-services-deployments.md - name: Consul deployments