Getting error when change region of azure webite [duplicate] - azure

When configured my website on windows azure, I chose Est of USA for the Web site, and North Europe for database.
As you can guess, the performances are very bad, most of my users are in Europe.
Looking on msdn, they said it is not possible to change database of location.
So how can I change the location of my web site?

You need to redeploy your website code to a new Web Site, located in Europe. If you're using git, this should be as simple as setting up a new remote location to the new Web Site and re-doing a push.
In the future: Always deploy website + database in the same datacenter. This avoids performance latency as well as data egress costs out of the data center.

Related

Understanding bindings in IIS on Azure VM

I have a VM in Azure with IIS running and hosting a website. This site was originally written and hosted by another company and they recently moved it to this VM for us. The binding still shows as the old website name (as hosted on the other company's site) and we still access it by going to the original website URL name in our browser. The developer mentioned to me that I'd need to eventually change the binding to reflect something hosted by my company.
My question is what is my next step? I know how to change the binding, but I'm having trouble knowing what to change it to? Ideally, I'd like to have the site hosted in Azure - the url name does not matter to me, as long as I can change it from the old original one. I created a new Web App in Azure and am trying to point the website to that new url but it's not working. Not sure that's the best route anyway.
If I understood your question correctly, Original website may have a domain name associated with it. You will have to update the DNS records with PIP (static-public IP) of Azure VM (site is now running on IIS on Azure VM).
Trust this helps.

Host 2 separate sites, one domain, on one Azure site

I have a wordpress site hosted on Azure. Call it, mysite.com. I'd also like to develop a separate .net app and host it at subsite.mysite.com. How can I do this without having to pay for 2 separate Azure sites?
There are ways to achieve what you require. However, key point here is to understand the Azure App Service. Because, in Azure app service, you never pay (your concern is having to pay, not having to maintain) for a single site!
If you take a closer look at the App Service Pricing model, you will see that even with the free (like in Free lunch) tier, you get to host 10 applications in your hosting plan. But you need custom domain, then you go to Shared plan, you already can host 100 web sites within it, all with your custom domain/s.
Next you will have to learn a bit about what is Top Level Domain, what is Domain, what is Sub Domain, what is A DNS Record and what is C-Name DNS record, because these are all thing you need to understand in order to properly configure your sites.
And finally read the article on how to configure custom domain for Azure App Service.
Remember. With Azure App Service, you are paying for a hosting environment (or service plan), not for a single web site!

How can i setup connected VMs on Windows Azure with 2 different regions

I gone through official announcement of General availability of Virtual Machine on Windows Azure. so i would like to move one of my client's production app on this. Requirement to set up this app on 2 different regions as below
Basically we have two demographics from Australia and Turkey from where people will be accessing the server, So we need two web servers one from Australia and another from Europe
- 2 Web servers with Window server 2008 r2
- Separate Database server with SQL server
- One Load balancer
Queries
1) What data centers are best suited for above regions?
2) we are not concerned about up-time instead we are concerned about performance at locale
based so to run application on 1 VM is okay?
3) In which region database should be hosted so both web server can access smoothly
regardless of performance issue. what should be region of it?
4) Can we setup load balancing such a way for one url it would transfer request to
Australian server and for other transfer request to European server?
5) I have calculated price with
2 VM (small) for to host window server
1 vm (medium) to host sql server
35 GB bandwidth
support for developer and it would cost me around $300,
Do I need to consider other pricing apart from this?
As for data-centers best suited, I suggest using
1. Australia - South-East Asia
2. Turkey - West Europe/North Europe
Now for the other question....
1. if you are looking at performance at locale...then you should look for setting up Windows Azure Traffic Manager (Performance-based)...this will give you best performance based on closest hosted service....
2. Windows Azure Traffic Manager (Round-robin-based) will serve the expectation of one request to Australia and second to Europe.
Note: you can set either of the above two but not both. It is different from load-balancing which works within a region (Read more...Azure VM load balancing vs Traffic Manager)
There are other cost like transaction cost, storage cost, etc....I suggest you read Microsoft Azure cost model for details. (Read more...http://blogs.msdn.com/b/windowsazurestorage/archive/2010/07/09/understanding-windows-azure-storage-billing-bandwidth-transactions-and-capacity.aspx)
Bear in mind, VMs can recycle...you can also explore cloud services (web roles) for your requirements.
I would suspect that you'd get more performance improvements by having one SQL database server and one web server that are in the same data centre, than have two web servers close to your customers both accessing the same DB. There is going to be more communication between the web servers and the DB than there will be between the clients and the web servers. You can then choose which set of customers you most want to keep happy and then choose the data centre close to them. If you want to keep your Australian customers happy, then you have another choice, because for cities in NSW that have access to the Southern Cross Cable, they get better response times from US data centres than they do from the asian ones.

How can I modify the Location of my web site in Windows azure?

When configured my website on windows azure, I chose Est of USA for the Web site, and North Europe for database.
As you can guess, the performances are very bad, most of my users are in Europe.
Looking on msdn, they said it is not possible to change database of location.
So how can I change the location of my web site?
You need to redeploy your website code to a new Web Site, located in Europe. If you're using git, this should be as simple as setting up a new remote location to the new Web Site and re-doing a push.
In the future: Always deploy website + database in the same datacenter. This avoids performance latency as well as data egress costs out of the data center.

Are azure sites deployed transitionally?

when deploying azure websites to a farm of lets say 10 instances, how is the deployment of the new version propagated?
is there a time where different users could hit diffident version of the site based on where the load balancer sends them? or does azure spin up a whole new set and does an ip swap when they are all ready?
You are thinking azure websites a lot more like "Windows Azure Web Role" which is not true. With Windows Azure Website your website (shared) is sharing resources without hundreds of other website so there is not such ip swap, and update domains etc.
Websites are stored on a content share which is accessible from all the "web servers" in the farm so there is no replication or anything like that required. So with shared and reserved website the update will be instant for all instances. With larger package update it may take some time for file system change notification however once the file system update notification is available all the instances will pickup the updated code instantly.
With Windows Azure website, the content is located at "content share" and all instances are getting data from there so there is never a chance where multiple instances have different version of data.

Resources