Azure CDN - With Local Web Server - azure

Hello I'm looking at a method for speeding up a website and providing a 5MB download (Windows App + Later this year Android version) to international customers. The numbers etc are not known at this stage but would like to know what options are available. The web server is based in NZ currently and is a WordPress install.
I'm new to these subject areas, so not 100% sure on the best move. So have a few Questions?
Would a Proxy such as Varnish be enough for a few 100 downloads a day (Possibly Hopeful)? - if hosted in NZ - its likely to be slow for international customers - without testing would be hard to know - have had a Google and haven't found anything to answer this thoroughly yet.
Could I use Azure CDN and point that at my current web server - if so where would I find good documentation on this? Or could someone provide some measure of cost here, the CDN pricing refers to the locations - I assume that would refer to each edge server - so perhaps would need to purchase a few locations to get a thorough coverage?
I assume once its setup it isn't too much hassle to add in more locations if needed + I think if we had an Australian location (Perhaps first location) - it should in theory be quite a bit faster than from NZ (Not that Azure offers)
Will keep looking in the meantime...
Thanks

Azure CDN would be a good solution. However, you don't "point" Azure CDN at your server. You upload and manage content in Azure BLOB Storage and enable CDN capabilities that basically duplicates your content to all Azure data centers and uses the CDN capability to pull from the location closest to the client. The CDN provides a CDN based URL or custom URL to link your content in a website.

Related

Azure Blob Storage - Static Site analytics

I've got a static web site hosted in Azure Blob Storage with Cloudflare as my CDN. It's such a small site (not even 1Mb and only 1 blog post), but I'm getting 1.1-1.2Gb of requests each month for the past 6 months or so with no explanation. Is there a way to find out what is being requested? In Azure, I can only find information about the performance, up-time, etc, but nothing about url's and I need to pay to get this info from Cloudflare (I believe). Has anyone else experience such strange requests?
I suggest you open Diagnostic settings and download Azure Storage Explorer to view the logs.
When you finished settings, u can check logs by tools. You can see request urls and http status info.
The previous data should not be visible, but you can monitor and analyze future requests.
When I did a lookup on those two IP's, they were both registered to Cloudflare, one makes sense given I'm using their service, but to have what appears to be their bot hit my site with this frequency doesn't... Wonder if there's a setting

Advice on the best config for web hosting scenario on Azure

I've been trying different scenarios/configs and finally decided to just ask for your advice...the Azure forum linked me here so I hope this is the right spot!
Just going crazy with the many different variables...need a solid, FAST, web hosting solution that I have much, if not complete, control/access.
I have a Wordpress site with 75K custom posts, a 2 gb mysql db, getting about 10,000 visits a month, currently on a shared 1and1 hosting package. Now I'm looking to implement some advanced search functionality using either "Views" or something like "Php Maker"...any of these tools, or ones like it, are resource intensive as they allow searching from the custom fields in the db.
I have credits on Azure so...
Linux/Lamp or Windows Wamp or Windows IIS? And I'm not a great Linux admin.
Can I, should I, setup the MySql on it's VM?
What would you all recommend for a minimum, solid, config?
Do I really "need" an availability set?
A Linux DB server and an IIS webserver?
I'm not sure where to spend the money - if I host the DB on it's VM and beef it up is that fact that it's not on the webserver VM going to cost me any of that benefit?
I've been searching for some general documentation outlining specific web hosting, website, scenarios but the data I've found is not at all conclusive - it's all over the place!
Finally (although I think I know the answer to this one ;) - can I access VM's, or Azure services, spanning multiple user accounts? A friend has offered his corporate account where he has a few hundred a month in credits - it would be cool if I could setup the DB there, at least, and the webserver on my account.
I very much appreciate your time and advice!
Rob
The last thing wou want to do is create and maintain VMs. Create an Azure website with a WordPress template, use ClearDB for your MySQL DB (the standard MySql option for Azure websites) - you'll need to get a paid solution for this size of DB.
With Azure website extensions, like Kudu, you can use any browser to maintain your files, or use a standard FTP option.

azure subscription info

