How to use REST API to add a VM role? [closed] - azure

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How to use REST API to add a VM role?
I can't use this http://msdn.microsoft.com/en-us/library/windowsazure/jj157184.aspx to delete a VM. Do I need some other steps for that?
And also I want to get some code for adding a VM Role to existed VM Role service.

I think Autoscaling will solve all of your problems here. Check out this guide to get you started.
With autoscaling, you can set up rules to add/remove instances on a deployment based on certain events or constraints. This can run on-premise or on a separate worker role. If you use WASABi, then you won't have to mess with making the role management API calls yourself.
I hope this helps, if you have any specific questions just ask and I will do my best to answer them.
I have also posed a few errors I have encountered and the solutions for them on my blog.

Related

Which is better and why to store web application logs , Application Insights or Azure table storage? Please suggest [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to store application exception logs, which option is better app insights or table storage.
Based on the minimal amount of information you're providing:
Application Insights is the more mature solution. You get lots of stuff you would have to build yourself for Exception data in Table Storage. This includes stuff like reporting, trends, correlation, alerting and whatnot.
Have a look over here: https://learn.microsoft.com/en-us/azure/application-insights/app-insights-asp-net-exceptions.
The document is about a web application, but you can store information from all types of applications in Azure. For this, also see TelemetryClient.TrackException

Is it possible to setup a web app in Azure that connects to multilple on-premise databases? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I would like to setup an Azure web app that connects to different on-premise databases (same schema). These databases are in no way related to each other. Is this possible?
Yes, you want to use Hybrid Connections. See this article for how to set them up: https://azure.microsoft.com/en-us/documentation/articles/integration-hybrid-connection-create-manage/
You'll still have to set up some kind of programmatic way of choosing which connection to use. You'd have to expand upon your scenario for me if you need more advice.

Software update on remote machines [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
[Thank you for answers. I am adding more information to my original question]
We have a Python App that is deployed across several customer locations. It is not feasible to set up a VPN between our servers and the client machines.As we add new features, we want to push it to our existing customers. We are looking for something similar to how on the air updates are handled. I understand this is not a new problem and was hoping to seek some ideas on how it has been handled so far..
A scalable to solution to this would be to embrace server orchestration. This will allow you to decouple the process of pushing updates to your app, from the infrastructure in which it sits.
Ansible is my favourite solution in this department. Other popular solutions are Chef of Puppet.
A common and sensible component of server orchestration is Push to Deploy. Your master branch always contains production code.

Azure Websites and Downtime during deployments [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have a Web Site setup on Azure Web Sites, it's using Reserved mode and has 2 instances.
But when I do an update to my site the site has downtime.
Is there anyway I can get the deployment to update once instance at a time so that there is no downtime?
If you're looking for a hot-swappable deployment of new code, you should look to running a WebRole. WebRole has two environments that can be hot-swapped via CNAME switch. This allows you to not lose any traffic during downtime.
Azure Websites (being a simpler but less featured offer from Azure) will go down sometime during the upgrade process and come back when the code has been deployed and app recompiled.

How to host haskell app on amazon web services? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How can I host, say a Snap webapp, on amazon?
In other words, what are the first steps I need to take - as I am completely clueless.
Any tips appreciated!
First you need to have an amazon aws account. Then depends on your requirements you can select the instances and host it. You can set up the instance using the AWS Management Console.
have a look on this. http://aws.amazon.com/console/
this will also help to you Need a step by step guide to host a website on AWS

Resources