I have not used any Source control mechanism (TFS or GIT) to deploy my Umbraco app to Azure WebSites. Also I don't have any backups of the WebSite(Backups created on Azure Management portal). Also I don't have a previous version of the whole project with me locally. Is there any way I can restore or backup my Azure Website to previous deployment ? Or is it completely impossible ?
Unfortunately, there is no way to restore it the way you have described your situation.
Related
I am a software vendor with a .net web solution that I want customers to be able to easily install / deploy into Azure Web Web Apps / Azure Websites along with a Sql Azure backend. I can't find any installer tool that supports this scenario. I have also looked into the Azure Marketplace but it seems the only option there is to create VM images. I want my customer's to avoid having to deploy to an manage VMs and adopt the IaaS model. Instead they should be able to install to Azure Web Apps with a package that copies all the web solution files and installs and connects the Azure Sql. Is this possible or will I have to manually deploy and configure Azure solution for each customer?
You can use the VS Marketplace to do the deployment. What you need is to create an ARM template. There is a huge number of samples here: https://github.com/Azure/azure-quickstart-templates - you can pick one of the web app ones - for example: https://azure.microsoft.com/en-us/resources/templates/201-web-app-sql-database/ - has a SQL database linked to a web app.
The ARM template allows you to do a "no-hands" deployment of the resources and know when they are ready for further action. You can also deploy from any of the supported continuous deployment options (see the template with a GitHub connection as an example) or you can use ftp/msdeploy after the deployment is successful.
This is a good tutorial https://learn.microsoft.com/en-us/azure/azure-resource-manager/vs-azure-tools-resource-groups-deployment-projects-create-deploy
This is the github example mentioned in previous answer
https://github.com/Azure/azure-quickstart-templates/tree/master/201-web-app-github-deploy
How can I publish to an Azure Website (NO VM!) using Microsoft Release Management.
At the moment, ms release management only seems to support deploying to Azure VM's. I like MS Release Management system as it lets me control my deployment variables across multiple deployment stages.
Basically, this is not a supported scenario out of the box.
Your best bet here is to use an agent-based release template with a "springboard" server to manage the release, and custom PowerShell scripts that use the Azure SDK to interact with Azure. One of my colleagues did the leg work to figure it out a few months ago, and has a few comprehensive blog posts describing how he accomplished deploying an Azure Web Application via RM.
Visual Studio Release Management now offers built-in steps to manage Azure App Services. In a Release Management process add the Azure App Service Deploy step, and configure for your website. Note that this step requires your site to be published as a .zip file.
In addition to the deploy step, it is best practice to deploy to an inactive slot, or stop / start the site using the Azure App Service Manage steps in Release Management.
For now, you should take a look at the new build system, it has an out of box task to deploy a package to azure web app.
We have a VSO repository with multiple sites in the same solution. We want to be able to deploy our sites independently of each other to Azure with continuous delivery. Right now the first site alphabetically is deployed to all our sites which of course is not desirable.
Is this possible to achieve?
I have tried to set the Project key to the correct csproj in App Settings like suggested here: https://github.com/projectkudu/kudu/wiki/Customizing-deployments without any success. Maybe Kudu is not used for VSO?
Any help would be greatly appreciated!
You should move away from trying to do this in a build, especially if you want that level of control.
You have Release Management Online provided with your VSO account and can use the Release Management client to configure your releases.
I believe that you can right-click on your Build and have an appropriate starter release template created when configured.
http://nakedalm.com/create-release-management-pipeline-professional-developers/
Here is an example of and end to end deployment with a web app. Deploying to Azure with RM is Childs play...
Am new to Azure and Websites.
On Boarded to Azure Cloud Services with CSPKG file.
Am looking to create a package for Websites from the Build and use it later to deploy in my Azure Subscription.
Was wondering if i can have CSPKG file for a Website and how to generate it.
Or is there a better way to package your Azure Website contents ( Without knowing the target where it will be deployed).
Please Note: I am aware of FTP, GIT and Deploy directly from Visual Studio.
Want to know the process of getting the package out of MSBuild without targets and Deployment.
Thanks,
Pradeep.
Azure Websites does not support CSPKG.
An alternate approach would be a WebDeploy package.
Is it possible to automatically publish (static) files from Team Foundation Service to an Azure Cloud Storage Blob during build?
UPDATE:
If it isn't possible to publish directly to a blob, perhaps there is a good workaround to publish indirectly? I also publish another project to an azure website, so one way is to publish the files to that website and then using WebActivator I can move the files to the blob at first activation. But I hope for a better solution to this.
I think you would need to be able to customize the build process in order to do that, and that customization is something I don't believe you can do today with Team Foundation Service. If using Team Foundation Server, then yes.