I am a newbie to web development
I would like to host my site in azure.
There are so many subscriptions plans.
So which subscription is reasonably good and give me price details of that?
Thanks in advance
Windows Azure has few types of hosting. For a website you might want to look at the following -
Web Sites - You can host right away without modification of your existing project.
Cloud Services - I used this, but it requires changes such as Caching.
Here is the calculator based on your need.
FYI: Rule of thumb is you need a least two instances in Production to minimize the downtime.
If you are a newbie , I would strongly suggest using azure websites for now, and you can always move to a custom solution using webroles/caching Etc later if you feel it doesn't cater all your needs..
Azure websites pricing can be obtained from here :
https://azure.microsoft.com/en-us/pricing/details/web-sites/
Again on what parameters would you choose the right package, you are the best judge for that since you know what traffic are you expecting and how much memory etc you need

Azure components needed

Azure - this is a really dumb Azure question, sorry to all of you who know this stuff backwards. We're looking at Azure. We want a website, which will contain some relatively static material (white papers, information sheets), and a SQL-Server database which supplies data to website visitors' requests. The database will be about 1GB of actual data which we assume will be about 4 GB of database size. We estimate 14GB of data output per calendar month, worldwide so "zone 2". We need SSL. We have our own software writers to handle loading and outputting data from the database. We do not currently have a SQL-Server licence for this. Can anyone (some great, patient person) tell us exactly what components from the long list of Azure options and components we need to accomplish this, please?
Without going into much details, here're the components from Windows Azure arsenal you could use in your project:
Websites - Windows Azure Websites (http://www.windowsazure.com/en-us/services/web-sites/)
SQL Server - Windows Azure SQL Database (http://www.windowsazure.com/en-us/documentation/services/sql-database/?fb=en-us)
Static Content - Though you could store this data with your website also, I would actually recommend using Windows Azure Blob Storage for that (http://www.windowsazure.com/en-us/documentation/services/storage/).

Doubts about Windows Azure Platform Introductory Special

I'm considering to join the Windows Azure Platform Introductory Special, but I'm a little bit afraid of losing money with it. I don't wanna develop any fancy large scale application, I want to join just to learn Azure and do my experiments, what should I be afraid of?
In the transference, it says: "Data Transfers (per region)", what does that mean?
Can I put limits to stop the app if it goes over this plan in order to avoid get charged?
Can it be "pre pay" instead "bill pay"?
Would it be enough for a blog?
Any experiencie so far?
Kind regards.
As ligget pointed out, Azure isn't cost affect as a host for an application that can be easily deployed to a traditional shared hosting provider. Azure's target market are those that want dedicated resources without the need to micro-manage the infrasture and the capability to easily scale up/down based on demand.
That said, here's the answers to the questions you posted:
Data Transfers are based on bandwidth in and out of the hosting data center. bandwidth for communication occuring within components (SQL Azure, Windows Azure, Azure Storage, etc...) in the same datacenter are not billable.
Your usage is not currently capped when the free quotas are used up. However, you will recieved warning emails when those items approach their usage threadsholds.
There is the option to pay your subscription using a PO, but the minimum threshold for most of these operations is $500/month. So as a hobbyist, its unlikely you're wanting that route.
The introductory special does not provide enough resources for hosting a 24x7 personal blog. That level includes only 25hrs of compute resources. Each hour a single instance of your application is deployed will count against this, even if the application received no traffic. Think of it like renting office space. You still pay rent on the office even if there are no customers there.
All this said, there's still much to be learned with the introductory special. The azure development tools allows you to work with Windows Azure and Azure storage locally and get a feel for how they work. The introductory special then lets you deploy those solutions so you can see what works and what doesn't (not everything that works locally works hosted).
I would recommend you host your blog somewhere else - it's a waste of resources running it on Azure and you'll find much cheaper options. A recently introduced extra small instance would be a better choice in this case, but AFAIK it is charged separately as of now, e.g. even when you have an MSDN subscription those extra small instance hours do not count towards free Azure hours that come with the subscription.
There is no pre-pay option I know of and it's not possible to stop the app automatically. It'll be running until the deployment is deleted (beware! even if suspended/stopped the deployment will continue to accrue charges). I believe you will be sent a notification shortly before reaching your free hours threshold.
Be aware that when launching more than 1 instance you are charged for every hour of every instance combined. This can happen for example when you have more than one role in your Azure project (1 web role + 1 worker role - a separate instance will be started for each role).
Data trasfer means your entire data trasfer: blobs/Table storage/queues (transfers between your hosted service and storage account inside the same data center are free) + whatever data is transfered in/out of your hosted application, e.g. when somebody visits your pages. When you create storage accounts and hosted services in Azure you will specify a region that will be hosting your account/app - hosting in Asia is slightly more expensive than in Europe/U.S.
Your best bet would be to contact Microsoft with these questions.

Resources