I am have created an Azure Cloud Service to analyze text in images. It uses this Python library which depends on the installation of Tesseract-OCR here. Specifically, I am using tesseract-ocr-setup-3.02.02.exe (one of the old versions because it has a Windows installer), which can be found here.
My problem is: this installer doesn't have a silent/automatic installation option, but I need it to automatically install itself when the Azure Cloud Service is being deployed. I can't be manually installing it every time I upload the cloud service, and especially after Azure restarts the Cloud Service VM for maintenance. Are there other options for getting Tesseract-OCR installed on the Azure Cloud Service VM so that the installation persists if Azure restarts the Cloud Service?
Your best bet would be to setup a VM, Install the software that you need, and deploy your app to this machine via ftp or something..
You can't customize the host of a "managed cloud service"
Related
Looking to run what we are currently running on Azure Cloud Services worker instance on a standalone Windows Server Virtual Machine.
Due to autoscaling limitations with Cloud Services (specifically around instance protection), we are looking to replicate the setup in this other fashion.
Is this possible?
What would it require?
Not sure what pre-reqs may be needed to recreate the Cloud Services Windows instance.
Obviously have all of the resources needed to create the CSPKG & CSCFG files, but cannot figure out how they are processed and deployed on the Cloud Services Worker instance.
Thank you!
I want to apply winnovative html to pdf converter for one of my solution in azure function, but during installation it says use of Cloud service, which seems to be outdated. Do we install it using Azure App service?
I took the liberty to download the latest version of the HtmlToPdf application, pushed it to GitHub, and deployed it to an Azure App Service (lowest tier, free).
You can see it running here: https://so-htmltopdf.azurewebsites.net/
I have also included the Azure template for the App Service, which includes the configuration for deploying directly from GitHub.
Assuming Winnovative is a 3rd party tool, you'll need to use Virtual Machines or Containers, where you have control over the file system.
PS: You can run Azure Functions on Containers/ Virtual Machines using the official image.
https://hub.docker.com/_/microsoft-azure-functions-base
There is a Cloud Service in Azure classic deployment model. In the Cloud Service you can add web role and set up a startup tasks. If your application has any dependencies that require installation on the destination VM or controll over IIS-related settings, you can use a startup tasks to provide an unattended deployment for this configuration. For example, if you need installed software on the backend side, you can run MSI in startup task to install it.
Unfortunately, I can't find this functionality in new Azure Resource Manager model. My Web App need some installed software on backend side, but I can't figure out how to install it. Could you help me with this?
You can't. Web App (or App Service) doesn't give you control over the underlying OS. You should consider containerizing your app and run it through using e. g. ACI or AKS.
A Cloud Service was nothing more than a VM with extended support in Visual Studio. Cloud Services are deprecated but you can still create a VM in Azure and install your dependencies.
I have a Web Role in Azure that is under development. I would like to make a package that can be published and tested in staging environment without the help of Visual Studio. Is there a way to publish if just the package is provided?
You can use cspack to actually create the package, but from your question it sounds more like you are asking can you publish an already created package. The answer is yes.
There are multiple ways to do this and I'll provide three:
1) The management portal: you can deploy a package if you have the cspkg and csconfig files. Under the Cloud Services you can select a cloud service and select to deploy to the production or staging slot. You can also do this as part of creating a new cloud service in the portal. http://www.windowsazure.com/en-us/manage/services/cloud-services/how-to-create-and-deploy-a-cloud-service/
2) You can use Windows Azure PowerShell and CLI command line tools to deploy an already packaged deployment. In fact, you can also automate packaging and deploying. http://msdn.microsoft.com/en-us/library/windowsazure/jj883943.aspx
3) Using a tool like Cerebrata's Azure Management Studio you can also deploy already created packages : http://www.cerebrata.com/products/azure-management-studio/features
In additiont to being able to deploy an already created package, for Cloud Services you can also wire up to the hosted TFS service and have it deploy your web app when you do a check in. http://www.windowsazure.com/en-us/develop/net/common-tasks/publishing-with-tfs/
Is it possible to port existing node.js applications to Windows Azure platform? I currently develop on my Mac but will need to deploy the application to Windows Azure in a near future.
You may also want to check a video on Channle 9.
node.js on Azure : http://channel9.msdn.com/Events/Patterns-Practices-Symposium-Online/Patterns-Practices-Symposium-Online-2012/node-js-on-Azure
Yes it is very much possible. You may also need to consider to make changes to use Azure Blob storage where your node.js code is using local file system (if required). The deployment is very similar to any other Windows Azure App and one you have Azure SDK for node.js you can use powershell cmdlets to make your job easy.
Download Node.js SDK for Azure
https://www.windowsazure.com/en-us/develop/nodejs/
Here you can learn the basics to deploy node.js app to Azure:
https://www.windowsazure.com/en-us/develop/nodejs/tutorials/getting-started/
Porting node.js apps to Azure is possible but not yet a yes/no answer.
You can run your Node apps in Azure but you need to look at the modules you're using to make sure you aren't depending on a tool or command or other facility that isn't yet available on Azure. For example, are you using a database like redis or couchDB or mysql? These don't exist natively in Azure so you may or may not be able to port that layer -- you'll have to check.
Since you're on a Mac, there isn't yet a native OS X deployment tool. Microsoft and the Cloud9 folks have been showing a way for Macs to deploy from the Cloud9 IDE which works but the Mac story will most assuredly improve over time. I work on a Mac but I keep a Windows VM open (Parallels) and if I deploy from the desktop I've been using the Powershell cmdlets in the Windows Azure SDK for Node.js which makes things fairly turnkey from Windows.
You will want to follow a couple of repos and their contributors: Azure SDK for Node, which allows native access to Azure Storage via npm install azure and iisnode (on Github) which is a component that assists your node app running under IIS (the Windows Web Server) on Azure.
It's been great to see the Node story on Azure evolve; it's still just a little early but they seem to be making great progress quickly.