Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Application Insights

Started by Sarah L 8 years ago · 9 replies · 813 views
8 years ago

Hi,

Is anyone hosting their Grav installation on Azure and integrated Applications Insights?

Thanks,
Sarah

8 years ago

Hi @techielass, not myself but quite a while ago I tried to get Grav going with Azure and had little luck performance wise - looks like you've had much better success!

I'd love to learn more about the process for getting Grav up-and-running on Azure these days, is there anywhere you would suggest I look first? Also, are you running Grav on a free or paid plan - and if paid what might be the approx. monthly costs?

BTW, do you know if Git can be installed on an Azure account for use with the Git Sync plugin?

Thanks very much, any and all info is greatly appreciated🙂
Paul

8 years ago

I have only small sites of max 10 pages and max 10 regular visitors a day and therefor, the free accounts are tempting. However I never actually tried any PaaS hosting because the pricing 'calculators' overwhelm and confuse me.

You've converted your blog to Grav and run it on Azure successfully, would it be an idea if you write a Grav specific manual for it and add it to the Webservers and Hosting chapter to complement Fortrabbit, Heroku and Cloudways? Shouldn't be that hard for an Azure evangelist... ;-)

Would love to get my hands dirty on Azure if feasable...

last edited 09/21/18 by pamtbaau
8 years ago

There are probably somethings I could do to the code in Grav to make it perform quicker but I am very happy with how it currently performs on Azure, especially against my old WordPress site.

I am using Azure DevOps (formerly Visual Studio Team Services) to store my source files, which is free and private. That is then deployed on an Azure Web App (in East US using a B1 instance). I have the free Cloudflare plan in front to help with Caching and performance. That costs in the region of £40 (UK pounds) a month. Maybe pricey but I like the functionality it gives me.

If I run the S1 plan for about £54 a month I can get automatic auto scale for my website to deal with traffic and I also get access to additional instances where I can run development environments.

You can store your source files in places such as Github, Bitbucket, Azure DevOps, OneDrive, Dropbox, a local Git Repository or an external repository, then when you spin up your Azure Web App you point it to it and whenever you make a commit the web app will automatically find it and deploy it for you.

I used the free and shared plans on Azure when I was developing my site, they were fine for that purpose but performance wasn't what I wanted it to be.

Hope that helps some, happy to answer any more questions you might have. :)

8 years ago

The free tier on Azure does have some limitations but for small sites it has it's uses. I am running my user group's Grav website on a shared Azure tier (https://www.gaug.co.uk), it's a basic site but as you can see not slow. Costs about £7 (UK pounds) a month.

If you have some questions on the Azure pricing calculator happy to help.

I'll definitely have a look at writing something for the official documentation, thanks for the idea! :)

👍 2
8 years ago

Thanks very much @techielassfor sharing all that info! Storing the source files in Git and then auto deployment is an aspect that interests me the most - I use Git Sync for all of my open education projects in Grav (where I also auto-generate a URL to go directly to that page in the Git repo - like on this page https://demo.hibbittsdesign.org/grav-open-matter-course-hub/resources ) to do that type of thing on other Web servers too.

I am always looking for other hosting options of Grav + Git for my fellow tech-savvy educators🙂

👍 1
last edited 09/21/18 by Paul Hibbitts
8 years ago

That's awesome @techielass, thanks so much for contributing that!

8 years ago

Thanks for the link @sailaja, however that blog doesn't cover anything to do with how you would add in the Application Insights code to the Grav code to make them work together.

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 80 9 hours ago
General · by pamtbaau, 14 hours ago
1 51 14 hours ago
General · by Andy Miller, 1 day ago
0 44 1 day ago
General · by Marcel, 12 months ago
6 346 5 days ago
General · by Duc , 5 days ago
3 40 5 days ago