Azure Storage == Hosting

Are you looking for a reliable and affordable option to host your static website? Well then, Azure Storage could be an option worth considering.

What is Azure Storage?

The Azure Storage platform is the cloud storage solution provided by Azure; it provides different storage services for diverse needs.

For the sake of this post, we will be focusing on Azure Blobs. Among different purposes, Azure Blobs is designed for serving images or files directly to a browser, distributed file access, video and audio, log files, backup and restore files and analysis data.

Azure Blobs can be accessed via HTTP/HTTPS via different Azure services or client libraries.

What is a Static Website?

Please note that the type of Website that we will be hosting in Azure Storage is a Static Website.
A Static Website is, by definition, a web page that is delivered to the user’s web browser exactly as stored, in contrast to dynamic web pages which are generated by a web server.

However, it is important to understand that a static website do not necessarily means boring, plain HTML sites, it just means that hosted files will be served as they are stored with no processing done on the server side.

This means that we can have a static web application with code that runs on the client’s browser, which executes all king of complex functionalities and getting dynamic data from cloud functions or external APIs. This does not sound completely static, right?

Therefore, you can host any web application which runs on the client with whichever framework or technology you prefer, as long as it does not need server processing; in another words, an application that can work with read-only files on the server.

Host a Static Website with Azure Storage.

With Azure Storage, you can serve static content directly from a storage container named $web.
To enable website hosting on your Azure Storage account you just need to sign into your Azure account, locate your storage account and enable the Static website option.

Once you have enabled the Static website option, the only thing left to do is to upload your static website files. You can do this very easily using the Storage Explorer which is built into the Azure portal.

Apart from the Storage Explorer, you can upload your files using the different methods that Azure provides like AzCopy, PowerShell, CLI or any custom integration.

With the files in place and the Static website option enabled we can go and type the URL provided by Azure for our static website.

That’s all, our static website is alive. Now, you can go and look at my Hello World static website hosted by Azure Storage.

Azure ❤️ Containers

Mustafa Toroman, MVP for Microsoft Azure, shared with us the talk “Azure loves Containers” as part of AP’s Dev Talks Meetup. I enjoyed it a lot so I just felt like sharing.

Enjoy!

Mustafa published several books on cloud technologies. Lately, his focus is on designing new solutions in the cloud and migrating existing ones to the cloud. Mustafa possesses over 40 Microsoft certifications. Also, he has held the MCT title for many years and has been awarded the MVP for Microsoft Azure for the last four years in a row. He often speaks at international conferences about cloud technologies and now it’s time for Dev Talks Meetup where he will cover topic ‘Azure Loves Containers’.

Containers are the latest big thing in the cloud. They are light, fast, and consistent. And they fit very well into DevOps. Azure offers multiple container options to choose from. And each one of them makes deployment of our applications easy. Let’s see how to build your containers and deploy them anywhere.

AZ-900 Microsoft Certified: Azure Fundamentals – How to Pass

So, I have just passed Exam AZ-900: Microsoft Azure Fundamentals

For all of you that are thinking of taking this exam, here is how I passed, just 2 steps:

Step 1: Microsoft Learn: Learning Paths

Microsoft offers Azure Fundamentals Learning Paths for free in Microsoft Learn, I studied this material, part 1 to 5; this is the recommended online training for this exam from Microsoft.

Microsoft Certified: Azure Fundamentals – Learn | Microsoft Docs

Step 2: Microsoft Azure Fundamentals Certification Course (AZ-900) video from freeCodeCamp

I really liked the structure of this video; it allows you to go through a lot of Azure concepts divided in small capsules (2-5 minutes) which give you a good overview of Azure.

And that’s it, that’s the preparation I had before presenting the exam.

However, I must say that I had a little of hands-on experience with Azure myself and even though I don’t have experience with every topic from the exam, it definitely helped. So, if Azure is completely new for you, you should consider adding a few more elements to your exam preparation.

Here are some ideas from a colleague that presented the exam and nailed it!

JuniorLearnsToCode: How to Pass AZ-900 Azure Fundamentals Certification Exam

Good luck!