Skip to main content
𝗚𝗹𝗶𝗺𝗽𝘀𝗲 - 𝗔𝘇𝘂𝗿𝗲 𝗱𝗶𝘀𝗸 𝘂𝘀𝗲 𝗰𝗮𝘀𝗲𝘀

Hi Present days, Container based services/applications are growing than applications running from virtual machines.

Even though container services evolving IT apps landscape, we could not boycott VM usage. Azure VM also requires and plays vital role for some scenarios.

In this post, we are going to see just glimpse of azure disks of VM. This post is not about standard vs premium disk use case FYI.

Azure VM can run with OS disk but it is not good practice.

There are three types of disks.

  1. OS disk
  2. Data disk
  3. Ephemeral disk
We need to know when to use what then only we can avoid performance bottleneck.
𝗗𝗮𝘁𝗮 𝗗𝗶𝘀𝗸 - If we install applications as well in OS disk, we could face performance issue. It is best to use OS disk to have OS infos and booting.
The benefilt of Data disk is
  1. Easy maintanence
  2. Backup and disaster recovery
  3. Performance isolation (as it is far from OS activities) etc.,
𝗘𝗽𝗵𝗲𝗺𝗲𝗿𝗮𝗹 𝗗𝗶𝘀𝗸 - As we have above 2 disks, why and where can we use this disk?
ⓐ It is temporary disk.
ⓑ Good performance with no extra cost.
ⓒ You can create a VM by using ephemeral OS disks free of cost for storage as well as it is stored in local storage not in Azure storage but it suits for stateless workloads. Data can be lost any time.
ⓓ Useful to have page or swap files, tempdb files

𝗘𝗽𝗵𝗲𝗺𝗲𝗿𝗮𝗹 𝗗𝗶𝘀𝗸 𝗡𝗼𝘁𝗲𝘀 ① It is not managed disk.
② It is restricted to use OS and temp disk.
③ It is not being permanent and limited capacity. When VM reboot or other lifecycle event occurs, it can be deleted.

Please add your valuable additional comments, if I missed any. Your comments are welcome.

Comments

Popular posts from this blog

Azure Static Web Apps - Plan Comparison #cloud #azure Hi All! Azure Static web app is a good service when we have static web apps like javacript frameworks and libraries applictions (Ex: Angular, React, Svelte, Vue, Blazor). It also supports Python 3.10 based static web app as well as per the latest azure news. Other advantage of it is coupled with your Azure AD. so that your code can be directly pushed to azure static web app via either Azure DevOps or Github whenever code push occurs. At the time of azure static web app creation, it asks for deployment source as any one of the below. Based on the selection, it allows you to select the organization, project and repositories from the source. Azure DevOps - Azure AD connected Devops organizations will be listed out Github Other - For ex: If you want to deploy code from other organization. Below table will be helpful to choose the best pricing plan for your workload. Plan/Feature Free Standard ...
Glimpse - Azure function migration from .net6 in-process to .net8 isolated Microsoft/Azure periodically announces the end of support for some services and ask us to migrate to a new version/release when they come up with a robust solution than the deprecated. In this post we are going to see a glimpse/UI configuration change of azure function 𝗺𝗶𝗴𝗿𝗮𝘁𝗶𝗼𝗻 𝗳𝗿𝗼𝗺 .𝗻𝗲𝘁𝟲 𝗶𝗻-𝗽𝗿𝗼𝗰𝗲𝘀𝘀 𝗺𝗼𝗱𝗲𝗹 𝘁𝗼 .𝗻𝗲𝘁𝟴 𝗶𝘀𝗼𝗹𝗮𝘁𝗲𝗱. Here, I'm not going to deep dive about the migration whereas going to see the illustration of changing .net version from UI. For learning, GUI is the best place to start. So, as a dev guy we would prefer azure portal mostly. Consider a scenario that, you're requested to migrate your existing .net6 function app to be migrated .net8 isolated, you would go to settings panel and try to change the version in configuration, but the option would be disabled, it was disabled for me initially. Shocking and Afraid! After some point of ...
Azure Devops - How to use classic pipeline variable group in YAML pipeline Hi All! When we need to use a group of variables in a pipeline, we can go for variable group instead of variables. The main usage of variable group is that can be used it across multiple pipelines in the same project. For example, I have a below variable group in my azure Devops. By default variable groups can be used across classic pipelines without any explicit permission granted but that variable group could not be used by YAML pipelines typically. So, How how can I use that variable group in my YAML pipeline? We can achieve it through "Pipeline permissions" option on top of variable group page. In the below image, I grant permission to my dotnet6app YAML pipeline to use variable group We can revoke if we don't need a YAML pipeline should not access variable group as below. Now, I want my all pipelines should use variable group. I don't want manual intervent...