Skip to main content

Posts

Azure Cloud shell - Switching to powershell from bash vice versa without losing session Hi All! Azure portal has a nice feature called Cloud Shell for scripting purposes to manage and administered via command Lines. Cloud Shell has both powershell and bash terminal. when we want to work with linux related, we can use Bash. Azure CLI commands work in both powershell and bash but most of the people prefers Bash. In a screen of azure portal / cloudshell, we can work with only one terminal at a time. For example, if you are already working on powershell and if you change to bash terminal, you will loss the upto the level of completed commands. There is one way to switch terminals without losing your work as below
Set colors in Linux (PuttY) Terminal Hi All! PuttY is one among the mostly used terminal for Linux and it has foreground white and background black by default. By using the below command, we can change the foreground color. I have tried the below in Redhat Linux. you people can try on different distributions as well. Let's meet in next post. 😊
'0' is false and '1' is true typically but it is different in Linux Hi All I'm happy to hear and get a request from one of my regular blog watcher that he asked me to post Linux related stuffs regularly. I'll try my level best. In most of the programming Languages and scripting languages numeric 0 refers false and 1 refers true but in linux it is different slightly / opposite in a scenario. Come Let's see that in following illustration. we're going to use the following test This command/utility is used to test some conditions. Here we're going to use it for checking file exists or not $? It returns the output of last run above command As per the below execution, If file exists output is 0 otherwise 1 (i.e 0=true and 1=false) we learnt a small different thing. will meet in next post.
Should I need access policy on azure keyvault even though I'm owner of keyvault? Hi All In this article, we are going to see how important of having access policy in azure key vault. Azure KeyVaukt is a service offered by azure to have data protection. Instead of storing password, certificates and or other secrets in code behind we can keep them in key vault and access them through key vault securely. Ok. I'm a owner of an azure subscription. you people know well, child level resources inherit access level from parent resource in azure. So, here If I'm owner of a subscription then I'm owner of this key vault what I'm going to create as well. Let's imagine that I created a key vault without access policy on my name. Can I see / create keys and/or secrets and/or certificates? because I'm an owner of this resource. right? Answer is No because keyvault's components (keys, secrets, certificates) do not consider role based access level
Azure conainer's Block sizes comparison among different types of blobs Hi All All of the azure people come across and using storage accounts. Especially blobs. Storage account offers blob, file, table and queues but blob uses by many people. This article is all about the block sizes of those blobs. Azure storage account blob container has 3 types of below blobs Block Mostly useful for text and binary data Page Mostly useful for disks Append Mostly useful for like block blobs but are optimized for append Please look into the below image. Here block sizes are not limited to the uploading size of blobs i.e. If I choose block blob size is 64 KB and uploads 2 MB txt file, upload will not be failed beacause blocks may be splitted into 64 KB chunks and grouped of 2 MB file size together. (i.e 64KB * 32 blocks = 2 MB file size)
Does Microsoft support for Azure access customer data? Hi All Some of us may have a question that whether Microsoft access my (customer) data. Answer is No and Yes. How a single question has 2 answers? Typically MS support team does not access customer data at all but in some senarios MS support team requires access data with customer consent. customer can either approve or reject that request. Here Customer Lockbox for Microsoft Azure comes into picture. It provides an interface for customers to review and approve / reject customer data access requests from the MS engineer / support team. Lockbox also acts as a common unique place to track the status and history of the access request. For more details: https://learn.microsoft.com/en-us/azure/security/fundamentals/customer-lockbox-overview
Azure KQL - project vs project-away As how development and deployment important, monitoring is also an important thing. so that we can ensure everything works as expected and solve some issues before it makes our services / resources become outage. Azure has dedicated service for monitoring called "Monitor" which acts as a Log store. Log Analytics is one of a service which reads logs from azure monitor like-SQL query format which is called here as KQL (Kusto Query Language). This will help us to prepare a chart with required data in monitoring. This article is not going to talk about deep on Log analytics whereas we are going to have a glimpse of selecting columns / result in following 2 ways. project - Have only the required columns in the KQL project-away - Have only the unwanted columns in the KQL This will help us in a scenario like we have 30 columns and we need 20 columns. Instead of specifying 20 required column names, we can specify 10