Azure Classroom Series -04/Nov/2021

Blob/Object Versioning

  • You can enable Blob storage versioning to automatically maintain previous version of an object. when the blob versioning is eanble, you can restore an earlier version of a blob to recover your data if it is erroneously modified or deleted.
  • Once we enable versioning from Data Protection -> Turn on Versioning for blobs. The new uploads done to the same blob will maintain versions

Hosting a Static Website

  • From Azure Storage account we can serve the static content (HTML, CSS, Java Script and image files) directly from a container in General-Purpose V2 or Block Blob Storage.
  • Enable Static Website hosting
  • After successfully enabled the static website hosting, we can see the new container $web created
  • I Have create index.html in $web with following content
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<style>
body {
  background-color: green;
  text-align: center;
  color: white;
}
</style>
</head>
<body>

<h1>This is Static Website </h1>

</body>
</html>

  • error.html contents are
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
<style>
body {
  background-color: red;
  text-align: center;
  color: white;
}
</style>
</head>
<body>

<h1>This is Error Page </h1>

</body>
</html>
  • Now try to access primary endpoint for the static website hosting section as shown in the above image
  • Now lets try to add some media

Disk Storage (Page Blobs) and Logs (Append Blobs) using Azure Storage Account

  • Lets try to create one Azure Virtual Machine to view the disks created when we unselect the managed disks option
  • Now lets look at other storage account for diagnostics

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%