London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Alexander Haneng
Jul 8, 2014
  7682
(5 votes)

Running EPiServer CMS in Azure

As of version 7.5 you can run EPiServer CMS as an Windows Azure Web Site (WAWS), and there are good reasons to do so: cheap hosting (pay only for what you use), automatic scaling, quick and easy setup, simple to deploy new code and easy to set up (and take down) test environments.

image

The smallest Azure Web Site plan is free. If you have a MSDN subscription you also got a monthly credit that you can use to pay for other Azure services.

What are Azure Web Sites?
The quick answer is that is a cloud based IIS instance where you can deploy your site. You don’t have to think about the OS (or patching, anti-virus, etc.) and Azure ensures that at least one instance is always running no matter what might happen to the OS host or the hardware.

What about the SQL database?
Azure offers an “SQL Server in the cloud” so we simply create and use that for our EPiServer database.


What about the VPP files?
As of version 7.5 of EPiServer CMS files are no longer stored as VPP files, but as Media (IContent). EPiServer provides an AzureBlobProvider that lets us store the Media files in Azure BLOB storage. It sounds complicated, but it is really easy.

What about event broadcasting?
Historically EPiServer has used event messages broadcasted on a network to notify all servers in a cluster to events (e.g. a page having been updated). In 7.5 they have added support for the Azure Service Bus to send event messages to all the servers in a cluster, so we no longer need to configure a private network between the servers.

How do I get my first site running in Azure?

Getting a site up and running is fairly easy since EPiServer has a very good article that will get you started.

You can also read about how I created the “Cloud Clinic” demo site in Azure in this blog post.

Jul 08, 2014

Comments

Please login to comment.
Latest blogs
Understanding the Infrastructure Powering AI Agents for Marketing

The marketing world is increasingly captivated by the potential of AI agents. However, it's crucial to recognize that these agents are not simply...

Patrick Lam | May 15, 2025

Meet the Newest OMVPs – Winter 2025 Cohort

We're excited to officially welcome the latest winter cohort of Optimizely Most Valuable Professionals (OMVPs) - a group of passionate tech...

Satata Satez | May 14, 2025

Helper method to encode query string properly

When using Url.ContentUrl() in Optimizely 12, encodes spaces as + in the query string. If you want to encode the spaces as %20, use the below helpe...

sunylcumar | May 13, 2025

Get ContentReference from GUID

Optimizely CMS 12 provides a Utility function to retrieve Content Reference from a Guid by ussing the below static method. var contentReference =...

sunylcumar | May 13, 2025