azure remoteapp - prepare template image, create RemoteApp - azure

I'd like to start using RemoteApp with my desktop application which needs database.
What I've done:
Created server-VM with database installed
Created client-VM (I can connect with my database)
Run script from client-VM desktop (can't remember name, but it stopped my VM and should be if I want to create template image)
I don't know what should be the next step. I tried to follow azure.microsoft.com/pl-pl/ documentation/articles/ remoteapp-create-hybrid-deployment/ but i'm not sure if creating template image is done neither where to find RemoteApp page ("In the Azure portal go to the Azure RemoteApp page.").
Seems the Azure layout changed and this tutorial is out of date.

I'd start with this article = https://azure.microsoft.com/en-us/documentation/articles/remoteapp-sql/
To oversimplify the steps.
1) You will need to create a custom image that has your application installed and import the image into Azure RemoteApp image library
2) create azure RemoteApp collection using that image
3) publish the app and assign users
4) launch the app and configure it to connect to your db which should reside on separate VM or external for example in SQL Azure.

Related

Is it possible to migrate my Azure app service to a self hosted server via a docker image?

When I google this every result is a microsoft document describing how to bring code INTO Azure. But I am looking for a way to take an existing Azure app service and make a docker image of it and then deploy that onto my own server.
Is this possible?
I believe Azure provides a mechanism to generate the docker image. Is that all I need?

Web2py project deployment on Azure app service

I am currently using PythonAnywhere to deploy my web2py project, it is working fine for me.
Now I want to deploy my web2py application on azure App service. I followed all the steps mentioned in below Goggle group
Creating web apps with Web2py in Azure Web Apps
Still I can see default page of azure python web app. I also tried to do it with same code base mentioned in given git repository.
I am unable to figure out which document I should refer or what are the right steps to deploy web2py project to Azure web app service.
Below are the steps I followed to deploy web2py project to Azure app service
Created Azure app service with P1V2 app service plan. Linux machine with python 3.6 default language
Selected local git repository in deployment center and pushed code to azure git repository. It shows deployment successful message
Browse azure website, but this time it is not showing expected landing page. It is showing me default app page of azure website
I tried steps 3-4 times but everytime I am getting same result. Am I missing something here?
I reviewed the forum thread Creating web apps with Web2py in Azure Web Apps of Google Groups as you mentioned, I see there is a file named web.config in its attachments, as the figure below.
However, the discussion is too old at 2015-11-13. At that time, Azure only supports Windows for Azure App Services, but you were trying to reproduce it on Azure WebApp for Linux based on Docker, because P1V2 Sku is for Linux and Standard S1 for Windows, as the figures below.
P1V2 Sku of Azure App Service Plan for Windows
Standard S1 Sku of Azure App Service Plan for Windows
So if you want to reproduce the same application of the thread of Google Groups on Azure WebApp for Windows, please try to refer to my answer for the other SO thread No pip or python module inside azure webapp. There is not any Azure offical document introduce how to deploy a Python application on Azure Windows WebApp.
Otherwise, please refer to the two Azure offical documents Quickstart: Create a Python app in Azure App Service on Linux and Configure a Linux Python app for Azure App Service to try to change and deploy it on Azure Webapp for Linux. Even that you need to follow the document Configure a custom Linux container for Azure App Service to create a custom docker image for deployment.

Azure RemoteApp Collection with AzureVM

I'm new in Azure and trying to add a custom application in my azure RemoteApp. I have created an Azure VM (windows 2012 R2 Evaluation) and an azure RemoteApp collection. I have added my custom application in VM at path c:\Customs\MyTestApplication\TestApplication.exe and also in remoteapp collectio have published this custom via path %SYSTEMDRIVE%\Customs\MyTestApplication\TestApplication.exe.
But when I am runing Azure RemoteApp client I see my test application but cannot run. It cannt find the test application.
Can anyone help me please? I have spend a lot of time in azure documentations without any success.
I think I must to connect my Azure VM in azure remoteapp collection but I don't know how!
Thank you
you are close, you must create a custom image and then import that image into azure RemoteApp image library and then create a Azure RemoteApp collection specifying that image. Read here for more information = https://azure.microsoft.com/en-us/documentation/articles/remoteapp-imageoptions/

How to upload/run custom Windows Application on Azure Remote App

I am working with Azure Remote App service. I can already use the default published applications on Remote App collection. But I want to upload my own windows application on Remote App collection but have no clue on how to do that.
Could some one guide me to some good resource or a direct way to accomplish this?
Thanks
To achieve what you want, you need to create a template image with your custom application in it and then use that image to create an Azure RemoteApp collection.
To create a template image with your custom application, you can follow these steps: https://azure.microsoft.com/en-us/documentation/articles/remoteapp-image-on-azurevm/ (basically, create Azure VM, install your app on the VM, sysprep, save the image to Azure RemoteApp)
Then, your image will appear in the list of images when creating a collection and you can follow the steps here to create a cloud collection: https://azure.microsoft.com/en-us/documentation/articles/remoteapp-create-cloud-deployment/ (pick the aforementioned image)
We have more documentation about the service here: http://azure.microsoft.com/en-us/documentation/services/remoteapp/ and we have other means of support here: https://www.remoteapp.windowsazure.com/en/support.aspx
/cd
P.S.: I work on Azure RemoteApp

Publishing "baked" Orchard CMS to Azure CloudService

I am using Orchard CMS 1.6 with target deploy it to Azure cloud service. I have followed the steps in documentation Deploying Orchard to Windows Azure(http://docs.orchardproject.net/Documentation/Deploying-Orchard-to-Windows-Azure)
however,it hit time out error again and again during cooking receipe (Have tried with small VM)
My idea, is instead of running the setup process during initial setup, I would like to deploy the "baked" ready copy of Orchard (and manually deploying the DB scripts to SQL Azure) to cloudservice.
I tried with working on Orchard.Azure.sln and building the package again with ClickToBuildAzurePackage.cmd but now I come to the error
"The type 'Orchard.Environment.Configuration.AzureBlobTenantManager' could not be found. It may require assembly qualification, e.g. "MyType, MyAssembly"."
Any idea or experience to share?
Thanks.
Finally I made it works on cloudservice.
My idea is to cooking the recipe on my local machine instead of on Azure itself, to avoid timeout problem. So, we will have the ready cooked structure in Azure Storage and database schema.
Then, build the package with ClickToBuildAzurePackage.cmd and deploy the package to Azure Cloud Service. The instance shall skip the setup process since the Azure Storage contains the required information.
Below are my workarounds:
Download Orchard.Source.1.6.zip from the Orchard Codeplex
Extract and open the Orchard.Source.1.6\src\Orchard.Azure\Orchard.Azure.sln
Open the solution and edit your Orchard.Azure.Web role, change the Data Connection setting and Diagnostics to your production/development storage account.
Create an empty database in your SQL Azure (Assume you are using SQL Server)
Hit F5 to kick start the application and enter the setup information to start cooking recipe.
You may have the Orchard cooking in browser.
Once the Orchard is cooked. Check your Azure storage(With CloudBerry for example), you shall have the following folders:
media
site
wad-control-container
wad-iis-logfiles
Follow the instruction from Deploying Orchard to Windows Azure
You shall have the instance of Orchard running without kicking the setup process

Resources