Today we are excited to announce the general availability of static websites on Azure Storage, which is now available in all public cloud regions.
What is a static website?
Get started now
Azure Storage makes hosting of websites easy and cost-efficient. When you enable the static website hosting on your Azure Storage account, a container named ‘$web’ is automatically created for you. You can then upload your static content to this container for hosting. Your content will be available through a web endpoint (i.e., myaccount.z20.web.core.windows.net) and will get a default page and a 404 page of your choice.
You can enable static website hosting using the Azure portal, Azure CLI, or Azure PowerShell. If you prefer a guided experience, follow the tutorial series on hosting your website on Azure Storage and configuring a custom domain with an SSL certificate.
A sample website – your own file browser for Azure Storage
There are many other use cases for static websites with today’s distributed architectures. A common use is building a serverless application in the cloud and creating a front end for it using a static website. Watch our photo gallery demo, “Serverless compute architectures with Azure Blob Storage,” from Ignite 2018, or follow the tutorial, “Build a serverless web app in Azure,” to learn more about building serverless architectures fronted with a static website.
There are no additional charges for enabling static websites on Azure Storage. The pricing for storing and accessing your data will apply and can be viewed on the pricing page. In addition to the storage costs, data egress charges will apply and are described within the Bandwidth Pricing Details.
Additionally, you might want to enable Azure CDN to use a custom domain with an SSL certificate, as well as making use of features like custom rewrite rules. If you do so, Azure CDN charges will apply, and may lower your costs depending on your usage pattern.
Thank you to everyone who participated in the preview of the static website feature. In the upcoming months we plan to make many enhancements to the feature based on your feedback. Continue providing feedback by posting on Azure Feedback.
Source: Azure Blog Feed