<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Rupesh Tiwari</title>
    <description>The latest articles on DEV Community by Rupesh Tiwari (@rupeshtiwari).</description>
    <link>https://dev.to/rupeshtiwari</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F77612%2Fa46718a0-a508-42d5-b94e-8b8b064893b8.png</url>
      <title>DEV Community: Rupesh Tiwari</title>
      <link>https://dev.to/rupeshtiwari</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/rupeshtiwari"/>
    <language>en</language>
    <item>
      <title>Azure Availability Set Vs Availability Zone</title>
      <dc:creator>Rupesh Tiwari</dc:creator>
      <pubDate>Sat, 29 Jan 2022 00:00:00 +0000</pubDate>
      <link>https://dev.to/rupeshtiwari/azure-availability-set-vs-availability-zone-2pin</link>
      <guid>https://dev.to/rupeshtiwari/azure-availability-set-vs-availability-zone-2pin</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Did you know how can you protect your business against software or hardware disaster within Azure data-center? Did you also know how can you protect your services against data-center disasters? Azure guaranty to provide 99.99% SLA while using virtual machines within Availability Set and Zones. Read this article to understand the concept of Availability Set and Availability Zones. When you want to create VMs and manage them in Azure then you must know this concepts.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Availability Set
&lt;/h2&gt;

&lt;p&gt;An availability set is a logical grouping of 2 or more than 2 VMs that help keep your application available during planned or unplanned maintenance. You can not put only 1 VM in Availability Set. You must need 2 or more VMs. There is no cost for the Availability Set itself, you only pay for each VM instance that you create. &lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xWqumKCh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/hnmcfGV.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xWqumKCh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/hnmcfGV.png" alt="" width="880" height="564"&gt;&lt;/a&gt;Running a VM with one or more replicated copies on separate hardware within the same &lt;strong&gt;Availability Set&lt;/strong&gt; , providing resiliency against machine failure. &lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--lwK5esYc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/Xgq1UgZ.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--lwK5esYc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/Xgq1UgZ.png" alt="" width="880" height="284"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; No Infrastructure redundancy required means: If this machine fails then no other machine will serve user request.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Creating 1st VM&lt;/strong&gt; Lets create 1st VM and create new Availability Set.&lt;/p&gt;

&lt;p&gt;Step 1: Create New Virtual Machine&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rdxE40mN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/yqGEUAC.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rdxE40mN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/yqGEUAC.png" alt="" width="292" height="48"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step2: Select your Availability &amp;amp; Update domains. &lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--mE62NyVZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/3u1Qgbl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--mE62NyVZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/3u1Qgbl.png" alt="" width="880" height="328"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Create 2nd VM&lt;/strong&gt; Create 2nd VM in the same Resource Group &amp;amp; same Availability Set. &lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8jgei27v--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/E9TtkWY.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8jgei27v--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/E9TtkWY.png" alt="" width="864" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Both virtual machines under same Availability Set. The first VM is in Fault Domain-0 &amp;amp; Update Domain-0. The 2nd VM is in Fault Domain-1 &amp;amp; Update Domain-1&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How VMs are spread&lt;/strong&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ND8E8g47--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/x1heVqQ.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ND8E8g47--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/x1heVqQ.png" alt="" width="880" height="244"&gt;&lt;/a&gt;Notice our 2 VMs are in 2 different Fault domains and 2 different Update domains. Which gives Hardware fault tolerance.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--T9C8rXdy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/FmgxQu5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--T9C8rXdy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/FmgxQu5.png" alt="" width="880" height="577"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So when Planned update is going on Update Domain 0 all the request to application will be navigated to the Update domain 1 this way you get 99.95% SLA.&lt;/p&gt;

&lt;p&gt;How many update domains are assigned to an availability set?&lt;/p&gt;

&lt;p&gt;Each &lt;strong&gt;availability set&lt;/strong&gt; can be configured with up to three fault &lt;strong&gt;domains&lt;/strong&gt; and twenty &lt;strong&gt;update domains&lt;/strong&gt;. &lt;strong&gt;Update domains&lt;/strong&gt; indicate groups of virtual machines and underlying physical hardware that can be rebooted at the same time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Points to remember&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You need to create virtual machines in the same resource group as the availability set.&lt;/li&gt;
&lt;li&gt;One virtual machine can only be in one availability set.&lt;/li&gt;
&lt;li&gt;You can assign virtual machines to the availability set only during the creation of virtual machines.&lt;/li&gt;
&lt;li&gt;You should create Azure storage account per VM to get the diagnostic logs and Metrics per VM.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is Availability Zones?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2tqV_u9G--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/nUp33NS.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2tqV_u9G--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/nUp33NS.png" alt="" width="880" height="358"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Availability Zones&lt;/strong&gt; also has multiple Fault Domains and Update Domains. So in case Availability Zones, each Availability Zone is consider as a single Fault Domain and Update Domain.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--QVyasEpE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/HcY2l6z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--QVyasEpE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/HcY2l6z.png" alt="" width="880" height="435"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Availability Zone is a unique physical location within an Azure Region. Each Availability Zone has multiple data-centers with independent Power supply, Network switch and Cooling system. All Region has Availability Zone.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gdzjlFaV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/mCvNCTS.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gdzjlFaV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/mCvNCTS.png" alt="" width="880" height="544"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Each Region has minimum 3 Availability Zones. At the Region level you can think of Availability Zone as 3 Fault Domains and 3 Update Domains. &lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6Nylr4Wm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/M9JL273.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6Nylr4Wm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/M9JL273.png" alt="" width="880" height="521"&gt;&lt;/a&gt;Suppose if you keep 3 VMs in 3 different Availability Zones. Then if 1st Availability Zone is down then your 1st VM will be not working. However, your business will not be affected since other 2 Availability Zones are still up and running. Azure will route your client request to next available Availability Zone.&lt;/p&gt;

&lt;h3&gt;
  
  
  Creating VMs in Availability Zone Steps
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Location plays major role for Availability Zone&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--O1pVRMbQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/d0xEETa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--O1pVRMbQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/d0xEETa.png" alt="" width="716" height="460"&gt;&lt;/a&gt;Availability Zones are available on selected region only.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--CmsIDxMq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/yV0V4wv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--CmsIDxMq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/yV0V4wv.png" alt="" width="522" height="158"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Like for South India you don’t get any Availability Zone.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--coOVG1R---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/Afc28fF.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--coOVG1R---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/Afc28fF.png" alt="" width="515" height="216"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But for East USA you get Availability Zone.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FNFvOlw3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/P2QDFHy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FNFvOlw3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/P2QDFHy.png" alt="" width="754" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;While creating 1st Virtual Machine You select Availability zone as 1. When you create 2nd VM then give 2 for availability zone.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--yxunBPUF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/ydfA67F.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--yxunBPUF--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/ydfA67F.png" alt="" width="707" height="400"&gt;&lt;/a&gt;Always click on create new IP in Networking tab.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ByJaxcR_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/eUDNYd2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ByJaxcR_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/eUDNYd2.png" alt="" width="382" height="390"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Make your IP address &lt;strong&gt;Zone-redundant&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_vlmUY4q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/rwkuRg5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_vlmUY4q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/rwkuRg5.png" alt="" width="719" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For creating 2nd VM you must select same resource group, same region and give 2 as Availability Zone.&lt;/p&gt;

&lt;p&gt;Availability Zone gives 99.99% SLA.&lt;/p&gt;

&lt;p&gt;You get more than &amp;gt; 99.99% of SLA in below services:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Azure Container&lt;/li&gt;
&lt;li&gt;Service Fabrics&lt;/li&gt;
&lt;li&gt;Azure Web Apps&lt;/li&gt;
&lt;li&gt;Azure Batch&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Azure Availability SLA
&lt;/h2&gt;

&lt;p&gt;{: .notice–danger} \&lt;/p&gt;

&lt;p&gt;🔔 &lt;strong&gt;IMPORTANT&lt;/strong&gt; : The Availability set requires at least 2 running virtual machine instances to get the actual SLA.&lt;/p&gt;

&lt;p&gt;If I create single VM you get 99.9% up time with premium storage.&lt;/p&gt;

&lt;p&gt;If you create 2 machine with different Availability Set means they are in different Fault Domains then you get 99.95%. This provides resiliency against hardware failure within Data Center.&lt;/p&gt;

&lt;p&gt;If you create 2 machine inside 2 different Availability Zones that is they are across different data centers inside different zones then you will get 99.99% up time. This protects from Data Center failure.&lt;/p&gt;

&lt;p&gt;If you want to protect your Virtual Machines for disaster recovery across the region then place them in across different regions.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Single VM&lt;/th&gt;
&lt;th&gt;Availability Sets&lt;/th&gt;
&lt;th&gt;Availability Zones&lt;/th&gt;
&lt;th&gt;Region Pairs&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;99.9% with Premium Storage only&lt;/td&gt;
&lt;td&gt;99.95% up time( 4:50 down time)&lt;/td&gt;
&lt;td&gt;99.99% up time (0:53 down time)&lt;/td&gt;
&lt;td&gt;-&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Single VM easier for lift and shift scenario&lt;/td&gt;
&lt;td&gt;Protecting against hardware failures, network outages or power interruptions&lt;/td&gt;
&lt;td&gt;Protecting against Data Center Failure&lt;/td&gt;
&lt;td&gt;Protecting against region disaster&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Single VM&lt;/td&gt;
&lt;td&gt;2 or More VMs&lt;/td&gt;
&lt;td&gt;2 or more VMs&lt;/td&gt;
&lt;td&gt;2 or more VMs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--sP5ExB18--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/vKlJkWt.png" alt="" width="46" height="69"&gt;&lt;/td&gt;
&lt;td&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BRdIBkWW--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/YS2YNDx.png" alt="" width="161" height="114"&gt;&lt;/td&gt;
&lt;td&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s---MvjDBBa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/qPsYLLC.png" alt="" width="229" height="173"&gt;&lt;/td&gt;
&lt;td&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BBlbyRu4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/bJlTzJr.png" alt="" width="300" height="166"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;p&gt;&lt;em&gt;Thanks for reading my article till end. I hope you learned something special today. If you enjoyed this article then please share to your friends and if you have suggestions or thoughts to share with me then please write in the comment box.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Become full stack developer 💻
&lt;/h2&gt;

&lt;p&gt;I teach at &lt;a href="https://www.fullstackmaster.net"&gt;Fullstack Master&lt;/a&gt;. If you want to become &lt;strong&gt;Software Developer&lt;/strong&gt; and grow your carrier as new &lt;strong&gt;Software Engineer&lt;/strong&gt; or &lt;strong&gt;Lead Developer/Architect&lt;/strong&gt;. Consider subscribing to our full stack development training programs. You will learn &lt;strong&gt;Angular, RxJS, JavaScript, System Architecture&lt;/strong&gt; and much more with lots of &lt;strong&gt;hands on coding&lt;/strong&gt;. We have All-Access Monthly membership plans and you will get unlimited access to all of our &lt;strong&gt;video&lt;/strong&gt; courses, &lt;strong&gt;slides&lt;/strong&gt; , &lt;strong&gt;download source code&lt;/strong&gt; &amp;amp; &lt;strong&gt;Monthly video calls&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Please subscribe to &lt;strong&gt;&lt;a href="https://www.fullstackmaster.net/pro"&gt;All-Access Membership PRO plan&lt;/a&gt;&lt;/strong&gt; to access &lt;em&gt;current&lt;/em&gt; and &lt;em&gt;future&lt;/em&gt; &lt;strong&gt;angular, node.js&lt;/strong&gt; and related courses.&lt;/li&gt;
&lt;li&gt;Please subscribe to &lt;strong&gt;&lt;a href="https://www.fullstackmaster.net/elite"&gt;All-Access Membership ELITE plan&lt;/a&gt;&lt;/strong&gt; to get everything from PRO plan. Additionally, you will get access to a monthly &lt;strong&gt;live Q&amp;amp;A video call&lt;/strong&gt; with &lt;code&gt;Rupesh&lt;/code&gt; and you can ask &lt;strong&gt;&lt;em&gt;doubts/questions&lt;/em&gt;&lt;/strong&gt; and get more help, tips and tricks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Your bright future is awaiting for you so visit today &lt;a href="//www.fullstackmaster.net"&gt;FullstackMaster&lt;/a&gt; and allow me to help you to board on your dream software company as a new &lt;strong&gt;Software Developer, Architect or Lead Engineer&lt;/strong&gt; role.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💖 Say 👋 to me!&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Rupesh Tiwari&lt;br&gt;&lt;br&gt;
Founder of &lt;a href="https://www.fullstackmaster.net"&gt;Fullstack Master&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Email: &lt;a href="//mailto:rupesh.tiwari.info@gmail.com?subject=Hi"&gt;rupesh.tiwari.info@gmail.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Website: &lt;a href="https://www.rupeshtiwari.com"&gt;RupeshTiwari.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--t8h1zmCX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/5fBatz9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--t8h1zmCX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/5fBatz9.png" alt="" width="443" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>azure</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Azure Update Domain vs Fault Domain</title>
      <dc:creator>Rupesh Tiwari</dc:creator>
      <pubDate>Sat, 22 Jan 2022 00:00:00 +0000</pubDate>
      <link>https://dev.to/rupeshtiwari/azure-update-domain-vs-fault-domain-3hfp</link>
      <guid>https://dev.to/rupeshtiwari/azure-update-domain-vs-fault-domain-3hfp</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Do you know in Azure Data Center you can protect your server against regular server software maintenance outages? You can also protect your VMs on Azure against Network breakdown or power interruptions. Read this article to learn what is Update and Fault Domains in Data-Center and how they protect against software and hardware disasters.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In the Data Center the servers are divided into multiple physical and logical groups. The physical grouping is called Fault Domain and logical grouping is called Update Domain. Each Rack of servers with its own power supply and network switch as one fault domain. If there are 10 Racks in the Data Center means you have 10 different Fault Domains.&lt;/p&gt;

&lt;h2&gt;
  
  
  Update Domain
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9FNwZz23--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/go8fjZ9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9FNwZz23--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/go8fjZ9.png" alt="" width="474" height="493"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;An &lt;strong&gt;update domain&lt;/strong&gt; is a logical group of underlying hardware that can undergo maintenance or be rebooted at the same time. As you create VMs within an availability set, the Azure platform automatically distributes your VMs across these &lt;strong&gt;update domains&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Update domains comprises of groups of VMs and underlying physical hardware that can be &lt;strong&gt;rebooted at the same time&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Update domains are a logical part of each data center and are implemented with software and logic.&lt;/li&gt;
&lt;li&gt;The Update Domains tells us how it is going to be patched when Azure does update to those machines.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--T9C8rXdy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/FmgxQu5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--T9C8rXdy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/FmgxQu5.png" alt="" width="880" height="577"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;With Respect to IaaS Services&lt;/strong&gt; Your VMs on Azure are called as Guest VMs. With IaaS Microsoft will not going to patch Guest VMs. So if you spin up an IaaS VM with Windows on it and you do not turn on automatic updates or any of those upgrade features. Microsoft Azure is not going to patch your Virtual Machine OS at any point. But Azure will be patching the Hyper Visor as planned maintenance work. The Virtual Machine is running through some Hypervisor in the Azure. And that HyperVisor must be patched regularly.&lt;/p&gt;

&lt;p&gt;So if you think your virtual machine will never be updated and never be switched off. And you control your VM you know when it will be down. And you think you don’t need multiple VMs. Then your are in-correct. You do need to have multiple VMs because Microsoft Azure is going to patch that Rack or that Hypervisor and it is going to bring your single VM down (or Azure Fabric will move it to other VM to give SLA) So you need to make sure that you have 2 VMs to get the defined SLA.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;With Respect to PaaS Services&lt;/strong&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--7D-7GZRG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/IhbZ0o1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7D-7GZRG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/IhbZ0o1.png" alt="" width="880" height="501"&gt;&lt;/a&gt;Suppose you spin up an application in the PaaS services. So PaaS does patch the guest operating system (OS). When you bring the CS Package to do update. Then Azure will patch Update Domain 0 first then Update Domain 1 next Update Domain 2. So it will walk the stack to do the updates. That way client does not know and does not get the downtime.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--aYph5Hyq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/WSze6Do.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--aYph5Hyq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/WSze6Do.png" alt="" width="880" height="354"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Suppose you have a Web App running in Azure VM as PaaS, then Microsoft Azure will turn off the VM and when the next request comes from the client then Azure will send that request to other available VM to maintain the SLA.&lt;/p&gt;

&lt;p&gt;You start with 5 update domains and you can take up to &lt;strong&gt;20&lt;/strong&gt; Update Domains. Suppose you had 7 instances, So it will distribute your instances in 5 update domains then once it hit those first 5 update domains. It will layer the other 2 instances.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fault Domain
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--oDst_EyA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/8nolkCg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--oDst_EyA--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/8nolkCg.png" alt="" width="880" height="988"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It is kind of clustering like windows cluster. Its their to protect the physical assets. The Fault Domain primary use case is If the Rack went down, something bad happened in that Rack in Azure. Because, of the hardware broke, something broke in switch or something bad happened in the server of that Rack. This Rack can be repaired. However, Azure Fabric will detect that Rack went down and it will move the workloads to some other Rack as long as you have another virtual machine in another fault domain. On the top across the Racks Azure has VIPs or those virtual IPs across the top of our availability set so that it will continue to let the client write or read the servers. The servers are identical.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6Sn2Euhy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/lSGq9iI.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6Sn2Euhy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/lSGq9iI.png" alt="" width="702" height="129"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can have maximum of &lt;strong&gt;3&lt;/strong&gt; Fault Domains&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It is a IaaS offering from the Azure&lt;/li&gt;
&lt;li&gt;A fault domain is essentially a rack of servers. It provides the physical separation of your workload across different power, cooling, and network hardware that support the physical servers in the data center server racks.&lt;/li&gt;
&lt;li&gt;The group of virtual machines that share common hardware are in the same fault domain.&lt;/li&gt;
&lt;li&gt;Set of hardware component that share the single point of failure.&lt;/li&gt;
&lt;li&gt;For fault tolerance, you need multiple Fault Domain&lt;/li&gt;
&lt;li&gt;fault Domain distributes the loads across the physical Racks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Learn More About &lt;a href="https://docs.microsoft.com/en-us/azure/virtual-machines/availability"&gt;Fault and Update Domains&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Thanks for reading my article till end. I hope you learned something special today. If you enjoyed this article then please share to your friends and if you have suggestions or thoughts to share with me then please write in the comment box.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Become full stack developer 💻
&lt;/h2&gt;

&lt;p&gt;I teach at &lt;a href="https://www.fullstackmaster.net"&gt;Fullstack Master&lt;/a&gt;. If you want to become &lt;strong&gt;Software Developer&lt;/strong&gt; and grow your carrier as new &lt;strong&gt;Software Engineer&lt;/strong&gt; or &lt;strong&gt;Lead Developer/Architect&lt;/strong&gt;. Consider subscribing to our full stack development training programs. You will learn &lt;strong&gt;Angular, RxJS, JavaScript, System Architecture&lt;/strong&gt; and much more with lots of &lt;strong&gt;hands on coding&lt;/strong&gt;. We have All-Access Monthly membership plans and you will get unlimited access to all of our &lt;strong&gt;video&lt;/strong&gt; courses, &lt;strong&gt;slides&lt;/strong&gt; , &lt;strong&gt;download source code&lt;/strong&gt; &amp;amp; &lt;strong&gt;Monthly video calls&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Please subscribe to &lt;strong&gt;&lt;a href="https://www.fullstackmaster.net/pro"&gt;All-Access Membership PRO plan&lt;/a&gt;&lt;/strong&gt; to access &lt;em&gt;current&lt;/em&gt; and &lt;em&gt;future&lt;/em&gt; &lt;strong&gt;angular, node.js&lt;/strong&gt; and related courses.&lt;/li&gt;
&lt;li&gt;Please subscribe to &lt;strong&gt;&lt;a href="https://www.fullstackmaster.net/elite"&gt;All-Access Membership ELITE plan&lt;/a&gt;&lt;/strong&gt; to get everything from PRO plan. Additionally, you will get access to a monthly &lt;strong&gt;live Q&amp;amp;A video call&lt;/strong&gt; with &lt;code&gt;Rupesh&lt;/code&gt; and you can ask &lt;strong&gt;&lt;em&gt;doubts/questions&lt;/em&gt;&lt;/strong&gt; and get more help, tips and tricks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Your bright future is awaiting for you so visit today &lt;a href="//www.fullstackmaster.net"&gt;FullstackMaster&lt;/a&gt; and allow me to help you to board on your dream software company as a new &lt;strong&gt;Software Developer, Architect or Lead Engineer&lt;/strong&gt; role.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💖 Say 👋 to me!&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Rupesh Tiwari&lt;br&gt;&lt;br&gt;
Founder of &lt;a href="https://www.fullstackmaster.net"&gt;Fullstack Master&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Email: &lt;a href="//mailto:rupesh.tiwari.info@gmail.com?subject=Hi"&gt;rupesh.tiwari.info@gmail.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Website: &lt;a href="https://www.rupeshtiwari.com"&gt;RupeshTiwari.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--t8h1zmCX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/5fBatz9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--t8h1zmCX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/5fBatz9.png" alt="" width="443" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>azure</category>
      <category>cloud</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Roadmap for mastering Coding &amp; Competitive Programming interview</title>
      <dc:creator>Rupesh Tiwari</dc:creator>
      <pubDate>Wed, 19 Jan 2022 00:00:00 +0000</pubDate>
      <link>https://dev.to/rupeshtiwari/roadmap-for-mastering-coding-competitive-programming-interview-i01</link>
      <guid>https://dev.to/rupeshtiwari/roadmap-for-mastering-coding-competitive-programming-interview-i01</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Are you non-computer background student? I am a Electronics Engineering student and have been in software company and worked more than 16 years from junior developer to as full stack developer with angular and c# asp.net and various web development technologies. How should I plan to learn competitive programming in order to crack Big 4 (Google, Facebook, Amazon &amp;amp; Microsoft) companies coding-interviews?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Nowadays, even consulting companies like Infosys, TCS etc., are asking some coding problems in their interview. Therefore, if you are not preparing for FAANGM ( facebook, apple, amazon, netflix, google, microsoft) still you must learn how to code and practice coding. Solve easy problems from each Data Structure and sharpen your Logic skills.&lt;/p&gt;

&lt;p&gt;If you are a beginner like me, never start directly solving competitive programming problems. First solve Data Structure and Algorithm problems. &lt;a href="https://rupeshtiwari.com/how-to-start-preparing-for-coding-interview/"&gt;Read this to know what is the difference between Data Structure and Algorithm problems and Competitive Programming problems&lt;/a&gt;. So basically, you have start learning coding from basic.&lt;/p&gt;

&lt;p&gt;Start solving problems in below sequence to practice:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Solve Data Structure and Algorithm problems especially from &lt;a href="https://practice.geeksforgeeks.org/"&gt;GeekOfGeeks site&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Solve Competitive Programming problems especially solve it from Leetcode. Here is the list of &lt;a href="https://docs.google.com/spreadsheets/d/1ZXg8-VkK3UQxYxra7oYJeX1joHKSyz3U0WG7SUjrzy0/edit#gid=196839908"&gt;problems from Leetcode&lt;/a&gt; that you must try solving them.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I myself did very hard work and trying to solve problems given by Love Babbar 450 questions and from many other places.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You can view my solutions in JavaScript &lt;a href="https://codepen.io/rupeshtiwari/collections/"&gt;in this codepen link&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;I also solved couple of problems related to basic &lt;a href="https://github.com/rupeshtiwari/coding-examples-interview-coding-datastructure-algorithm-in-javascript"&gt;data structure and algorithm here&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can always fork &lt;a href="https://codepen.io/rupeshtiwari/collections/"&gt;my codepen&lt;/a&gt; and do the changes. I have added Jasmine Test in my code pen so that you can write function and run your specs.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9OqEmC8G--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/SdGQz8M.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9OqEmC8G--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/SdGQz8M.png" alt="" width="696" height="448"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is one example how you can solve problems all related to binary search and run specs to proove that they all work.&lt;/p&gt;

&lt;p&gt;See the Pen &lt;a href="https://codepen.io/rupeshtiwari/pen/NWjGPxL"&gt;Finding first or last occurrence of a number&lt;/a&gt; by Rupesh Tiwari (&lt;a href="https://codepen.io/rupeshtiwari"&gt;@rupeshtiwari&lt;/a&gt;) on &lt;a href="https://codepen.io"&gt;CodePen&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which Language should I use in a coding interview?
&lt;/h2&gt;

&lt;p&gt;Many companies don’t prefer Python in coding interviews. Because, it has an in-built library for stack or so on. If you are doing Python then learn one more language in backup ( C#, C, C++ or Java ). Python is mostly used in Data Science and Machine Learning since these topics are very complex and you must write less code to solve these big problems. I personally use &lt;strong&gt;JavaScript&lt;/strong&gt; language.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where should I practice for Data Structure and Algorithm problems?
&lt;/h2&gt;

&lt;p&gt;Use geeksforgeeks.com to practice data structure and algorithm problems.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Solve Problems for DataStructure &amp;amp; Algorithms&lt;/li&gt;
&lt;li&gt;Read company interview experiences that will explain you how companies take interview what are their patterns.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Amazon, Meta (FaceBook), Google, Microsoft etc. they ask the questions from the Geek for Geeks sometime. So it is a good idea to solve them. Geeks For Geeks is the best site to start learning coding for any beginners.&lt;/p&gt;

&lt;p&gt;Here is the steps to start coding practice.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Go to &lt;a href="https://practice.geeksforgeeks.org/"&gt;https://practice.geeksforgeeks.org/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Select Data Structure like start from &lt;a href="https://practice.geeksforgeeks.org/explore/?category%5B%5D=Arrays&amp;amp;page=1&amp;amp;category%5B%5D=Arrays"&gt;Array&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Select the difficulty level &lt;a href="https://practice.geeksforgeeks.org/explore/?category%5B%5D=Arrays&amp;amp;difficulty%5B%5D=0&amp;amp;page=1&amp;amp;category%5B%5D=Arrays"&gt;easy&lt;/a&gt; ( if you are beginner I would say try &lt;a href="https://practice.geeksforgeeks.org/explore/?category%5B%5D=Arrays&amp;amp;difficulty%5B%5D=-2&amp;amp;page=1&amp;amp;category%5B%5D=Arrays"&gt;School&lt;/a&gt; and &lt;a href="https://practice.geeksforgeeks.org/explore/?category%5B%5D=Arrays&amp;amp;difficulty%5B%5D=-1&amp;amp;page=1&amp;amp;category%5B%5D=Arrays"&gt;Basic&lt;/a&gt; level first )&lt;/li&gt;
&lt;li&gt;Daily do minimum 2 questions one from &lt;a href="https://practice.geeksforgeeks.org/explore/?category%5B%5D=Arrays&amp;amp;difficulty%5B%5D=0&amp;amp;category%5B%5D=Arrays"&gt;easy&lt;/a&gt; one from &lt;a href="https://practice.geeksforgeeks.org/explore/?category%5B%5D=Arrays&amp;amp;difficulty%5B%5D=1&amp;amp;page=1&amp;amp;category%5B%5D=Arrays"&gt;medium level&lt;/a&gt; difficulty&lt;/li&gt;
&lt;li&gt;For each Data Structure target yourself to solve 50 questions&lt;/li&gt;
&lt;li&gt;Do more than 50 questions for Array and String related problems especially&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In Geek of Geeks you can filter difficulty level and you can also check which problem is asked in which company. Select Array then filter by Basic, Medium or Hard then work on them.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2MSKnUbd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/CFduree.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2MSKnUbd--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/CFduree.png" alt="" width="880" height="629"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If you want to dedicate more time on coding practice and finish early then every day you do &lt;strong&gt;2 easy, 2 medium and 1 hard&lt;/strong&gt; problems for each data structure.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Which Data Structure Problem Should I Focus and solve?
&lt;/h2&gt;

&lt;p&gt;Do 50 questions on below data structures. Do 70 questions on Array and Linked List. First solve the problems which are described in the &lt;a href="https://www.youtube.com/watch?v=t5JfBFfi2sU&amp;amp;list=PLg6p_zdrEgHEqaRQbZADU6suNgh28JiKb&amp;amp;index=1"&gt;data structure in hindi videos&lt;/a&gt;. Then solve others on your own. If you don’t watch videos and try to solve your own in Geek of Geeks you will solve 5 problems. However, if you watch videos and solve them then you should be able to solve 15 problems on your own. Do below Data Structures:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://practice.geeksforgeeks.org/explore/?category%5B%5D=Arrays&amp;amp;page=1&amp;amp;category%5B%5D=Arrays"&gt;Array&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://practice.geeksforgeeks.org/explore/?category%5B%5D=Linked%20List&amp;amp;page=1&amp;amp;category%5B%5D=Linked%20List"&gt;Linked List&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://practice.geeksforgeeks.org/explore/?category%5B%5D=Stack&amp;amp;page=1&amp;amp;category%5B%5D=Stack"&gt;Stack&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://practice.geeksforgeeks.org/explore/?category%5B%5D=Queue&amp;amp;page=1&amp;amp;category%5B%5D=Queue"&gt;Queue&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://practice.geeksforgeeks.org/explore/?category%5B%5D=Tree&amp;amp;page=1&amp;amp;category%5B%5D=Tree"&gt;Tree&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://practice.geeksforgeeks.org/explore/?category%5B%5D=Graph&amp;amp;page=1&amp;amp;category%5B%5D=Graph"&gt;Graph&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I have gone through &lt;a href="https://www.youtube.com/channel/UCnlgufTxMEoeSEubfxOPfMA"&gt;Academic Booster&lt;/a&gt; channels &lt;a href="https://www.youtube.com/watch?v=t5JfBFfi2sU&amp;amp;list=PLg6p_zdrEgHEqaRQbZADU6suNgh28JiKb&amp;amp;index=1"&gt;videos from data structure in hindi videos&lt;/a&gt; and created my own &lt;a href="https://github.com/rupeshtiwari/coding-examples-datastructures"&gt;GitHub repository&lt;/a&gt;. There I added his questions in JavaScript and put his solutions also. This will help you to get started. I have not finished all of his questions. If you are able to finish the playlist and want to contribute to this playlist then please create pull request. I will be happy to integrate.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which Algorithm Problem Should I Do?
&lt;/h2&gt;

&lt;p&gt;Most of the companies ask Dynamic Programming problems, they are very important.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://practice.geeksforgeeks.org/explore/?category%5B%5D=Searching&amp;amp;page=1&amp;amp;category%5B%5D=Searching"&gt;Searching&lt;/a&gt; - do 50 problems&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://practice.geeksforgeeks.org/explore/?category%5B%5D=Sorting&amp;amp;page=1&amp;amp;category%5B%5D=Sorting"&gt;Sorting&lt;/a&gt; - do 50 problems&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://practice.geeksforgeeks.org/explore/?category%5B%5D=Greedy&amp;amp;page=1&amp;amp;category%5B%5D=Greedy"&gt;Greedy&lt;/a&gt; - do 70 problems&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://practice.geeksforgeeks.org/explore/?category%5B%5D=Dynamic%20Programming&amp;amp;page=1&amp;amp;category%5B%5D=Dynamic%20Programming"&gt;Dynamic Programming&lt;/a&gt; - do 70 problems&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you finish Dynamic programming then whatever Data Structure concepts that you have first finished. There you can optimize your solution using Dynamic Programming.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where should I practice Competitive Programming Problems?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://leetcode.com/"&gt;LeetCode.com&lt;/a&gt; is best for practicing for competitive programing.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.codechef.com/"&gt;Codechef.com/&lt;/a&gt; is also good.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Participate in competitive problem competitions like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Long Challenge:  Within 10 days you have to solve problems&lt;/li&gt;
&lt;li&gt;Cook Off&lt;/li&gt;
&lt;li&gt;Lunch Time: Within 2-3 hours solve problems&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Do not attempt solving Hard or Medium Problems when you start
&lt;/h2&gt;

&lt;p&gt;When you are a beginner do not start directly with hard or medium problems otherwise you will be disheartened and you may lose your interest to learn coding. Therefore, I would advise not to waste time solving hard problems or mediums. Rather start with easy problems to build some confidence.&lt;/p&gt;

&lt;h2&gt;
  
  
  I keep forgetting previous solved problems when I do more problems. What to do?
&lt;/h2&gt;

&lt;p&gt;When you will target yourself to  solve 50 Array questions and daily you are solving lets say 5 problems. Then you will encounter an issue that you will start forgetting 1st problem solution, when you are attempting 6th one. This is a normal issue and it happens with every student. So do not dis-hearten. I will give you my solution to what I did.&lt;/p&gt;

&lt;p&gt;There are some rules that I used to follow to keep myself updated with the problems that I was working on. Let me explain that it may or may not work for you but give it a try since it worked for me.&lt;/p&gt;

&lt;h3&gt;
  
  
  Before solving problem
&lt;/h3&gt;

&lt;p&gt;Create one Excel sheet or Google Sheet called &lt;code&gt;“Coding Problems”&lt;/code&gt;. Add columns like Problem Statement, Logic, Algorithm Name, Need more practice, category and difficulty level.&lt;/p&gt;

&lt;h4&gt;
  
  
  Coding Problem Cheat Sheet
&lt;/h4&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Problem Statement&lt;/th&gt;
&lt;th&gt;Logic&lt;/th&gt;
&lt;th&gt;Algorithm Name&lt;/th&gt;
&lt;th&gt;Need more practice?&lt;/th&gt;
&lt;th&gt;Category&lt;/th&gt;
&lt;th&gt;Difficulty Level&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Write  the problem clearly&lt;/td&gt;
&lt;td&gt;Explain the logic in brief&lt;/td&gt;
&lt;td&gt;Greedy&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Array&lt;/td&gt;
&lt;td&gt;Easy&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  During solving problem
&lt;/h3&gt;

&lt;p&gt;Read the question 2-3 times until you kind or memorize or internalize the question. Sometimes, if you write down the question on a paper or white board and read it out loud, that will help you to understand and remember the question. So the point I am making is to understand and remember the question, not the solution.&lt;/p&gt;

&lt;p&gt;While solving problem try to correlate your logic with the question, by reading the question again and again since the question has hints for the solution.&lt;/p&gt;

&lt;h3&gt;
  
  
  After solving a problem
&lt;/h3&gt;

&lt;p&gt;Once you have solved the problem. Open coding problems sheet  enter following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Problem statement: Write down the problem, remember the very important read each word carefully!&lt;/li&gt;
&lt;li&gt;Logic: Write solution logic in brief ( write as much as you need to remind yourself later time)&lt;/li&gt;
&lt;li&gt;Algorithm Name: Write any algorithm names you have used like Greedy, Binary Search etc.&lt;/li&gt;
&lt;li&gt;Need more practice: While reading this sheet you can mark this yes or no based on how much you can remember problem and its logic&lt;/li&gt;
&lt;li&gt;Category: Write  what Data Structure you are working or which Algorithm you are working&lt;/li&gt;
&lt;li&gt;Difficulty Level: Which level you are working on Easy, Medium or Hard&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Again before solving a problem
&lt;/h3&gt;

&lt;p&gt;Next time when you start coding then first open this sheet, hide the logic column and read the problems and try to recollect the logic of the solution. If you are not able to recollect logic then unhide the logic column and read it. Next Mark the column &lt;code&gt;needs more practice&lt;/code&gt; as &lt;code&gt;YES&lt;/code&gt;. Next continue reading the next problems and keep updating the need for more practice columns. Once you finish this sheet then only start solving new problems.&lt;/p&gt;

&lt;p&gt;Once you do this entry then every time you start coding first read this excel and try to re-collect the problem and its logic on how to solve it. Also if you think you can not remember then solve the problem again, change the logic entry in the sheet such that you can recollect when you read it again. Ideally you should re-collect your solution after reading the entry from this sheet till then keep changing the entry of this sheet to make it very much helpful for you to remind you of your solution. This is your diary for your work.&lt;/p&gt;

&lt;p&gt;This is what I used to do to remember the logic of each problem that I solve. You may ask how can I remember 400 questions? So do not worry once you start working on this sheet your brain will be trained such that you will be able to solve many problems without even remembering. However, you have to start doing these notes and read them every time when you start coding practice.&lt;/p&gt;

&lt;h2&gt;
  
  
  Should I solve all Array problems before starting Linked List problems? What is my strategy for coding practice?
&lt;/h2&gt;

&lt;p&gt;This is an interesting and very important question, comes in everyone mind. It depends where you are. If you are a beginner and you have a good amount of time if not working individually then 6 months and if you are working professional then you have 1 year time or so then you should do each problem from each Data Structure. I personally prefer working with all Data Structures at the same time rather finishing one Data Structure completely before starting another. Example when you start coding for the first time, do one easy problem from each Data Structure ( Array, Linked List, Stack, Queue, Tree, Graph). Next day you pick 2 easy, 2 medium and 2 hard from each Data Structure. Or you keep doing one easy question from each Data Structure. This way you should combine your Data Structure while practicing.&lt;/p&gt;

&lt;p&gt;If you are an expert and you have already solved many problems and you want to just sharpen your skills with only one targeted Data Structure then pick that one and work on it. However, this one is only for the experts who had already done 50 problems from each Data Structure and they want to sharpen their skill on targeted one.&lt;/p&gt;

&lt;p&gt;If you have any futher question please write in comment box.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reference
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=G5FP9YsBeZ8"&gt;Coding Guide Line &amp;amp; Roadmap&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/playlist?list=PLg6p_zdrEgHEqaRQbZADU6suNgh28JiKb"&gt;Learn DataStructure&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/playlist?list=PLg6p_zdrEgHFwRhX3R8ZcXImGPUI9_lfX"&gt;Learn Database Programming&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Thanks for reading my article till end. I hope you learned something special today. If you enjoyed this article then please share to your friends and if you have suggestions or thoughts to share with me then please write in the comment box.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💖 Say 👋 to me!&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Rupesh Tiwari&lt;br&gt;&lt;br&gt;
Founder of &lt;a href="https://www.fullstackmaster.net"&gt;Fullstack Master&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Email: &lt;a href="//mailto:rupesh.tiwari.info@gmail.com?subject=Hi"&gt;rupesh.tiwari.info@gmail.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Website: &lt;a href="https://www.rupeshtiwari.com"&gt;RupeshTiwari.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--t8h1zmCX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/5fBatz9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--t8h1zmCX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/5fBatz9.png" alt="" width="443" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>coding</category>
      <category>tutorial</category>
      <category>beginners</category>
      <category>interview</category>
    </item>
    <item>
      <title>How to start preparing for coding interview</title>
      <dc:creator>Rupesh Tiwari</dc:creator>
      <pubDate>Mon, 17 Jan 2022 00:00:00 +0000</pubDate>
      <link>https://dev.to/rupeshtiwari/how-to-start-preparing-for-coding-interview-46g9</link>
      <guid>https://dev.to/rupeshtiwari/how-to-start-preparing-for-coding-interview-46g9</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;When I started learning coding for a coding-interview for Facebook, Amazon or Google. I faced problems when I saw programmers were using terminologies like back tracking, dp, 2 pointer concept, etc. I was really upset and could not continue my journey to prepare coding and did give up my learning process. Therefore, I think if  you are also in the same boat then read this article to know how you can start coding and what you should do when you become a competitive programmer.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;There is a subtle difference between software development engineer vs web development engineer. If you are already in the company 3-4 years of experience and coding in angular, react, node.js or any front-end technology then remember you are just a web development side.&lt;/p&gt;

&lt;p&gt;Most of the Big 4 FAANGM (Facebook, Amazon, Apple, Netflix, Google, Microsoft) companies look for Software Development Engineers and there they will ask you first Data Structure and Algorithms related competitive questions. They may  not ask you about angular reactions. So therefore, if you want to go for any product-based company like ( paypal, uber, linkedin, and FAANGM ) etc. You have to be an expert on competitive programming questions.&lt;/p&gt;

&lt;p&gt;You need to practice 2 things below in order to crack your next coding interview that is for sure.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Data Structure &amp;amp; Algorithms (DS &amp;amp; ALGO)&lt;/li&gt;
&lt;li&gt;Competitive Programming ( CP )&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You must start learning coding from Data Structure and Algorithms and then solve competitive problems.&lt;/p&gt;

&lt;h2&gt;
  
  
  Do Not start form Competitive Programming (CP)
&lt;/h2&gt;

&lt;p&gt;If you go directly to Competitive Programming (CP) you may be able to solve a couple of problems. You may find it difficult to solve further problems and will be disheartened and come back. Finally, you will drop the plan to learn coding and back out. So Do not start from CP.&lt;/p&gt;

&lt;p&gt;Example: like in 5th grade students get word problems. Which finally boils down to do either sum, subtract or multiply. If you give the same word problems to 3rd grade students they can’t solve it. However, they can solve addition, subtraction and multiplication If you give them directly.&lt;/p&gt;

&lt;p&gt;Lets learn what is the basic difference between Data Structure &amp;amp; Algorithms VS Competitive problems.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Data Structure &amp;amp; Algorithms Programming?
&lt;/h2&gt;

&lt;p&gt;Data Structure (DS) is something where you learn the basics of programming and structuring your data in the correct fashion. Data structures are like ( Array, String, Hash Table, Linked List, Tree, Graph etc. ). Normally, in IIT Gate interview or in computer science semester questions are pure data structure and algorithm (DS &amp;amp; ALGO) questions like reverse link list, write quick sort algo, tree navigations, find loop in Linked List etc. So in Big 4 or product development companies they do not ask direct DS &amp;amp; ALGO questions they rather create some fancy questions which combines many DS, Algorithms and best-practices that will enforce you to think deep and identify the solution.&lt;/p&gt;

&lt;p&gt;So therefore, DS &amp;amp; ALGO is foundation and first thing to start for your coding interview practice.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Competitive Programming?
&lt;/h2&gt;

&lt;p&gt;Here you will get a paragraph of 10-15 lines of problems to read. You have to read that problem and think which DS and Algo you need to apply to solve the given problem.&lt;/p&gt;

&lt;p&gt;Normally, In that problem statement, it asks you to solve the same DS Algo questions that you might have done earlier. However, you need to identify which one you need to apply to solve the given problem.&lt;/p&gt;

&lt;p&gt;In Competitive Programming you may be applying below knowledges&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;DS &amp;amp; Algo Concepts&lt;/li&gt;
&lt;li&gt;Mathematics Concepts&lt;/li&gt;
&lt;li&gt;Bit Mask Concepts&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This is the major difference between competitive programming and DS Algo. Therefore, you must always start your learning from Data Structure Programming then you should jump to Competitive Programming.&lt;/p&gt;

&lt;p&gt;Competitive programming wants optimization from you.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Experience with Facebook coding interview
&lt;/h2&gt;

&lt;p&gt;In my Facebook coding interview, I have been asked to create an Iterator class which will have 2 methods one hasAny another method next.&lt;/p&gt;

&lt;p&gt;Basically, if you read this question you just need to apply the find next in-order successor algorithm of Binary Tree data structure.&lt;/p&gt;

&lt;p&gt;So data structure algorithm (DS ALGO) basic questions are wrapped in a fancy style and being asked to you in competitive programming. Therefore, you must be strong in DS &amp;amp; ALGO.&lt;/p&gt;

&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;I used to ask my-self question why should I read a book on algorithms and data structure? So the answer is you must read them if you enjoy reading books. Or watch videos if you prefer video lectures to learn DS and ALGO. Therefore, the underline statement is you must learn and solve data structure &amp;amp; algorithm problems and then solve competitive programming problems to become a competitive programmer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Reference
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="%5Bhttps://www.youtube.com/watch?v=G5FP9YsBeZ8%5D(https://www.youtube.com/watch?v=G5FP9YsBeZ8)"&gt;Coding Guideline&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="%5Bhttps://www.youtube.com/playlist?list=PLg6p_zdrEgHEqaRQbZADU6suNgh28JiKb%5D(https://www.youtube.com/playlist?list=PLg6p_zdrEgHEqaRQbZADU6suNgh28JiKb)"&gt;Learn Data Structure&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="%5Bhttps://www.youtube.com/playlist?list=PLg6p_zdrEgHFwRhX3R8ZcXImGPUI9_lfX%5D(https://www.youtube.com/playlist?list=PLg6p_zdrEgHFwRhX3R8ZcXImGPUI9_lfX)"&gt;Learn Database Management&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.youtube.com/playlist?list=PLg6p_zdrEgHFhAz_-sAx9Rw44wbGcDz3l"&gt;Learn Compiler&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Thanks for reading my article till end. I hope you learned something special today. If you enjoyed this article then please share to your friends and if you have suggestions or thoughts to share with me then please write in the comment box.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💖 Say 👋 to me!&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Rupesh Tiwari&lt;br&gt;&lt;br&gt;
Founder of &lt;a href="https://www.fullstackmaster.net"&gt;Fullstack Master&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Email: &lt;a href="//mailto:rupesh.tiwari.info@gmail.com?subject=Hi"&gt;rupesh.tiwari.info@gmail.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Website: &lt;a href="https://www.rupeshtiwari.com"&gt;RupeshTiwari.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--t8h1zmCX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/5fBatz9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--t8h1zmCX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/5fBatz9.png" alt="" width="443" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>tutorial</category>
      <category>beginners</category>
      <category>interview</category>
    </item>
    <item>
      <title>Introduction of Azure Data Center</title>
      <dc:creator>Rupesh Tiwari</dc:creator>
      <pubDate>Sat, 15 Jan 2022 00:00:00 +0000</pubDate>
      <link>https://dev.to/rupeshtiwari/introduction-of-azure-data-center-1kkp</link>
      <guid>https://dev.to/rupeshtiwari/introduction-of-azure-data-center-1kkp</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Did you know how your servers are placed in Azure Data-Center? Do you understand how Azure Data Center protects your servers against software or hardware disasters? Read this article to understand Azure Data Center in-depth.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  What is Azure Data Center?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZUZhXwWz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/VLOm3Gl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZUZhXwWz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/VLOm3Gl.png" alt="" width="880" height="504"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Azure Data Center has &lt;strong&gt;Servers&lt;/strong&gt; , Networks Switch, Power Supply &amp;amp; Hardware’s. Servers are placed on a &lt;strong&gt;Server Rack&lt;/strong&gt;. Each Server Rack with it’s own Power Supply and Network Switch is called as &lt;strong&gt;Fault Domain&lt;/strong&gt;. Each Server Rack has multiple Update Domains. Data-center normally comprises of lots of Fault Domains.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9xsbmHfN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/m79b5dF.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9xsbmHfN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/m79b5dF.png" alt="" width="880" height="355"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the Data Center the servers are divided into multiple physical and logical groups. The physical grouping is called Fault Domain and logical grouping is called Update Domain. Each Rack of servers with its own power supply and network switch as one fault domain. If there are 10 Racks in the Data Center means you have 10 different Fault Domains.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Planned Maintenance?
&lt;/h2&gt;

&lt;p&gt;A planned maintenance event is when the underlying Azure fabric that hosts VMs is updated by Microsoft.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Security Patch, Performance patch, add and update features are called as planed maintenance.&lt;/li&gt;
&lt;li&gt;After planned maintenance you must reboot your VMs.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is Unplanned Maintenance?
&lt;/h2&gt;

&lt;p&gt;Unplanned maintenance events involve a hardware failure in the data center, such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;power outage&lt;/li&gt;
&lt;li&gt;disk failure&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why do we separate servers in different Racks?
&lt;/h2&gt;

&lt;p&gt;In order to provide single point of failures like you spread your money in different banks and mutual funds 😃. &lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--897wfcxe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/UOB76UE.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--897wfcxe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/UOB76UE.png" alt="" width="880" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Example lets say you have 100 servers in data center and they are all connected by single power supply and network switch.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--te5tjmS0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/DTQaHad.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--te5tjmS0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/DTQaHad.png" alt="" width="880" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What if the single power supply or network will fail it will bring down to all of the servers in the data-center.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--vUIZRIcN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/vmfzt7W.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vUIZRIcN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/vmfzt7W.png" alt="" width="880" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Therefore, in a data-center we spread the servers in the different Racks with their own Power and Network Switch called as Fault Domain.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Xv0EkAjQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/RPs6DUa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Xv0EkAjQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/RPs6DUa.png" alt="" width="880" height="445"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So if one Rack with 10 servers are affected then rest of the other Racks means remaining 90 servers are still up and running.&lt;/p&gt;

&lt;p&gt;By grouping servers in multiple Racks or Fault domains we are eliminating single point of failure.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why group servers in Update Domains?
&lt;/h2&gt;

&lt;p&gt;Similar to Fault Domain your servers will be also grouped logically to an Update Domain. Very often planned maintenance requires server patches and software updates need to be applied on the Azure Hypervisor which is actually hosting your VMs. So your VM on that Azure Hypervisor can go down while patch is being applied. And we don’t all the servers to be rebooted at the same time. Therefore, all the servers within same update domain gets rebooted at one time and they take 30 minutes time to recover back. Meanwhile the machines which are in different update domain can serve the client requests. Therefore, update domain is a group of servers that can be updated and rebooted at the same time.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Availability Set in Data-Center?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--o-hu5V8i--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/DvS3Egk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--o-hu5V8i--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/DvS3Egk.png" alt="" width="880" height="487"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Availability Set is a concept within a data-center. The servers in a data center are divided into multiple physical groups called Fault Domains and logical groups called Update Domains.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--z46qJTrj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/WbB1nfl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--z46qJTrj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/WbB1nfl.png" alt="" width="880" height="459"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Availability Set&lt;/strong&gt; in data-center is made up of multiple Fault Domains and Update Domains.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--utuq6fIc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/6LXoZsL.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--utuq6fIc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/6LXoZsL.png" alt="" width="747" height="467"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When you create an Availability Set you can decide how many Fault Domains and Update domains you want. A group of servers physically grouped are called Fault Domain and a logical group of server is called as Update Domain.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Availability Zones?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--2tqV_u9G--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/nUp33NS.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2tqV_u9G--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/nUp33NS.png" alt="" width="880" height="358"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Availability Zones&lt;/strong&gt; also has multiple Fault Domains and Update Domains. So in case Availability Zones, each Availability Zone is consider as a single Fault Domain and Update Domain.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--QVyasEpE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/HcY2l6z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--QVyasEpE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/HcY2l6z.png" alt="" width="880" height="435"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Availability Zone is a unique physical location within an Azure Region. Each Availability Zone has multiple data-centers with independent Power supply, Network switch and Cooling system. All Region has Availability Zone.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gdzjlFaV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/mCvNCTS.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gdzjlFaV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/mCvNCTS.png" alt="" width="880" height="544"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Each Region has minimum 3 Availability Zones. At the Region level you can think of Availability Zone as 3 Fault Domains and 3 Update Domains. &lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6Nylr4Wm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/M9JL273.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6Nylr4Wm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/M9JL273.png" alt="" width="880" height="521"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Suppose if you keep 3 VMs in 3 different Availability Zones. Then if 1st Availability Zone is down then your 1st VM will be not working. However, your business will not be affected since other 2 Availability Zones are still up and running. Azure will route your client request to next available Availability Zone.&lt;/p&gt;

&lt;h2&gt;
  
  
  Azure Availability SLA
&lt;/h2&gt;

&lt;p&gt;With Availability Zone Microsoft offers industries best SLA 99.99% up time.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Single VM&lt;/th&gt;
&lt;th&gt;Availability Sets&lt;/th&gt;
&lt;th&gt;Availability Zones&lt;/th&gt;
&lt;th&gt;Region Pairs&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;99.9% with Premium Storage only&lt;/td&gt;
&lt;td&gt;99.95% up time( 4:50 down time)&lt;/td&gt;
&lt;td&gt;99.99% up time (0:53 down time)&lt;/td&gt;
&lt;td&gt;-&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Single VM easier for lift and shift scenario&lt;/td&gt;
&lt;td&gt;Protecting against hardware failures, network outages or power interruptions&lt;/td&gt;
&lt;td&gt;Protecting against Data Center Failure&lt;/td&gt;
&lt;td&gt;Protecting against region disaster&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Single VM&lt;/td&gt;
&lt;td&gt;2 or More VMs&lt;/td&gt;
&lt;td&gt;2 or more VMs&lt;/td&gt;
&lt;td&gt;2 or more VMs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--sP5ExB18--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/vKlJkWt.png" alt="" width="46" height="69"&gt;&lt;/td&gt;
&lt;td&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BRdIBkWW--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/YS2YNDx.png" alt="" width="161" height="114"&gt;&lt;/td&gt;
&lt;td&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s---MvjDBBa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/qPsYLLC.png" alt="" width="229" height="173"&gt;&lt;/td&gt;
&lt;td&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BBlbyRu4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/bJlTzJr.png" alt="" width="300" height="166"&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Reference
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/watch?v=On3cjV4VaKU"&gt;https://www.youtube.com/watch?v=On3cjV4VaKU&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Thanks for reading my article till end. I hope you learned something special today. If you enjoyed this article then please share to your friends and if you have suggestions or thoughts to share with me then please write in the comment box.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Become full stack developer 💻
&lt;/h2&gt;

&lt;p&gt;I teach at &lt;a href="https://www.fullstackmaster.net"&gt;Fullstack Master&lt;/a&gt;. If you want to become &lt;strong&gt;Software Developer&lt;/strong&gt; and grow your carrier as new &lt;strong&gt;Software Engineer&lt;/strong&gt; or &lt;strong&gt;Lead Developer/Architect&lt;/strong&gt;. Consider subscribing to our full stack development training programs. You will learn &lt;strong&gt;Angular, RxJS, JavaScript, System Architecture&lt;/strong&gt; and much more with lots of &lt;strong&gt;hands on coding&lt;/strong&gt;. We have All-Access Monthly membership plans and you will get unlimited access to all of our &lt;strong&gt;video&lt;/strong&gt; courses, &lt;strong&gt;slides&lt;/strong&gt; , &lt;strong&gt;download source code&lt;/strong&gt; &amp;amp; &lt;strong&gt;Monthly video calls&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Please subscribe to &lt;strong&gt;&lt;a href="https://www.fullstackmaster.net/pro"&gt;All-Access Membership PRO plan&lt;/a&gt;&lt;/strong&gt; to access &lt;em&gt;current&lt;/em&gt; and &lt;em&gt;future&lt;/em&gt; &lt;strong&gt;angular, node.js&lt;/strong&gt; and related courses.&lt;/li&gt;
&lt;li&gt;Please subscribe to &lt;strong&gt;&lt;a href="https://www.fullstackmaster.net/elite"&gt;All-Access Membership ELITE plan&lt;/a&gt;&lt;/strong&gt; to get everything from PRO plan. Additionally, you will get access to a monthly &lt;strong&gt;live Q&amp;amp;A video call&lt;/strong&gt; with &lt;code&gt;Rupesh&lt;/code&gt; and you can ask &lt;strong&gt;&lt;em&gt;doubts/questions&lt;/em&gt;&lt;/strong&gt; and get more help, tips and tricks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Your bright future is awaiting for you so visit today &lt;a href="//www.fullstackmaster.net"&gt;FullstackMaster&lt;/a&gt; and allow me to help you to board on your dream software company as a new &lt;strong&gt;Software Developer, Architect or Lead Engineer&lt;/strong&gt; role.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💖 Say 👋 to me!&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Rupesh Tiwari&lt;br&gt;&lt;br&gt;
Founder of &lt;a href="https://www.fullstackmaster.net"&gt;Fullstack Master&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Email: &lt;a href="//mailto:rupesh.tiwari.info@gmail.com?subject=Hi"&gt;rupesh.tiwari.info@gmail.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Website: &lt;a href="https://www.rupeshtiwari.com"&gt;RupeshTiwari.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--t8h1zmCX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/5fBatz9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--t8h1zmCX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/5fBatz9.png" alt="" width="443" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>azure</category>
      <category>cloud</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Cloud Solution Architect Soft Skills Questions</title>
      <dc:creator>Rupesh Tiwari</dc:creator>
      <pubDate>Fri, 14 Jan 2022 00:00:00 +0000</pubDate>
      <link>https://dev.to/rupeshtiwari/cloud-solution-architect-soft-skills-questions-86n</link>
      <guid>https://dev.to/rupeshtiwari/cloud-solution-architect-soft-skills-questions-86n</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Are you preparing for cloud solution architect interview then you must aware of soft skill questions. In this article I will give you questions that you must prepare for your next up coming interview.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This is part 2 of my cloud solution architect interview questions series. Read the part 1 where you will get the basic &lt;a href="https://rupeshtiwari.com/cloud-solution-architect-technical-interview-questions/"&gt;technical questions most frequently asked in cloud solution architect interview&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tell me about yourself?
&lt;/h2&gt;

&lt;p&gt;Firstly Thank you for the opportunity to be an interviewee in AWS sr. A cloud solution architect role is a privilege. Hi everyone, My name is Rupesh Tiwari, I have been working in IT for the last 15 years. I have started my career as a junior software engineer. I am currently working as Sr. Software Architect.&lt;/p&gt;

&lt;p&gt;You can also describe your previous domain that you worked on and current company detail.&lt;/p&gt;

&lt;h2&gt;
  
  
  What qualities make you a good fit for the job?
&lt;/h2&gt;

&lt;p&gt;Read your job description and prepare your answer accordingly.&lt;/p&gt;

&lt;p&gt;I like helping customers and solving their business problems with the latest innovative cloud solutions &amp;amp; technical expertise. I have been developing, maintaining, and optimizing cloud platform solutions and services.&lt;/p&gt;

&lt;p&gt;I am providing thought leadership both on technical design and business development. I have been owning the technical engagement of many initiatives and helped customers to arrive at their goal. By earning customer trust, building relationships and I have become a SME for Driver and cloud related developments.&lt;/p&gt;

&lt;p&gt;In my past and current organizations, I have been part of the hiring and training department therefore, I have been sharing my knowledge, coaching our team on cloud architecture and related technologies. Being part of the core team, I have been helping various teams by learning their framework and solving their technical issues by designing and improving their architecture.&lt;/p&gt;

&lt;p&gt;Personally, I have been writing content from the last 10 years on cloud and related technologies, posting cloud and related technology contents on my YouTube channel. In our local community I started a cloud learning community and started speaking on cloud fundamentals and socializing concepts.&lt;/p&gt;

&lt;p&gt;I am highly energetic, enthusiastic and innovative about technologies and I believe I can look at your challenges and help you to solve them and make your team  perform more effectively.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why do you want to join us (your company name) ?
&lt;/h2&gt;

&lt;p&gt;Sit down and close your eyes and think at least 3 points why you want to join this company.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why should I hire you?
&lt;/h2&gt;

&lt;p&gt;It is same as the question that I already asked you earlier.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the personality type of your hiring manager?
&lt;/h2&gt;

&lt;p&gt;Your hirring manager could be of type:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Analytical&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;If your interviewer is asking for specifics, and some numbers and details.&lt;/li&gt;
&lt;li&gt;Show them statistic, fact, details, show correlation on chart&lt;/li&gt;
&lt;li&gt;Highly Logical : use detail, fact, figure&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Intuitive&lt;/strong&gt; : They want to get to the point very fast. Don’t give them detail. You talk about Big Picture of your architecture don’t go details.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Personal&lt;/strong&gt; :  they are good on communication, great listener. You SHARE&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Functional&lt;/strong&gt; : Process-Oriented people. They need process and procedure for everything. They plan everything perfect. They go in details You show them HOW things are done. Be Methodical.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  4 PERSONALITY TYPES
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;ANALYTICAL — FACTS AND FIGURES&lt;/li&gt;
&lt;li&gt;INTUlTlVE - BIG PICTURE&lt;/li&gt;
&lt;li&gt;FUNCTIONAL - PROCESSES&lt;/li&gt;
&lt;li&gt;PERSONAL - EMOTIONAL INTELLIGENCE (EQ)&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What is Shut Down interview technique?
&lt;/h2&gt;

&lt;p&gt;You control the interview is called shut down. Hiring manager wants to see my Your below skills:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Technical competency&lt;/li&gt;
&lt;li&gt;Verbal communication skills&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When he ask you technical question and u know it then answer in real depth. With so much depth so that there is no doubt that you are expert when they see and hear level of expertise and knowledge properly delivered there wont be any more technical questions.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Major contribution u made to your last employer?
&lt;/h2&gt;

&lt;p&gt;Go understand your current project and find which project you contributed a lot both technically as well as design and conversation with your client.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Major Challenge at work and what you did to get pass it?
&lt;/h2&gt;

&lt;p&gt;Go understand your current project and find which project was most challenging and list your challenges.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Sale yourself how to become a best sale representative?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Find your Hiring manager goal&lt;/li&gt;
&lt;li&gt;Find the way to create a solution to solve the customer problem by giving far more benefit with same quality.&lt;/li&gt;
&lt;li&gt;Show them your skills and your values are higher than the cost of their salary.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Hiring manager is looking for below skills:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Technical competency&lt;/li&gt;
&lt;li&gt;Trusty&lt;/li&gt;
&lt;li&gt;Emotional Intelligence&lt;/li&gt;
&lt;li&gt;Communication Skills&lt;/li&gt;
&lt;li&gt;Team player&lt;/li&gt;
&lt;li&gt;Energetic, enthusiastic&lt;/li&gt;
&lt;li&gt;Bring up best in other people.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is building rapport?
&lt;/h2&gt;

&lt;p&gt;By creating Personal and emotional connection between people. If u establish rapport to the hiring manager and make a personal connection then every answer will sound better and everything u don’t know It will be not that matter.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Know how to be solution to their problem. Know about the role each and every details. If  you tell them how u can going to improve their business it is connecting rapport.&lt;/li&gt;
&lt;li&gt;Research the hiring manager&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What does your hiring manager want?
&lt;/h2&gt;

&lt;p&gt;If asked direct question ask the direct answer don’t babble!&lt;/p&gt;

&lt;p&gt;Any technology question is asked then answer below questions while describing answer:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What is this ?&lt;/li&gt;
&lt;li&gt;How this work?&lt;/li&gt;
&lt;li&gt;Why do you use it?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;They are hiring you to solve their problem, they are not hirring you to solve your problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Managers Want?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;They want someone who’s technically competent&lt;/li&gt;
&lt;li&gt;They want someone to help meet or exceed their goals&lt;/li&gt;
&lt;li&gt;They want someone they can trust&lt;/li&gt;
&lt;li&gt;They want someone who works well with people&lt;/li&gt;
&lt;li&gt;They want someone who brings energy&lt;/li&gt;
&lt;li&gt;They want someone with passion&lt;/li&gt;
&lt;li&gt;They want someone who works well in a&lt;/li&gt;
&lt;li&gt;They want someone who goes above and beyond&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Tips for your Interview
&lt;/h2&gt;

&lt;h3&gt;
  
  
  During Interview
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Be early for your interview&lt;/li&gt;
&lt;li&gt;Companies don’t like procrastinators&lt;/li&gt;
&lt;li&gt;Assume it’s an interview as soon as you walk in the door&lt;/li&gt;
&lt;li&gt;Show depth of knowledge when you can&lt;/li&gt;
&lt;li&gt;Highlight what you’re good at&lt;/li&gt;
&lt;li&gt;Be honest about your weaknesses&lt;/li&gt;
&lt;li&gt;Talk about what you’ve done&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Be Honest
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Be upfront with what you know and what you don’t&lt;/li&gt;
&lt;li&gt;Show off your strengths but don’t lie about your weaknesses&lt;/li&gt;
&lt;li&gt;This helps gain trust and respect from the interviewer&lt;/li&gt;
&lt;li&gt;Point the conversation into the direction of your strengths&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Control The Interview
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Show expertise in what you know and go into detail when possible&lt;/li&gt;
&lt;li&gt;This helps when over the employer&lt;/li&gt;
&lt;li&gt;Impress your interviewer upfront&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Know What You Don’t Know
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Don’t put things on your resume that you don’t know&lt;/li&gt;
&lt;li&gt;Be clear about your areas of expertise&lt;/li&gt;
&lt;li&gt;Being a specialist isn’t a bad thing&lt;/li&gt;
&lt;li&gt;Brush up on topics you’re not sure about&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Attitude
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Show that you’re motivated and passionate&lt;/li&gt;
&lt;li&gt;Being enthusiastic is noticeable right away&lt;/li&gt;
&lt;li&gt;Be the person that motivates the team as well&lt;/li&gt;
&lt;li&gt;Energize others&lt;/li&gt;
&lt;li&gt;Be Focused&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Soft skills for solution architect
&lt;/h2&gt;

&lt;p&gt;Read the body language of your hirring team or manager.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;55% what we look like when u say something&lt;/li&gt;
&lt;li&gt;38% sound like when u say something&lt;/li&gt;
&lt;li&gt;7% content of your saying&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Body Language
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;If manager is &lt;strong&gt;Leaning&lt;/strong&gt; that means you should &lt;strong&gt;keep talking&lt;/strong&gt; they are willing to listen you.&lt;/li&gt;
&lt;li&gt;If manager is &lt;strong&gt;Leaning back&lt;/strong&gt; then you must &lt;strong&gt;stop talking&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;If manager is &lt;strong&gt;Crossing arm&lt;/strong&gt; then you must &lt;strong&gt;change what you are saying&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;If manager &lt;strong&gt;Feet’s are pointing towards the door&lt;/strong&gt; then they are ready to finish the interview you should don’t hold them and stop talking immediately.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Additional points to remember during interview:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Don’t say anything negative about your past employer/company&lt;/li&gt;
&lt;li&gt;Not getting to the point!&lt;/li&gt;
&lt;li&gt;Not reading body language&lt;/li&gt;
&lt;li&gt;Listen More than you speak: Listen to the hiring manager if your Hiring manager is babbling, just keep hearing him.&lt;/li&gt;
&lt;li&gt;Make your Strength and weakness ahead of time: Prepare your honest weakness and strength&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  How to Dressed for interview
&lt;/h3&gt;

&lt;p&gt;Make sure you were the business suite, shoes and belts are shining and polished.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9MzZYvpX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/vz9ezD4.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9MzZYvpX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/vz9ezD4.jpg" alt="" width="880" height="1359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Do you have any questions for me?
&lt;/h2&gt;

&lt;p&gt;When hirring manger is asking at the end of interview to ask question. Then your answer could be:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;“What is your goal Mr. Hirring Manager (Your manger name)? Because if I was part of your team I would want to know that I could help you solve your goals.”&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/playlist?list=PL0azhNeBK66KfW04TZBQWkX62hhnFcb9E"&gt;Go Cloud Videos&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Thanks for reading my article till end. I hope you learned something special today. If you enjoyed this article then please share to your friends and if you have suggestions or thoughts to share with me then please write in the comment box.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💖 Say 👋 to me!&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Rupesh Tiwari&lt;br&gt;&lt;br&gt;
Founder of &lt;a href="https://www.fullstackmaster.net"&gt;Fullstack Master&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Email: &lt;a href="//mailto:rupesh.tiwari.info@gmail.com?subject=Hi"&gt;rupesh.tiwari.info@gmail.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Website: &lt;a href="https://www.rupeshtiwari.com"&gt;RupeshTiwari.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--t8h1zmCX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/5fBatz9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--t8h1zmCX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/5fBatz9.png" alt="" width="443" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>tutorial</category>
      <category>beginners</category>
      <category>cloud</category>
    </item>
    <item>
      <title>Cloud Solution Architect Technical Interview Questions</title>
      <dc:creator>Rupesh Tiwari</dc:creator>
      <pubDate>Thu, 13 Jan 2022 00:00:00 +0000</pubDate>
      <link>https://dev.to/rupeshtiwari/cloud-solution-architect-technical-interview-questions-3jdk</link>
      <guid>https://dev.to/rupeshtiwari/cloud-solution-architect-technical-interview-questions-3jdk</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Are you willing to become cloud solution architect? I am going to add a few important technical questions that you must know for your next cloud solution architect interview. My answers would not be perfect so feel free to search for better answers. Important part from this article is what kind of technical questions you should know to become a good cloud solution architect. So focus on the questions that I am asking here and learn from anywhere about their answers.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Most of the time you will be asked various open-ended technical questions. The best strategy to answer them is think of below 4 things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What is technology?&lt;/li&gt;
&lt;li&gt;How does it work?&lt;/li&gt;
&lt;li&gt;Why would you use it?&lt;/li&gt;
&lt;li&gt;How do you architect them?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You must know what a software Architect does?&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Business strategist&lt;/li&gt;
&lt;li&gt;Advisor&lt;/li&gt;
&lt;li&gt;designer&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;They have to speak the languages of CEO, CIO, CFO and Engineers.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Amazon EC2 (Elastic Compute Cloud) in AWS or Virtual Machine in Azure cloud?
&lt;/h2&gt;

&lt;p&gt;It is virtualization of computers on cloud. Amazon EC2 is a virtualized machine where we can install applications and OS. It is an Infrastructure as a Service offering. We virtualize storage, network, CPU etc. using hypervisors.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is caching and how does it work?
&lt;/h2&gt;

&lt;p&gt;Caching is to offload servers by storing high frequently added information in the cache. If the user tries to take information from DB. It goes to cache and it will return. If the cache has no data it will go to the server return and cache it. Next person asks if it will return from the cache. It can improve performance, it can reduce latency. If you set up time to live of data in cache to timeout to keep it refreshing.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is DNS? And what are the key record types?
&lt;/h2&gt;

&lt;p&gt;Domain name System used to map IP addresses to a user friendly name. Phonebook of the internet. You can route traffic Based on geography, latency , weight etc. Key Record Types are as following:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A Record that match name to IPV4 address&lt;/li&gt;
&lt;li&gt;AAAA Record that match name to IPV6 address&lt;/li&gt;
&lt;li&gt;CNAME record where u map one domain to another domain&lt;/li&gt;
&lt;li&gt;MX Record required for email.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What is the MiTM (Man in The Middle) attack?
&lt;/h2&gt;

&lt;p&gt;“A Man-In-The-Middle attack is the type of attack where attackers intrude into an existing connection to intercept the exchanged data and inject false information. It involves eavesdropping on a connection and intercepting messages.” -Toolbox for IT.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--bMGo8tbS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/k2ofMxA.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--bMGo8tbS--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/k2ofMxA.png" alt="" width="530" height="332"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hackers can use Packet sniffing software (WIRESHARK) to intrude the connection. Get the sender and receiver server information. He can get access to the website as Alice or Bob.&lt;/p&gt;

&lt;h2&gt;
  
  
  Data encryption at rest and transit?
&lt;/h2&gt;

&lt;p&gt;At rest encrypt the disk and hence you get data encryption at rest out of the box. At transit use VPN or SSL/TLS (HTTPS = 443) to secure your data by hashing it during transit.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Symmetric and Asymmetric?
&lt;/h2&gt;

&lt;p&gt;Asymmetric: Sender data is encrypted with key1 and the receiver side uses key2 to decrypt the data.&lt;/p&gt;

&lt;p&gt;Symmetric: both sender and receiver use the same key to encrypt and decrypt data.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is NMap?
&lt;/h2&gt;

&lt;p&gt;Used to scan a network, segment or host to find out the open ports. So that you can attack on those ports. Interviewer may ask if there is a linux machine and it has an application that is not working. What will you do. I will answer by saying I will first scan the network by using Nmap or wireshark to find out which ports are closed or opened etc.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is IAM?
&lt;/h2&gt;

&lt;p&gt;Users are defined in IAM and they get assigned with roles and they have access based on the role to the protected resources. Also it does logging of each activity done by the user.  Authentication &amp;amp; Authorization also done by IAM. Who is the user and what he is allowed to do.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Social Engineering?
&lt;/h2&gt;

&lt;p&gt;Social Engineer is someone who is a master of asking seemingly non-invasive&lt;/p&gt;

&lt;p&gt;or unimportant questions to gather information over time&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Gain trust&lt;/li&gt;
&lt;li&gt;Reduce defenses&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Social Engineer use deception to get sensitive info from someone also s/he can combine number of techniques to gather sensitive information.&lt;/p&gt;

&lt;h2&gt;
  
  
  How would you secure enterprise?
&lt;/h2&gt;

&lt;p&gt;Follow Multi layer approach:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Policy&lt;/li&gt;
&lt;li&gt;Look from User , Encryption, IAM and Tech perspective&lt;/li&gt;
&lt;li&gt;Create Firewall protect your network perimeter&lt;/li&gt;
&lt;li&gt;IDS and IPS system behind the firewall&lt;/li&gt;
&lt;li&gt;DDoS ( Aws shield, cloud flare )&lt;/li&gt;
&lt;li&gt;ACLS on the router and subnet&lt;/li&gt;
&lt;li&gt;On the VM you install WAF to protect (XSS, XSRF)&lt;/li&gt;
&lt;li&gt;Physical system secure ( like MAC address stop unused ports )&lt;/li&gt;
&lt;li&gt;Phishing attack secure&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How would you secure the cloud?
&lt;/h2&gt;

&lt;p&gt;Follow Defence in Depth and secure physical to data layer.&lt;/p&gt;

&lt;p&gt;Steps are as below:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Physical security&lt;/li&gt;
&lt;li&gt;IAM (Identity and Access Management)&lt;/li&gt;
&lt;li&gt;DDos, Firewall (Perimeter), IDS/IPS or intelligent thread detection&lt;/li&gt;
&lt;li&gt;NSG (Network Security Group): Network protection&lt;/li&gt;
&lt;li&gt;WAF (Web Application Firewall): Compute, Patches, Malware protection etc.&lt;/li&gt;
&lt;li&gt;Application: design/code review of applications installed&lt;/li&gt;
&lt;li&gt;Data: User azure PaaS services which is by default data at rest.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--zzaw5KpE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/HlQDoeU.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--zzaw5KpE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/HlQDoeU.png" alt="" width="271" height="305"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is DDoS ?
&lt;/h2&gt;

&lt;p&gt;Distributed denial of service (DDOS) is when a server is exhausted by serving large numbers malicious requests and could not serve genuine requests is called DDoS. It loses CIA principle ( Confidentiality , Integrity and Availability ). Now it is not available for genuine users.  Azure DDoS protection , cloud flare , AWS shield can save you.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is IDS or IPS?
&lt;/h2&gt;

&lt;p&gt;IDS (IIntrusion Detection System)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Been around for quite awhile, fairly common and easier to set up. Logs alerts and events for later analysis&lt;/li&gt;
&lt;li&gt;Allows for reactive response / research&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;IPS ( Intrusion Prevention System)&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Newer platform over the last few years&lt;/li&gt;
&lt;li&gt;Enables prevention (such as blocking IP addresses, etc.)&lt;/li&gt;
&lt;li&gt;False positives could block legitimate traffic&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is DHCP?
&lt;/h2&gt;

&lt;p&gt;Dynamic host configuration protocol (DHCP) This is a server that assigns automatically/dynamically IP to connected hosts or servers. Suppose you have 300K systems then you use DHCP. How does it work? Whenever a new system comes up. It sends a broadcast (“Hey I am new in the network I need an address” ) called DHCP discover. All the DHCP servers will respond ( called as DHCP offer ). If there are 10 DHCP servers the client will receive 10 IPs then the client has to send a DHCP request to his favorite or desired DHCP server.  Then the server sends back a DHCP acknowledgement to the client.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a VLAN?
&lt;/h2&gt;

&lt;p&gt;VLAN (virtual local area network) You have 100 computers in one switch and within one subnet. Limit the finance to access the things only they need. Finance, HR, Sales, ITOps team might need access to everything. You can virtualize your switch to chop into multiple virtual logical switches. This way you can enhance security for those logical groups of computers. &lt;a href="https://www.youtube.com/watch?v=R-4K5aHg-iw&amp;amp;list=PL0azhNeBK66KfW04TZBQWkX62hhnFcb9E&amp;amp;index=3&amp;amp;ab_channel=GoCloudArchitects"&gt;Cloud Architect Technical Interview (Master The Cloud Architect Interview Questions!)&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is VLAN Trunking?
&lt;/h2&gt;

&lt;p&gt;4 VLAN in single switch and another 4 in other switch u run a single cable between them to establish connection. That is called VLAN Trunking? How do you do it in a private and secure manner? The trunk has a tag for a VLAN. Each VLAN will get its own IEEE 802.1Q tag.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ml3njhGc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/qbywToj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ml3njhGc--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/qbywToj.png" alt="" width="310" height="344"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In a cloud computing environment. On-premise to Azure cloud when you do direct connection or express route. You send data over VLAN over a Trunk. Azure takes your information and your VLAN Tag and keeps it separate from other customers’ traffic.&lt;/p&gt;

&lt;h2&gt;
  
  
  What’s the difference between a hybrid cloud and a full cloud environment ? And what are the advantages of each?
&lt;/h2&gt;

&lt;p&gt;Hybrid Cloud architecturally speaking you have your datacenter that has servers, compute, storage, networking and security and you also have the cloud. And you have both connected to get the benefits  of your current infrastructure and connect the cloud to get the agility, scaling, and resilience.&lt;/p&gt;

&lt;p&gt;Performance: You get lower latency from your datacenter compared to the cloud. Also you get control in case the cloud is down and you have your datacenter still running.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--DLXDX6Ti--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/OY5bEW8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DLXDX6Ti--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/OY5bEW8.png" alt="" width="728" height="230"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Native Cloud has No maintenance switch, routing, cooling, heating, physical security etc. If you are a new company and you don’t have money for capex then you should use cloud. So you save money and only spend on OPEX. You get more speed and scaling, reliance.&lt;/p&gt;

&lt;h2&gt;
  
  
  How can autoscaling help with DDoS protection?
&lt;/h2&gt;

&lt;p&gt;Hackers control multiple computers and they send requests to your network and overwhelm your systems. If your system can handle 10K web requests and DDoS is giving 30K requests per system. Each of the systems had autoscaling enabled. Then automatically when the system will be over utilized (75% or more) cloud will add a new system and load balance them. So now you spawn up 10 diff systems and now you can handle 50K requests. So the DDoS attack was controlled by auto scaling.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Classful IP Addressing and problems?
&lt;/h2&gt;

&lt;p&gt;Classful IP addressing host counts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Class A - 16 million host identifiers&lt;/li&gt;
&lt;li&gt;Class B - 65535 host identifiers&lt;/li&gt;
&lt;li&gt;Class C - 254   host identifiers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Classful IP addressing IP ranges:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Class A 1.0.0.0-127.255.255.255 with mask 255.0.0.0 or (/8 in CIDR), 16 millions (2^24-2) IPs and 2^7 Networks.&lt;/li&gt;
&lt;li&gt;Class B 128.0.0.0-191.255.255.255 with default subnet mask of 255.255.0.0 (/16 in CIDR) 65K (2^16-2) IPs and 2^14 Networks.&lt;/li&gt;
&lt;li&gt;Class C 192.0.0.0-223.255.255.255 with default subnet mask of 255.255.255.0 (/24in CIDR) 254 (2^8-2) IPS and 2^21 Networks.&lt;/li&gt;
&lt;li&gt;Class D and E are reserved for multicasts. 224.0.0.0 - 239.255.255.255&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The problem would commonly occur when an organization required more than 254 host machines and therefore would no longer fall into class C but rather class B. This means that the organization would use a class B license even though they had far less than 65,535 hosts. Therefore if an organization only required 2,500 hosts, they would be wasting about 63,000 hosts by holding a class B license which would greatly decrease the availability of IPv4 addresses unnecessarily&lt;/p&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://www.keycdn.com/support/what-is-cidr"&gt;https://www.keycdn.com/support/what-is-cidr&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Vcyjx2NQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/YxC6p45.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Vcyjx2NQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/YxC6p45.png" alt="" width="730" height="783"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is CIDR?
&lt;/h2&gt;

&lt;p&gt;Classless Inter-Domain Routing (CIDR) divides the IP address in network ID and host Id. CIDR is also known as supernetting. It is a method of allocating IP address and IP routing. It replaces the old school of classful IP addressing. CIDR is based on &lt;a href="http://searchnetworking.techtarget.com/definition/variable-length-subnet-mask"&gt;variable-length subnet masking&lt;/a&gt; (VLSM). This allows it to define prefixes of arbitrary lengths making it much more efficient than the old system. CIDR IP addresses are composed of two sets of numbers. The network address is written as a prefix, like you would see a normal IP address (e.g. 192.255.255.255). The second part is the suffix which indicates how many bits are in the entire address (e.g. /12). Putting it together, a CIDR IP address would look like the following: 192.255.255.255/12. The network prefix is also specified as part of the IP address. This varies depending upon the number of bits required. Therefore, taking the example above, we can say that the first 12 bits are the network part of the address while the last 20 bits are for host addresses.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is SQS?
&lt;/h2&gt;

&lt;p&gt;Simple Queueing System. Decouple A and B so you can scale both of them independently. It is used to decouple 2 independent components or microservices by giving reliable communication mechanisms.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is autoscaling?
&lt;/h2&gt;

&lt;p&gt;Buy the biggest server to meet your busiest day. On Christmas they get 10M requests. They can buy VMs and put them in an auto scaling group to scale automatically.&lt;/p&gt;

&lt;p&gt;However in the cloud you get an autoscaling group for EC2 instances in AWS and you have Virtual Machine Scale Set in Microsoft Azure cloud.&lt;/p&gt;

&lt;p&gt;There you just need to define:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Desired Capacity : 2&lt;/li&gt;
&lt;li&gt;Minimum Capacity : 2&lt;/li&gt;
&lt;li&gt;Maximum Size: 10 when 75% of both machine is reach&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What is a Load Balancer? Why do you use it?
&lt;/h2&gt;

&lt;p&gt;It is a server or a hardware that will determine which server to send traffic. To share the traffic. What if a single server failed because of load. You don’t have redundancy. For designing High  Performance, High Available web applications, you need a load balancer. Load balancers increase the availability and performance of your system.&lt;/p&gt;

&lt;p&gt;We can divide the load balancer in 2 parts: network and application load balancer.&lt;/p&gt;

&lt;p&gt;Network Load Balancers are really fast because they work at layer -4. They are looking at TCP headers and they are pushing  at your servers. So if you want high performance you need a network load balancer. Cross-Region or global load balancing.&lt;/p&gt;

&lt;p&gt;Application Load Balancers work at layer-7 so it is a web-traffic load balancer so they enable us to manage traffic to your web application. SSL termination, cookie-based session, round robin for load-balancing traffic. If you want application intelligence and routing then use this.&lt;/p&gt;

&lt;p&gt;If you want to route between microservices then use it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--E4xWj2Mg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://lh5.googleusercontent.com/KuonKIAH2IE99BhbpFE2Ry0vj3vhg3TFQ9TTpjm8UJc1WR8fS2BAm4gn1XcW90Dc_Y-VreU5_M2vqkkeAURU3dz76j16WcBiEkZqCRsYffYo6Ca4EA39ORPgGNxV7wmgoqBSV7oy%3Ds0" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--E4xWj2Mg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://lh5.googleusercontent.com/KuonKIAH2IE99BhbpFE2Ry0vj3vhg3TFQ9TTpjm8UJc1WR8fS2BAm4gn1XcW90Dc_Y-VreU5_M2vqkkeAURU3dz76j16WcBiEkZqCRsYffYo6Ca4EA39ORPgGNxV7wmgoqBSV7oy%3Ds0" alt="How load balancing works" width="560" height="364"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is API Gateway and its benefits?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://dashbird.io/blog/can-api-gateway-act-load-balancer/"&gt;https://dashbird.io/blog/can-api-gateway-act-load-balancer/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;API Gateway offers below which ALB does not:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It integrates with IAM&lt;/li&gt;
&lt;li&gt;Authentication &amp;amp; Authorization&lt;/li&gt;
&lt;li&gt;API Tokens issuing and managing&lt;/li&gt;
&lt;li&gt;Throttling&lt;/li&gt;
&lt;li&gt;Caching&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is Firewall?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;It blocks traffic at the edge of your network,&lt;/li&gt;
&lt;li&gt;it keeps your network secure&lt;/li&gt;
&lt;li&gt;It blocks all traffic denied by policies&lt;/li&gt;
&lt;li&gt;It lets your outbound traffic back if it’s coming from you.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A firewall protects the perimeter of the edge of your network. It is a security appliance that’s basically standing guard saying you are not allowed in, you are allowed. It looks at traffic based on policy. By default it will block all the traffic from coming in. It will allow your internal traffic out on the internet and it will allow all your return traffic back through the firewall. Because Firewalls are Stateful therefore. Within perimeter if Mike wants to open google.com. Firewall is Stateful it will say okay Mike started the session, let his return traffic come back because, I know it’s destined for mike and  I know it’s related to the same session where Mike requested google.com.  &lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--S1nTTUFl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/gpGJyXV.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--S1nTTUFl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/gpGJyXV.png" alt="" width="880" height="515"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Hj5xKCCv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/WPD9IiY.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Hj5xKCCv--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/WPD9IiY.png" alt="" width="880" height="515"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How does cloud computing affect an organization’s costs?
&lt;/h2&gt;

&lt;p&gt;Saves capital cost. Costs like Workstation, firewall, load balancer, cooling, networking, power etc.&lt;/p&gt;

&lt;p&gt;Operation cost also like : Electric bill, Network, staff&lt;/p&gt;

&lt;p&gt;Move to the cloud, nothing to buy. You can do lift and shift and save capex. You only pay for what you use. Your Capex goes down and Opex goes up. Agility benefit, u can spawn up vms fastly.&lt;/p&gt;

&lt;h2&gt;
  
  
  What are VPC flow Logs ? NSG flow log In Azure?
&lt;/h2&gt;

&lt;p&gt;In networking we have Cisco NetFlow. It will examine the traffic, they would cross cisco routers and you could say, hm the traffic all going from here to end point B and check for security violation. You can find areas of congestion in your network. Check any issue on network traffic and troubleshoot.&lt;/p&gt;

&lt;p&gt;Vpc flow log gives info about traffic flow. They are excellent for any network troubleshooting especially in security.&lt;/p&gt;

&lt;p&gt;It will tell you below things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Source&lt;/li&gt;
&lt;li&gt;Destination&lt;/li&gt;
&lt;li&gt;Protocols&lt;/li&gt;
&lt;li&gt;Port number&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Something accepted by ACL but rejected by security group. If this traffic was supposed to be a web app hosted in a VM and you want to know why it got rejected by SG. Check the VPC flow logs.&lt;/p&gt;

&lt;h2&gt;
  
  
  What’s needed for a simple lift and shift of a system to the cloud?
&lt;/h2&gt;

&lt;p&gt;Define the configuration of the server like How many cores, RAM and Storage.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the difference between Latency based Routing and Geolocation based routing?
&lt;/h2&gt;

&lt;p&gt;Latency routing is for speed and performance, geo-location routing will also optimize the speed and performance however it will also send traffic to appropriate websites based on their locations.&lt;/p&gt;

&lt;p&gt;Latency based routing determines the lowest latency and sends you to the web server with the lowest latency so you get the best experience&lt;/p&gt;

&lt;p&gt;Latency based routing done by Traffic Manager/Front door&lt;/p&gt;

&lt;p&gt;Geolocation routing looks at the source IP address and determines what is closest to you and sends them to a different destination. Example you can check IP and decide province and route to that website. For Finch province route to the French website. Route the English province to the English website. If you are dealing with a company having Multi Language websites there, use this.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the difference between a region, an availability zone, an edge location and local zone?
&lt;/h2&gt;

&lt;h3&gt;
  
  
  What is Region?
&lt;/h3&gt;

&lt;p&gt;AWS has the concept of a Region, which is a physical location around the world where we cluster data centers. We call each group of logical data centers an Availability Zone. Each AWS Region consists of multiple, isolated, and physically separate AZs within a geographic area.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is Availability Zone?
&lt;/h3&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://aws.amazon.com/about-aws/global-infrastructure/regions_az/"&gt;https://aws.amazon.com/about-aws/global-infrastructure/regions_az/&lt;/a&gt;&amp;gt; An Availability Zone (AZ) is one or more discrete data centers with redundant power, networking, and connectivity in an AWS Region.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is Local Zones?
&lt;/h3&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://aws.amazon.com/about-aws/global-infrastructure/regions_az/"&gt;https://aws.amazon.com/about-aws/global-infrastructure/regions_az/&lt;/a&gt;&amp;gt; &lt;a href="https://aws.amazon.com/about-aws/global-infrastructure/localzones/"&gt;AWS Local Zones&lt;/a&gt; place compute, storage, database, and other select AWS services closer to end-users. This is for critical latency systems like Games.&lt;/p&gt;

&lt;h3&gt;
  
  
  What is Edge Location?
&lt;/h3&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://aws.amazon.com/about-aws/global-infrastructure/regions_az/"&gt;https://aws.amazon.com/about-aws/global-infrastructure/regions_az/&lt;/a&gt;&amp;gt; Edge location is Reliable, low latency and high throughput network connectivity. Amazon CloudFront peers with thousands of Tier 1/2/3 telecom carriers globally, is well connected with all major access networks for optimal performance, and has hundreds of terabits of deployed capacity. CloudFront Edge locations are connected to the AWS Regions through the AWS network backbone - fully redundant, multiple 100GbE parallel fiber that circles the globe and links with tens of thousands of networks for improved origin fetches and dynamic content acceleration.&lt;/p&gt;

&lt;p&gt;To deliver content to end users with lower latency, Amazon CloudFront uses a global network of 225+ Points of Presence (215+ Edge locations and 13 regional mid-tier caches) in 90 cities across 47 countries. Amazon CloudFront Edge locations are located in: North America, Europe, Asia etc.&lt;/p&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://aws.amazon.com/cloudfront/features/?whats-new-cloudfront.sort-by=item.additionalFields.postDateTime&amp;amp;whats-new-cloudfront.sort-order=desc"&gt;https://aws.amazon.com/cloudfront/features/?whats-new-cloudfront.sort-by=item.additionalFields.postDateTime&amp;amp;whats-new-cloudfront.sort-order=desc&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is IAM?
&lt;/h2&gt;

&lt;p&gt;AAA (authentication, authorization and accounting)&lt;/p&gt;

&lt;p&gt;Who is allowed in the system, What they can do and Track what they do.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is an 802.1Q tag?
&lt;/h2&gt;

&lt;p&gt;VLAN is a subnet in the cloud. Take a physical switch and virtualize them here are examples:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Port 10-20 vlan -2&lt;/li&gt;
&lt;li&gt;Port 20-30 vlan -3&lt;/li&gt;
&lt;li&gt;Port 30-40 vlan-4&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Take a single physical connection coming from on-premise to cloud vlan network using 802.1Q tag. With 802.1q tag aws separate your traffic from other customers for direct connection.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is CDN?
&lt;/h2&gt;

&lt;p&gt;Amazon CloudFront is a fast content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to customers globally with low latency, high transfer speeds, all within a developer-friendly environment.&lt;/p&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://aws.amazon.com/cloudfront/"&gt;https://aws.amazon.com/cloudfront/&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Speed up content&lt;/li&gt;
&lt;li&gt;Reduce network bandwidth to aws network&lt;/li&gt;
&lt;li&gt;Closer to user&lt;/li&gt;
&lt;li&gt;Guaranteed performance&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Instead of going to Amazon.com go to dns and data center. It goes to CDN and you are calling from Miami and serving the site from that location. If cdn has not site cached then it can go fastly to the datacenter and fetch the content since cdn is on aws edge location which is connected to the aws backbone network. Reducing load on web server and Transfer cost on AWS or any cloud network for other cloud service providers.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the process to take a web server and make it publicly available on the internet if you are inside of the AWS cloud ?
&lt;/h2&gt;

&lt;p&gt;You will take an external public IP from amazon pool and assign it to EC2 instance. From EC2 now you want the default router to be the internet router. Therefore, you need an internet gateway.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the optimal subnet size for a point-to-point WAN link?
&lt;/h2&gt;

&lt;p&gt;Answer is /30 So I got 4 IP 2 reserved and got 2 free.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;192.168.0.0/30&lt;/li&gt;
&lt;li&gt;192.168.0.1/30&lt;/li&gt;
&lt;li&gt;192.168.0.2/30&lt;/li&gt;
&lt;li&gt;192.168.0.3/30&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;0.0.0.0&lt;/code&gt; reserved for  internet and &lt;code&gt;255.255.255.255&lt;/code&gt;  is for broadcast&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the difference between IOPS and throughput?
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;IOPS&lt;/strong&gt; (input output per seconds) determines how frequently you can read and write to the disc and how  fast. IOPS is related to latency the higher the IOPS, meaning the more read/write operations per second, the lower the latency.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;NVME&lt;/strong&gt; (Non-Volatile Memory Express) is faster than SSD. Both NVME and SSD drives tend to have relatively low latency because the read/write operations are very fast or the IOPS are very fast. Magnetic drives have much higher latency and much lower IOPS. But if you put a bunch of Magnetic drives together in a RAID environment you can still get great THROUGHOUT. IOPS inversely proposal to Latency&lt;/p&gt;

&lt;p&gt;The higher IOPS the lower latency and the latency on the network and vice versa. THROUGHPUT is the amount of stuff and data that can be moved at any one period of time.&lt;/p&gt;

&lt;p&gt;Example: cars run 55 mph then its throughput would be whatever it could stuff in the trunk, or the boot, But if you had a Freight Train with 55 mph then you could carry a lot more  stuff. And the stuff is the THROUGHPUT.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;IOPS = LATENCY
THROUGHPUT = The amount of STUFF

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use case of IOPS and Throughput:&lt;/p&gt;

&lt;p&gt;Video editors need a drive that needs high throughput because they are working with large video files but they can tolerate the latency.&lt;/p&gt;

&lt;p&gt;A database needs extreme speed in terms of read and write operation but it is not moving large amounts of data then it needs higher IOPS.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the difference between ACL and NSG ?
&lt;/h2&gt;

&lt;p&gt;Access Control Lists (ACL) is a Networking concept. It keeps traffic out of the subnet and Network Security Group (NSG) keeps traffic out of the Host. ACL protects the subnet and NSG protects the server. ACLs are stateless meaning it is not tracking the state of the connection. The traffic that is allowed in is not being monitored, so therefore, you don’t know a lot of return traffic. So rules in ACL have to be applied in both directions.&lt;/p&gt;

&lt;p&gt;NSG is just like a firewall, it is stateful so you have to only enable the inbound direction. So if traffic is coming to the host then the return traffic is allowed from the same host back to the source.&lt;/p&gt;

&lt;p&gt;ACL works at layer -3, NSG is stateful They are stateful, meaning that they allow return traffic to flow. In general allow everything in and out and block the specific one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Stateful vs Stateless?
&lt;/h2&gt;

&lt;p&gt;Stateful services keep track of sessions or transactions and react differently to the same inputs based on that history. Stateless services rely on clients to maintain sessions and center around operations that manipulate resources, rather than the state.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;ACL is stateless&lt;/li&gt;
&lt;li&gt;Firewall is stateful&lt;/li&gt;
&lt;li&gt;NSG is stateful both in AWS and Azure&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What is RAID 0, 1, 5 , 10?
&lt;/h2&gt;

&lt;p&gt;Redundant Array of Independent Disks (RAID) is a virtual disk technology that combines multiple physical drives into one unit.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Raid-0&lt;/strong&gt; : Stripping, high speed, no FT, 100% capacity, data can not be recovered&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Raid-1&lt;/strong&gt; : Mirroring , normal speed, FT, 50% capacity, data can be recovered when 1 disk crash, during 1 disk crash performance remains same, minimum 2 disk required. If you have 2 , 10TB drives you get only 1TB of storage.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Raid-5&lt;/strong&gt; : Stripping with Parity, High Throughput and normal IOPS,  normal speed, FT, 1 disk capacity we lose, minimum 3 disk we need, 1 disk for parity bit, if any 1 disk failed data can be recovered, during disk failure performance become more down because it has to calculate the parity bit, capacity wise 1 disk capacity lost and used for parity saving&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Raid-10&lt;/strong&gt; : Stripping and Mirroring together,  logical drive made of raid 0 and raid 1, first we create 2 raid 0 disks (4) then we combine them to a logical drive called raid 1. finally it becomes raid 10. This gives high performance, FT, and capacity is 50% when 2 disks are lost.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Stripping&lt;/strong&gt; means distributing bits in different disk and hence faster write because per disk you write very less  bit and parallely you write so your write and read both are faster. Here you get speed however you don’t get Fault Tolerance one disk fails then entire data is lost.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Mirroring&lt;/strong&gt; means duplicating means while writing you write all bits simultaneously in 2 different disks to keep redundant disk and protect from data loss. Mirroring does not slow down read write since its writing parallely in 2 disks together. However, since you are writing all bits in one disk at a time, it is slower than the Stripping technique. Here you do not get stripping technology disk speed however you get fault tolerance so if one disk failed then you still can recover your data since you had other disk available as redundant. You have to pay more for mirroring since you want to store 1 TB then you need 2TB for redundancy.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the AWS Shared Responsibility Model?
&lt;/h2&gt;

&lt;p&gt;We take care of the cloud. You take care in the cloud.&lt;/p&gt;

&lt;p&gt;AWS can manage below:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Physical network&lt;/li&gt;
&lt;li&gt;Hardware&lt;/li&gt;
&lt;li&gt;Manage server for SERVERLESS&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--cKIa_zFh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/2RQxYa9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--cKIa_zFh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/2RQxYa9.png" alt="" width="880" height="482"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://aws.amazon.com/compliance/shared-responsibility-model/"&gt;https://aws.amazon.com/compliance/shared-responsibility-model/&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you secure VPC?
&lt;/h2&gt;

&lt;p&gt;Follow Defense in Depth model and secure from physical to data layer.&lt;/p&gt;

&lt;h3&gt;
  
  
  Physical
&lt;/h3&gt;

&lt;p&gt;1- MAC are open for multiple unwanted ports then block them&lt;/p&gt;

&lt;h3&gt;
  
  
  Perimeter
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Firewall&lt;/li&gt;
&lt;li&gt;IPS&lt;/li&gt;
&lt;li&gt;IDS&lt;/li&gt;
&lt;li&gt;DDOS&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  IAM
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Single sign On and Identity Providers&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Network
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Monitoring&lt;/li&gt;
&lt;li&gt;Encryption&lt;/li&gt;
&lt;li&gt;Session protection (XSS, XSR, Session Fixation, Session Side Jacking)&lt;/li&gt;
&lt;li&gt;Network segmentation&lt;/li&gt;
&lt;li&gt;Inside VPC to keep unwanted traffic out of the subnet use ACL&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Compute
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;NSG to secure host&lt;/li&gt;
&lt;li&gt;Anti-virus&lt;/li&gt;
&lt;li&gt;Single Sign On&lt;/li&gt;
&lt;li&gt;Managed Identity&lt;/li&gt;
&lt;li&gt;Virtual Patching (this is for legacy apps lift and shift with the bad code: WAS and WAF whenever web application scan finds a threat it creates a automatic rule in the web application firewall )&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Applications
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;SSL/TLS, HTTPS&lt;/li&gt;
&lt;li&gt;Single Sign ON&lt;/li&gt;
&lt;li&gt;Application integrity ( adhering to policies )&lt;/li&gt;
&lt;li&gt;Vulnerability Scans&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  DATA
&lt;/h3&gt;

&lt;p&gt;Server less -&amp;gt; enable the threat detection -&amp;gt; SEIM , enable data encryption at rest and over network .&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Encryption at rest and transit&lt;/li&gt;
&lt;li&gt;Masking&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What are the options for using the cloud for disaster recovery?
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;#&lt;/th&gt;
&lt;th&gt;Plan&lt;/th&gt;
&lt;th&gt;Cost&lt;/th&gt;
&lt;th&gt;Speed&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;Manual Backup and Restore, &lt;strong&gt;Point in time backups into the DR region.&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Cheap($)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;RPO = Hours, RTO = Days&lt;/strong&gt;. Long time to come back to service.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Pilot Light (RPO 1min RTO 1hr)&lt;/strong&gt;. VMs are created on the DR site and turned off. However the database in the DR site is in active mode and you write your data in DR site live. WEB and Business VMs will have applications and configuration will be copied to DR sites however they are turned off.&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$$&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;RPO=Minutes, RTO=Hours&lt;/strong&gt;.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;WARM standby(RPO 1sec, RTO 1Min)&lt;/strong&gt;. Replicate your environment but use very small instances in the DR site but place them in an auto scaling group. When DR workloads are scaled up fully then it is called HOT standby. The more scale up the RTO you get in the DR site.&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$$$&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;RPO = Seconds, RTO = Minutes&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;Multi Region (Multi Site) Active-Active (RPO and RTO are zero)&lt;/strong&gt; Your workload is deployed to, and actively serving traffic from, multiple AWS Regions. This strategy requires you to synchronize data across Regions. Use DNS to route the traffic&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Most Costly&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;RPO=0, RTO=0&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  When VPN and Direct connection?
&lt;/h2&gt;

&lt;p&gt;If you need guaranty consistent  latency  and  guaranty bandwidth use Direct connection since it is connected with direct wire. Costly option. Use the VPN because it is cheaper, works with the internet, and is flexible since everyone has the internet. You can create connections on demand. It was easy to connect to multiple remote sites. The side is you depend on internet bandwidth.&lt;/p&gt;

&lt;h2&gt;
  
  
  You have site where u have 10 remote campuses. The main site is hosted in the cloud. Everyone wants to talk to everyone. How can you set up your topology?
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;#&lt;/th&gt;
&lt;th&gt;Technique&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;th&gt;Speed&lt;/th&gt;
&lt;th&gt;Maintenance&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Full Mesh&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Number of edges will be n x (n-1)/2&lt;/td&gt;
&lt;td&gt;FAST&lt;/td&gt;
&lt;td&gt;High&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;VPN&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Connect on-premise with site2site VPN and connect each on-premise.&lt;/td&gt;
&lt;td&gt;Normal&lt;/td&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Hub &amp;amp; Spoke (Cloud Hub)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Hub and spoke topology on cloud&lt;/td&gt;
&lt;td&gt;Normal&lt;/td&gt;
&lt;td&gt;Low&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Transit Gateway&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Managed service from cloud provider to provide transit connection among virtual networks in cloud.&lt;/td&gt;
&lt;td&gt;FAST&lt;/td&gt;
&lt;td&gt;High&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  What function is achieved with IPSEC?
&lt;/h2&gt;

&lt;p&gt;IPSec provides the ability to authenticate each remote end to prevent man-in-the-middle attacks. And it ensures the integrity of the data because it uses a hashing algorithm to encrypt the payload. IPSec provides Non-Repudiation means Assurance that the sender of information is provided with proof of delivery and the recipient is provided with proof of the sender’s identity, so neither can later deny having processed the information. Also it provides the tunnel for private IP addresses and private traffic and private routing information over public networks.&lt;/p&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://csrc.nist.gov/glossary/term/non_repudiation"&gt;https://csrc.nist.gov/glossary/term/non_repudiation&lt;/a&gt;&amp;gt; It is a replacement of internet protocol. IPsec is a suite of protocols. IP protocol and security protocol. It encrypts the payload and keeps the header un-encrypted. It is used in VPN to  create a tunnel of encryption from on-premise to cloud.&lt;/p&gt;

&lt;h2&gt;
  
  
  How can you scale relational databases?
&lt;/h2&gt;

&lt;p&gt;Ask the question what type of traffic is being used by your database?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It’s a combination of read and write traffic.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you have read traffic more then create read replicas and offload the read work to read replicas. Which will free up resources on the master database. You can further reduce the load on read replicas by adding some caching. In order to reduce write load, so you don’t have peaks and valleys you can use queuing system.&lt;/p&gt;

&lt;h2&gt;
  
  
  ACID vs BASE ?
&lt;/h2&gt;

&lt;p&gt;Relational DB is ACID by nature:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Atomicity&lt;/li&gt;
&lt;li&gt;Consistency&lt;/li&gt;
&lt;li&gt;Isolation&lt;/li&gt;
&lt;li&gt;Durability&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;NoSQL are BASE by nature:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Basic Availability: Application must handle partial failures itself&lt;/li&gt;
&lt;li&gt;Soft State: DB state can change even without inputs&lt;/li&gt;
&lt;li&gt;Eventually Consistency: • DB will “eventually” become consistent&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What is virtualization, how does it work and why will you use it?
&lt;/h2&gt;

&lt;p&gt;Take a bare metal server, add a hypervisor and create a virtual machine on the hypervisor.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wO1Tnozm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/GvUVlj3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wO1Tnozm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/GvUVlj3.png" alt="" width="880" height="592"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Block Storage and Object Storage how they work, what are their advantages?
&lt;/h2&gt;

&lt;p&gt;If you need storage on a VM that does not go away with reboot, you are going to use something like block storage. If you have a static website or you want to distribute software, you are going to use something like object storage. If you are going to create data-lake , use object storage. If you need high performance storage you will use block storage. Object storage is cheap and can store large volumes of data.&lt;/p&gt;

&lt;h3&gt;
  
  
  Object Storage
&lt;/h3&gt;

&lt;p&gt;Object in the object storage is consist of :&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Data&lt;/li&gt;
&lt;li&gt;Unique Id: 128 bit&lt;/li&gt;
&lt;li&gt;Expandable metadata: contextual data&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_aoZO1E6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/uG9uip3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_aoZO1E6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/uG9uip3.png" alt="" width="361" height="199"&gt;&lt;/a&gt; &lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--3w8Jv1wI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/chlbywt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3w8Jv1wI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/chlbywt.png" alt="" width="500" height="276"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Objects can’t be modified—you have to write the object completely at once. Object storage also doesn’t work well with traditional databases, because writing objects is a slow process and writing an app to use an object storage API isn’t as simple as using file storage.&lt;/p&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://www.redhat.com/en/topics/data-storage/file-block-object-storage"&gt;https://www.redhat.com/en/topics/data-storage/file-block-object-storage&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Block Storage
&lt;/h3&gt;

&lt;p&gt;Block storage chops data into blocks—get it?—and stores them as separate pieces. Each block of data is given a unique identifier, which allows a storage system to place the smaller pieces of data wherever is most convenient. That means that some data can be stored in a &lt;a href="https://www.redhat.com/en/topics/linux"&gt;Linux®&lt;/a&gt; environment and some can be stored in a Windows unit. It is usually deployed in storage-area network (SAN) environments and must be tied to a functioning server. Block storage can be expensive. It has limited capability to handle metadata, which means it needs to be dealt with at the application or database level—adding another thing for a developer or systems administrator to worry about. From &amp;lt;&lt;a href="https://www.redhat.com/en/topics/data-storage/file-block-object-storage"&gt;https://www.redhat.com/en/topics/data-storage/file-block-object-storage&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--jObCoePt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/xpB53D7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--jObCoePt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/xpB53D7.png" alt="" width="320" height="242"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What Is NAT and Why would you use it?
&lt;/h2&gt;

&lt;p&gt;Network address translation and its really about translating one IP address to another address.&lt;/p&gt;

&lt;p&gt;Now they could be used to connect private addresses to the internet by translating it into a public address.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.defenseorchestrator.com/Configuration_Guides/Security_Policy_Management/Network_Address_Translation/0030_Enable_a_Server_on_the_Inside_Network_to_Reach_the_Internet_Using_a_Public_IP_address"&gt;Enable a Server on the Inside Network to Reach the Internet Using a Public IP address&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.defenseorchestrator.com/Configuration_Guides/Security_Policy_Management/Network_Address_Translation/0040_Enable_Users_on_the_Inside_Network_to_Access_the_Internet_Using_the_Outside_Interface's_Public_IP_Address"&gt;Enable Users on the Inside Network to Access the Internet Using the Outside Interface’s Public IP Address&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.defenseorchestrator.com/Configuration_Guides/Security_Policy_Management/Network_Address_Translation/0050_Make_a_Server_on_the_Inside_Network_Available_on_a_Specific_Port_of_a_Public_IP_Address"&gt;Make a Server on the Inside Network Available on a Specific Port of a Public IP Address&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.defenseorchestrator.com/Configuration_Guides/Security_Policy_Management/Network_Address_Translation/0060_Translate_a_Range_of_Private_IP_Addresses_to_a_Range_of_Public_IP_Addresses"&gt;Translate a Range of Private IP Addresses to a Range of Public IP Addresses&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://docs.defenseorchestrator.com/Configuration_Guides/Security_Policy_Management/Network_Address_Translation/Common_Use_Cases_for_NAT"&gt;https://docs.defenseorchestrator.com/Configuration_Guides/Security_Policy_Management/Network_Address_Translation/Common_Use_Cases_for_NAT&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Stateful Firewall or AWS NSG?
&lt;/h2&gt;

&lt;p&gt;Stateful means watching the state of the connection, they keep the context of the route and remember which request is initiated from which host. If you dis-allowed outbound to port 80 then automatically inbound flights are prohibited.&lt;/p&gt;

&lt;p&gt;When you initiate a connection it goes through the firewall on the way out to the internet. The firewall looks at your connection and it tracks what you have done. Because when a response comes it will allow you to back in because it knows you initiated the connections.&lt;/p&gt;

&lt;h2&gt;
  
  
  When connecting to AWS when would you use direct or VPN connection?
&lt;/h2&gt;

&lt;p&gt;Direct connection is a wired connection from your on-premise  route to Cloud provider router. You can use either use your ISP or direct Microsoft to connect direct connections. If you want guaranty bandwidth, performance and latency use direct connect.&lt;/p&gt;

&lt;p&gt;VPN is You connect to the internet on both side and then you create a tunnel and you encrypt your data over the internet. So the internet Is not private and that’s why you have to encrypt your data. When you use a VPN it is cheaper because you are not buying a direct connection. You are connecting to the internet. VPN are really simple to setup because you can basically you can create any connection to any place that has internet connectivity, which is wonderful.&lt;/p&gt;

&lt;h3&gt;
  
  
  Advantages of VPN
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Econmical&lt;/li&gt;
&lt;li&gt;Flexible&lt;/li&gt;
&lt;li&gt;Easy to setup&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Disadvantages of VPN
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Internet bandwidth and performance is not guarantied. Your ISP may guarantee you access to them but when you are on their network and off their network and on the internet there are no guarantees.&lt;/li&gt;
&lt;li&gt;Internet is called best effort delivered if you try to reach webpage it does mean its going to get there. It should, it will try but it will not be guarantied.&lt;/li&gt;
&lt;li&gt;So internet speed is high you get good performance if low then you get bad performance.&lt;/li&gt;
&lt;li&gt;Latency is not guaranty in direct connect you get 3 ms to reach.  In VPN message1 can take 2 ms. Message2 takes 100 ms and then message3 takes 5 ms. So message2 can arrive after message3 and that may be a horrible situation. Message2 takes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Ty4px9ZQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/uVEAiQQ.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Ty4px9ZQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/uVEAiQQ.png" alt="" width="815" height="825"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--b36FhJWp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/hFY5zPj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--b36FhJWp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/hFY5zPj.png" alt="" width="880" height="273"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In reality, no physical tunnel exists, of course; the data has to travel through the same wires as any other data passing through the public network. Rather, VPN tunneling employs the concepts known as data encapsulation and encryption to safely carry data traffic through the non-secure environment. Encapsulation insulates the packet of data from other data traveling over the same network, while encryption makes the data “invisible” (unreadable) even to surveillance agents and criminals who recognize it as encrypted information. So it’s like the data is traveling inside a tunnel. Figure 1.0 below might help you visualize the process.&lt;/p&gt;

&lt;p&gt;You can think of VPN tunneling as similar to the process of moving physical cash from one bank location to another using an armored transport van along public highways. The cash in this instance is your data, the public highway is the non-secure public network, and the armored van is analogous to a VPN tunnel (data encapsulation and encryption).&lt;/p&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://www.vpnmentor.com/blog/ultimate-guide-to-vpn-tunneling/"&gt;https://www.vpnmentor.com/blog/ultimate-guide-to-vpn-tunneling/&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is BGP and why is it used?
&lt;/h2&gt;

&lt;p&gt;Border Gateway Protocol (BGP) is layer 4 protocol. It is an exterior gateway protocol and it works with a path vector routing protocol that operates on TCP port 179. When you connect an entity to an external entity, that’s when you use an exterior gateway. That’s why organization use BGP to connect to AWS or GCP as opposed to something like OSPF (Open Shortest Path First,  small routing within campus networks) or EIGRP (enhanced interior gateway routing protocol, used in networks of large commercial companies ) &lt;a href="https://networkjourney.com/difference-between-eigrp-ospf-vs-bgp-routing-protocols/"&gt;https://networkjourney.com/difference-between-eigrp-ospf-vs-bgp-routing-protocols/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;BGP is highly Tunable and highly scalable. For example if an internet routing table has basically 3 quarters of a million routes and BGP can easily handle that, whereas an interior gateway routing protocol could not. That’s why organizations use BGP to connect to external entities like AWS.&lt;/p&gt;

&lt;p&gt;BGP Routing preferences sequence:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Largest weight&lt;/li&gt;
&lt;li&gt;Largest local preference&lt;/li&gt;
&lt;li&gt;Shortest number of autonomous system hops&lt;/li&gt;
&lt;li&gt;Lowest Med (metric)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;In order to select the next hop BGP checks who has the maximum weight that route it will take, next it will prefer maximum local preference, next shortest number of system hops, next lowest metric. This way it optimizes the route selection and data transfer over the internet.&lt;/p&gt;

&lt;h2&gt;
  
  
  You are designing a video streaming software. What should you use TCP or UDP for? Which and why?
&lt;/h2&gt;

&lt;p&gt;It must be UDP. TCP is used for reliable transport. UDP is used for Realtime transport. Why? If I send this “Rupesh like design” via UDP and  I receive “Rupesh Design” I lost like If I send this “Rupesh like design” via TCP and  I receive “Rupesh Design Like” I lost, then TCP will retransmit the Like and you get the data in different order. For video streaming you do not want this behavior. All streaming things must be UDP! Because it is better, faster for these applications. There are no sliding windows. Performance is going to be what it’s going to be and there is no re-transmission on lost data.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is CXO and what does it mean to present differently to a CXO vs an Engineer?
&lt;/h2&gt;

&lt;p&gt;CXO means a C-Level executive:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;COO&lt;/li&gt;
&lt;li&gt;CFO&lt;/li&gt;
&lt;li&gt;CEO&lt;/li&gt;
&lt;li&gt;CIO (chief information officer)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;CXO means a C-level executive. They are extremely busy people. Because they are so busy they have an attention span of a few seconds at max. So you got to get your concept to the executive out to the point.&lt;/p&gt;

&lt;p&gt;And you must talk about things that they care about.&lt;/p&gt;

&lt;p&gt;The CEO is tasked with the organization’s strategy and increasing shareholder value meaning revenue growth or profitability growth.&lt;/p&gt;

&lt;p&gt;The CFO cares about the organization’s finances. They are the gatekeeper for the organization’s money. When you are presenting to the CFO, you better be really good at basically doing some ROI (return on investment) modeling and showing that the value provided by your solution, provides greater  value and savings or profitability to the company than it’s cost. You have to do that.&lt;/p&gt;

&lt;p&gt;The CIO wants to know your technology solution is going to meet the CEO’s goals and needs. So you have to present this and it’s going to work. Now when you are dealing with the Engineers, they might need a lot of technical depth.&lt;/p&gt;

&lt;p&gt;Presenting to the executive should be “SHORT to the POINT and the Solution”&lt;/p&gt;

&lt;p&gt;Presenting to the engineer should be to dive deep and present how it works technically.&lt;/p&gt;

&lt;p&gt;In most companies, the board of directors and the founders are at the top of the corporate hierarchy followed by the C-level executives namely the CEO, COO, CFO, etc. … Usually Vice Presidents (VPs) and Senior Vice Presidents (SVPs) report to C-level executives. &lt;a href="https://resources.workable.com/hr-terms/c-level-executive"&gt;https://resources.workable.com/hr-terms/c-level-executive&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What does organization strategy mean?
&lt;/h2&gt;

&lt;p&gt;An organizational strategy is a plan that specifies how your business will allocate resources (e.g., money, labor, and inventory) to support infrastructure, production, marketing, inventory, and other business activities.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://getsling.com/blog/organizational-strategy"&gt;https://getsling.com/blog/organizational-strategy&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a Shareholder?
&lt;/h2&gt;

&lt;p&gt;A shareholder is a party that legally owns shares of a company’s stock. Shareholders who own less than 50% of a company’s stock are known as ‘minority shareholders’, whereas shareholders who own 50% or more of a company’s stock are called ‘majority shareholders’.  Shareholders are owners of the company, but they are not liable for the company’s debts.&lt;/p&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://www.investopedia.com/ask/answers/08/difference-between-a-shareholder-and-a-stakeholder.asp"&gt;https://www.investopedia.com/ask/answers/08/difference-between-a-shareholder-and-a-stakeholder.asp&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://sumup.co.uk/invoices/dictionary/shareholders/"&gt;https://sumup.co.uk/invoices/dictionary/shareholders/&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is a stakeholder?
&lt;/h2&gt;

&lt;p&gt;Stakeholders can be:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Owners and shareholders&lt;/li&gt;
&lt;li&gt;Employees of the company&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.investopedia.com/terms/b/bondholder.asp"&gt;Bondholders&lt;/a&gt; who own company-issued debt&lt;/li&gt;
&lt;li&gt;Customers who may rely on the company to provide a particular good or service&lt;/li&gt;
&lt;li&gt;Suppliers and vendors who may rely on the company to provide a consistent revenue stream&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://www.investopedia.com/ask/answers/08/difference-between-a-shareholder-and-a-stakeholder.asp"&gt;https://www.investopedia.com/ask/answers/08/difference-between-a-shareholder-and-a-stakeholder.asp&lt;/a&gt;&amp;gt; A shareholder can sell their stock and buy different stock; they do not have a long-term need for the company. Stakeholders, however, are bound to the company for a longer term and for reasons of greater need. For example, if a company is performing poorly financially, the vendors in that company’s supply chain might suffer if the company no longer uses their services. Similarly, employees of the company, who are stakeholders and rely on it for income, might lose their jobs.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is AWS?
&lt;/h2&gt;

&lt;p&gt;Amazon Web Services (AWS) is the world’s most comprehensive and broadly adopted cloud platform, offering over 200 fully featured services from data centers globally. Millions of customers—including the fastest-growing startups, largest enterprises, and leading government agencies—are using AWS to lower costs, become more agile, and innovate faster.&lt;/p&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://aws.amazon.com/what-is-aws/?nc1=f_cc"&gt;https://aws.amazon.com/what-is-aws/?nc1=f_cc&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is cloud computing?
&lt;/h2&gt;

&lt;p&gt;Cloud computing is the on-demand delivery of IT resources over the Internet with pay-as-you-go pricing. Instead of buying, owning, and maintaining physical data centers and servers, you can access technology services, such as computing power, storage, and databases, on an as-needed basis from a cloud provider like Amazon Web Services (AWS).&lt;/p&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://aws.amazon.com/what-is-cloud-computing/"&gt;https://aws.amazon.com/what-is-cloud-computing/&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Cloud Computing Models?
&lt;/h2&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://docs.aws.amazon.com/whitepapers/latest/aws-overview/types-of-cloud-computing.html"&gt;https://docs.aws.amazon.com/whitepapers/latest/aws-overview/types-of-cloud-computing.html&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Infrastructure as a Service (IaaS)
&lt;/h3&gt;

&lt;p&gt;IaaS contains the basic building blocks for cloud IT. It typically provides access to networking features, computers (virtual or on dedicated hardware), and data storage space.&lt;/p&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://aws.amazon.com/what-is-cloud-computing/"&gt;https://aws.amazon.com/what-is-cloud-computing/&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Platform as a Service (PaaS)
&lt;/h3&gt;

&lt;p&gt;PaaS removes the need for you to manage underlying infrastructure (usually hardware and operating systems), and allows you to focus on the deployment and management of your applications&lt;/p&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://aws.amazon.com/what-is-cloud-computing/"&gt;https://aws.amazon.com/what-is-cloud-computing/&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Software as a Service (SaaS)
&lt;/h3&gt;

&lt;p&gt;SaaS provides you with a complete product that is run and managed by the service provider.&lt;/p&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://aws.amazon.com/what-is-cloud-computing/"&gt;https://aws.amazon.com/what-is-cloud-computing/&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Six Advantages of Cloud Computing
&lt;/h2&gt;

&lt;p&gt;From &amp;lt;&lt;a href="https://docs.aws.amazon.com/whitepapers/latest/aws-overview/six-advantages-of-cloud-computing.html"&gt;https://docs.aws.amazon.com/whitepapers/latest/aws-overview/six-advantages-of-cloud-computing.html&lt;/a&gt;&amp;gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Go global in minutes&lt;/li&gt;
&lt;li&gt;Trade capital expense for variable expense&lt;/li&gt;
&lt;li&gt;Benefit from massive economies of scale&lt;/li&gt;
&lt;li&gt;Increase speed and agility&lt;/li&gt;
&lt;li&gt;Stop spending money running and maintaining data centers&lt;/li&gt;
&lt;li&gt;Stop guessing capacity&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Cloud Computing Deployment Models?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Cloud&lt;/li&gt;
&lt;li&gt;Hybrid&lt;/li&gt;
&lt;li&gt;On Premise&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is Region?
&lt;/h2&gt;

&lt;p&gt;An AWS Region is a physical location in the world where we have multiple Availability Zones. Each Amazon Region is designed to be completely isolated from the other AWS Regions. This achieves the greatest possible fault tolerance and stability. AWS has 25 AWS regions with 240 countries.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the Availability Zone?
&lt;/h2&gt;

&lt;p&gt;Availability Zones consist of one or more discrete data centers, each with redundant power, networking, and connectivity, housed in separate facilities. These Availability Zones offer you the ability to operate production applications and databases that are more highly available, fault tolerant, and scalable than would be possible from a single data center.  Each Availability Zone is designed as an independent failure zone. This means that Availability Zones are physically separated within a typical metropolitan region and are located in lower risk flood plains (specific flood zone categorization varies by AWS Region).&lt;/p&gt;

&lt;h2&gt;
  
  
  What is NAS?
&lt;/h2&gt;

&lt;p&gt;Network attached storage. Centralize storage device for storing data on a network. I will have multiple hard drives in a RAID  configuration. Used in home and small side business. It has a NIC so that you can connect this with a switch or router to be in the network and then you can access it from laptop, desktop mobile etc. It can be accessed as a shared drive. It has a single point of failure, if power supply fail in the NAS then other devices will not able to access it. &lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--DrCrHXrw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/ij6H8IB.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DrCrHXrw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/ij6H8IB.png" alt="" width="880" height="567"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--LBwpsFZl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/csRF4G2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--LBwpsFZl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/csRF4G2.png" alt="" width="880" height="593"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_rcAs4_---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/KHdXMeJ.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_rcAs4_---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/KHdXMeJ.png" alt="" width="880" height="581"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is SAN?
&lt;/h2&gt;

&lt;p&gt;Storage area network is special. SANs are a highly scalable, highly redundant and high speed network that stores and provides access to large amounts of data. SAN is fault tolerant since data is shared among several disk arrays. If a switch, disk array or server goes down data can still be accessed. Server accesses this data as if it was a local attached hard drive. In NAS it is recognized as a network drive. All other devices in SAN are connected to each other using fiber channel (fiber optics ) 2 -128 gbps speed. Fiber channel is very costly. The other option is iSCSI (Internet Small Computer System Interface) which is a cheaper alternative to using Fiber channel but they are not very fast.  SANs are not affected by network traffic happening in LAN because SANs are not part of LAN. SANs are partitioned off, it’s basically a network all by itself.  SANs are very expensive therefore, only large company, enterprises can afford this.&lt;/p&gt;

&lt;p&gt;Some important slides from &lt;a href="https://www.youtube.com/watch?v=3yZDDr0JKVc&amp;amp;ab_channel=PowerCertAnimatedVideos"&gt;NAS vs SAN - Network Attached Storage vs Storage Area Network&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s---ZDmx3La--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/DJUbzlf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s---ZDmx3La--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/DJUbzlf.png" alt="" width="880" height="610"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6c6zYyyl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/M0Ot4YC.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6c6zYyyl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/M0Ot4YC.png" alt="" width="880" height="636"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Gh7ifRu2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/tzn8Bdy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Gh7ifRu2--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/tzn8Bdy.png" alt="" width="880" height="648"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ufdsPVBH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/U01CykX.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ufdsPVBH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/U01CykX.png" alt="" width="880" height="604"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--bYtSPhOy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/xYXWhmt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--bYtSPhOy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/xYXWhmt.png" alt="" width="880" height="617"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--gCPmmnVE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/LkshL3g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--gCPmmnVE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/LkshL3g.png" alt="" width="880" height="476"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Scalability?
&lt;/h2&gt;

&lt;p&gt;Scalability is the ability of a system to increase workload by adding resources. Scale up, down, out or in. &lt;a href="https://www.youtube.com/watch?v=e8F2ls3n_Wo&amp;amp;ab_channel=zeisys"&gt;Scalability vs Elasticity in 99 seconds&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rUbB_ous--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/VoFA3Eg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rUbB_ous--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/VoFA3Eg.png" alt="" width="880" height="456"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4A8Ym-Q0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/gZCASSS.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4A8Ym-Q0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/gZCASSS.png" alt="" width="880" height="498"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Elasticity?
&lt;/h2&gt;

&lt;p&gt;Elasticity is the ability to automatically match the resources  sufficient for a given workload size.&lt;a href="https://www.youtube.com/watch?v=e8F2ls3n_Wo&amp;amp;ab_channel=zeisys"&gt;Scalability vs Elasticity in 99 seconds&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--WoVVYI34--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/sbLUG3n.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--WoVVYI34--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/sbLUG3n.png" alt="" width="880" height="482"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Network load balancer vs Application load balancer
&lt;/h2&gt;

&lt;p&gt;Application load balancer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;URL routing can be done in&lt;/li&gt;
&lt;li&gt;In level -7  (application)&lt;/li&gt;
&lt;li&gt;Low performance&lt;/li&gt;
&lt;li&gt;Load balance frontend servers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Network load balancer:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In level -4 (transport)&lt;/li&gt;
&lt;li&gt;High performance&lt;/li&gt;
&lt;li&gt;Load balance backend servers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I will publish one more article where I will explain what are the soft skills you need to be successful in your next cloud architect interview so stay tuned.&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.youtube.com/playlist?list=PL0azhNeBK66KfW04TZBQWkX62hhnFcb9E"&gt;Go Cloud Videos&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Thanks for reading my article till end. I hope you learned something special today. If you enjoyed this article then please share to your friends and if you have suggestions or thoughts to share with me then please write in the comment box.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💖 Say 👋 to me!&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Rupesh Tiwari&lt;br&gt;&lt;br&gt;
Founder of &lt;a href="https://www.fullstackmaster.net"&gt;Fullstack Master&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Email: &lt;a href="//mailto:rupesh.tiwari.info@gmail.com?subject=Hi"&gt;rupesh.tiwari.info@gmail.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Website: &lt;a href="https://www.rupeshtiwari.com"&gt;RupeshTiwari.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--t8h1zmCX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/5fBatz9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--t8h1zmCX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/5fBatz9.png" alt="" width="443" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>interview</category>
      <category>tutorial</category>
      <category>beginners</category>
      <category>cloud</category>
    </item>
    <item>
      <title>Server Deployment Strategies and Storage Spaces Direct Fault Tolerance in Azure</title>
      <dc:creator>Rupesh Tiwari</dc:creator>
      <pubDate>Sat, 08 Jan 2022 00:00:00 +0000</pubDate>
      <link>https://dev.to/rupeshtiwari/server-deployment-strategies-and-storage-spaces-direct-fault-tolerance-in-azure-ma0</link>
      <guid>https://dev.to/rupeshtiwari/server-deployment-strategies-and-storage-spaces-direct-fault-tolerance-in-azure-ma0</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Learn how Storage Spaces Direct provides you a Data fault tolerance at verity of levels. You don’t loose data at any stage. You get Data resiliency out of the box in Azure.to&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;You can deploy servers in below types:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Node&lt;/li&gt;
&lt;li&gt;Chassis for Blade Servers&lt;/li&gt;
&lt;li&gt;Rack Server&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What is Planned Maintenance?
&lt;/h2&gt;

&lt;p&gt;A planned maintenance event is when the underlying Azure fabric that hosts VMs is updated by Microsoft.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Security Patch, Performance patch, add and update features are called as planed maintenance.&lt;/li&gt;
&lt;li&gt;After planned maintenance you must reboot your VMs.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is Unplanned Maintenance?
&lt;/h2&gt;

&lt;p&gt;Unplanned maintenance events involve a hardware failure in the data center, such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;power outage&lt;/li&gt;
&lt;li&gt;disk failure&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What is Node?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--dHoQq2-Q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/qMarBwn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--dHoQq2-Q--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/qMarBwn.png" alt="" width="880" height="528"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Node is nothing but a server. It could be Server Virtual Machine. Or Database Virtual Machine.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Rack?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--VrYie4-Z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/c5LTPCp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--VrYie4-Z--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/c5LTPCp.png" alt="" width="880" height="693"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;One Rack has servers, data disks and it’s own Network Switch and Power Supply.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fault Tolerance in Azure
&lt;/h2&gt;

&lt;p&gt;You can arrange your servers in all different types of deployment to manage fault tolerance at Drive, Node or Rack level.&lt;/p&gt;

&lt;p&gt;Learn More about &lt;a href="https://docs.microsoft.com/en-us/windows-server/failover-clustering/fault-domains"&gt;Failover Clustering Fault Domains&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Node Fault Tolerance
&lt;/h3&gt;

&lt;p&gt;In Windows Server 2016 clustering allows multiple servers called nodes to work together for High availability is called as Node Tolerance.&lt;/p&gt;

&lt;h3&gt;
  
  
  Chassis Fault Tolerance
&lt;/h3&gt;

&lt;p&gt;Chassis is a hardware where you put servers. &lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--LEO7JWUh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/tWLfhXN.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--LEO7JWUh--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/tWLfhXN.png" alt="" width="487" height="461"&gt;&lt;/a&gt;This is a Chassis, it has 4 servers they share common components like power supply and switch network. They are less expensive.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--eLHTNcLq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/OFDJlEp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--eLHTNcLq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/OFDJlEp.png" alt="" width="880" height="527"&gt;&lt;/a&gt;If 3rd number Chassis common components fails then all nodes within the Chassis will go down.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;Windows Server 2016&lt;/code&gt; Clustering has Chassis Fault Tolerance.&lt;/p&gt;

&lt;h3&gt;
  
  
  Rack Fault Tolerance
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--x7c7Usz3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/uvETq93.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--x7c7Usz3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/uvETq93.png" alt="" width="880" height="503"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If network switch for one Rack is out of order then in this photo 2nd Rack is out of order then all of the servers (Nodes) are down within the Rack only. Rest Rack will be still working. This is called Rack Fault Tolerance.&lt;/p&gt;

&lt;h2&gt;
  
  
  Storage Spaces Direct Fault Tolerance Support
&lt;/h2&gt;

&lt;p&gt;Spaces are the set of disks to store data. Spaces provides Data resiliency by copying the data in several redundant drives.&lt;/p&gt;

&lt;h3&gt;
  
  
  Data resiliency
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--rckJyZ5L--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/duOKei3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--rckJyZ5L--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/duOKei3.png" alt="" width="880" height="507"&gt;&lt;/a&gt;Spaces provides Data resiliency by keeping multiple copy of every thing in on different drives.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ebkiapeZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/z0VoMVn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ebkiapeZ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/z0VoMVn.png" alt="" width="880" height="527"&gt;&lt;/a&gt;So if one fails then all data is safe and accessible.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--zp-Pl3wn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/NqeOrRb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--zp-Pl3wn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/NqeOrRb.png" alt="" width="708" height="428"&gt;&lt;/a&gt;The remaining copy will be used automatically as the failed drive to restore it. This feature is already in Windows 2010.&lt;/p&gt;

&lt;h3&gt;
  
  
  Node Fault Tolerance
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Gcn2KwVm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/ZOjpD3B.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Gcn2KwVm--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/ZOjpD3B.png" alt="" width="880" height="604"&gt;&lt;/a&gt;Spaces also stores every copy of data not only to different drive but also in different nodes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--xWr35mEu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/uL7Wq3m.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--xWr35mEu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/uL7Wq3m.png" alt="" width="832" height="672"&gt;&lt;/a&gt;So that if one node is out of order then other node will automatically start and working.&lt;/p&gt;

&lt;h3&gt;
  
  
  Rack Fault Tolerance Storage
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--s3h8TodX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/G3N7nGN.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--s3h8TodX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/G3N7nGN.png" alt="" width="880" height="666"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Storage Space Direct can guaranty that it will place every copy not on every Drive, different Node but in different Rack. To provide data even at Rack level outage.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Thanks for reading my article till end. I hope you learned something special today. If you enjoyed this article then please share to your friends and if you have suggestions or thoughts to share with me then please write in the comment box.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Become full stack developer 💻
&lt;/h2&gt;

&lt;p&gt;I teach at &lt;a href="https://www.fullstackmaster.net"&gt;Fullstack Master&lt;/a&gt;. If you want to become &lt;strong&gt;Software Developer&lt;/strong&gt; and grow your carrier as new &lt;strong&gt;Software Engineer&lt;/strong&gt; or &lt;strong&gt;Lead Developer/Architect&lt;/strong&gt;. Consider subscribing to our full stack development training programs. You will learn &lt;strong&gt;Angular, RxJS, JavaScript, System Architecture&lt;/strong&gt; and much more with lots of &lt;strong&gt;hands on coding&lt;/strong&gt;. We have All-Access Monthly membership plans and you will get unlimited access to all of our &lt;strong&gt;video&lt;/strong&gt; courses, &lt;strong&gt;slides&lt;/strong&gt; , &lt;strong&gt;download source code&lt;/strong&gt; &amp;amp; &lt;strong&gt;Monthly video calls&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Please subscribe to &lt;strong&gt;&lt;a href="https://www.fullstackmaster.net/pro"&gt;All-Access Membership PRO plan&lt;/a&gt;&lt;/strong&gt; to access &lt;em&gt;current&lt;/em&gt; and &lt;em&gt;future&lt;/em&gt; &lt;strong&gt;angular, node.js&lt;/strong&gt; and related courses.&lt;/li&gt;
&lt;li&gt;Please subscribe to &lt;strong&gt;&lt;a href="https://www.fullstackmaster.net/elite"&gt;All-Access Membership ELITE plan&lt;/a&gt;&lt;/strong&gt; to get everything from PRO plan. Additionally, you will get access to a monthly &lt;strong&gt;live Q&amp;amp;A video call&lt;/strong&gt; with &lt;code&gt;Rupesh&lt;/code&gt; and you can ask &lt;strong&gt;&lt;em&gt;doubts/questions&lt;/em&gt;&lt;/strong&gt; and get more help, tips and tricks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Your bright future is awaiting for you so visit today &lt;a href="//www.fullstackmaster.net"&gt;FullstackMaster&lt;/a&gt; and allow me to help you to board on your dream software company as a new &lt;strong&gt;Software Developer, Architect or Lead Engineer&lt;/strong&gt; role.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💖 Say 👋 to me!&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Rupesh Tiwari&lt;br&gt;&lt;br&gt;
Founder of &lt;a href="https://www.fullstackmaster.net"&gt;Fullstack Master&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Email: &lt;a href="//mailto:rupesh.tiwari.info@gmail.com?subject=Hi"&gt;rupesh.tiwari.info@gmail.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Website: &lt;a href="https://www.rupeshtiwari.com"&gt;RupeshTiwari.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Wzx_02dj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/a32nUcu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Wzx_02dj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/a32nUcu.png" alt="" width="398" height="239"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>azure</category>
      <category>cloud</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Introduction to Azure Infrastructure Architecture</title>
      <dc:creator>Rupesh Tiwari</dc:creator>
      <pubDate>Sat, 01 Jan 2022 00:00:00 +0000</pubDate>
      <link>https://dev.to/rupeshtiwari/introduction-to-azure-infrastructure-architecture-3mjd</link>
      <guid>https://dev.to/rupeshtiwari/introduction-to-azure-infrastructure-architecture-3mjd</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Understanding Azure architecture gives you power to learn lots of higher level concepts on Azure like Virtual Machine scale sets etc. Therefore, in this article you will learn what is Azure overall architecture and its individual components like region, zones, data-centers etc.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Azure Infrastructure Architecture
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2FTVclQ1g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2FTVclQ1g.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
Geography consists of many regions&lt;/li&gt;
&lt;li&gt;Each Region must have minimum 3 Availability Zones.&lt;/li&gt;
&lt;li&gt;Each Availability Zone can have one or more Data Centers equipped with independent power, cooling, and networking.&lt;/li&gt;
&lt;li&gt;No two zones can share a data center.&lt;/li&gt;
&lt;li&gt;Each Data-Center has Availability Sets&lt;/li&gt;
&lt;li&gt;Each Availability Set can have 3 Fault Domains &amp;amp; up to 20 Update Domain&lt;/li&gt;
&lt;li&gt;
Fault Domain is grouping of virtual machines, independent network switch and power supply provides hardware fault tolerance.&lt;/li&gt;
&lt;li&gt;
Update Domain is logical grouping of virtual machine and included hardware that can be updated and rebooted at one time.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Azure Geography
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2FGgiCKUh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2FGgiCKUh.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi.imgur.com%2FIMF6Uxn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fi.imgur.com%2FIMF6Uxn.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://azure.microsoft.com/en-us/global-infrastructure/geographies/#geographies" rel="noopener noreferrer"&gt;Azure Geography&lt;/a&gt; contains most of the countries in the world.&lt;/p&gt;

&lt;p&gt;An Azure geography is a discrete market, typically containing at least one or more regions, that preserves data residency and compliance boundaries. Geographies allow customers with specific data-residency and compliance needs to keep their data and applications close. Geographies are fault-tolerant to withstand complete region failure through their connection to the dedicated high-capacity networking infrastructure of Azure.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Azure Regions?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2FEP9XhI7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2FEP9XhI7.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Each Geography has multiple Regions. Example The United States has regions like Center US, East US, East US2, East US3, North Central US, South Central US, West Central US, West US, West US 2, West US 3.&lt;/p&gt;

&lt;p&gt;An Azure region is a set of datacenters, deployed within a latency-defined perimeter and connected through a dedicated regional low-latency network.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Availability Zone in Azure?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2FedLLp4S.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2FedLLp4S.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Azure Availability Zones are &lt;strong&gt;physically and logically separated datacenters&lt;/strong&gt; with their own &lt;strong&gt;independent power source, network, and cooling&lt;/strong&gt;. Connected with an extremely low-latency network, they become a building block to delivering high availability applications. Availability Zones ensure that if there’s an event impacting a datacenter site—for example, if someone cuts the power, or there are issues with cooling—your data will be protected.&lt;/p&gt;

&lt;p&gt;Running a VM with one or more replicated copies on different &lt;strong&gt;Availability Zones&lt;/strong&gt; , providing resiliency against data center failure.&lt;/p&gt;

&lt;p&gt;🍹 &lt;strong&gt;Tip&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Azure Availability Zones are unique physical locations within an Azure region and offer high availability to protect your applications and data from datacenter failures. Each zone is made up of one or more datacenters equipped with independent power, cooling, and networking. The physical separation of availability zones within a region protects apps and data from facility-level issues. Zone-redundant services replicate your apps and data across Azure Availability Zones to protect from single points of failure.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is the Azure global network?
&lt;/h2&gt;

&lt;p&gt;The Azure global network refers to all of the components in networking and is comprised of the Microsoft global wide-area network (WAN), points of presence (PoPs), fiber, and others.&lt;/p&gt;

&lt;h2&gt;
  
  
  Azure Data-Center
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2FZQGt48j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2FZQGt48j.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the Data Center the servers are divided into multiple physical and logical groups.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Availability Set?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2FFmgxQu5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2FFmgxQu5.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;An &lt;a href="https://docs.microsoft.com/en-us/azure/virtual-machines/availability-set-overview" rel="noopener noreferrer"&gt;availability set&lt;/a&gt; is a logical grouping of VMs that allows Azure to understand how your application is built to provide for redundancy and availability.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is azure fault domain?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2F8nolkCg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2F8nolkCg.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The physical grouping of servers (virtual machines) is called Fault Domain. It is Each server share a common power source and network switch within a Fault Domain. A fault domain is a set of hardware components that share a single point of failure.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is update domain in Azure?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2Fgo8fjZ9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2Fgo8fjZ9.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2FIhbZ0o1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2FIhbZ0o1.png"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;An &lt;strong&gt;update domain&lt;/strong&gt; is a logical group of underlying hardware that can undergo maintenance or be rebooted at the same time. As you create VMs within an availability set, the Azure platform automatically distributes your VMs across these &lt;strong&gt;update domains&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Azure SLA
&lt;/h2&gt;

&lt;p&gt;Azure Availability Zone give maximum industry best 99.99% of availability.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;scenario&lt;/th&gt;
&lt;th&gt;Manage VMs manually&lt;/th&gt;
&lt;th&gt;Use VM Scale Set&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Adding extra VM&lt;/td&gt;
&lt;td&gt;Manually create, configure and ensure compliance&lt;/td&gt;
&lt;td&gt;Automatically create from central configuration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Traffic Balancing &amp;amp; distribution&lt;/td&gt;
&lt;td&gt;Manually&lt;/td&gt;
&lt;td&gt;Automatically create and integrate Azure load balancer or Application Gateway&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;High availability and redundancy&lt;/td&gt;
&lt;td&gt;Manually create Availability set or distribute and track VMs across Availability Zones&lt;/td&gt;
&lt;td&gt;Automatic distribution of VM instances across Availability Zones or Availability Sets&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Scaling of VMs&lt;/td&gt;
&lt;td&gt;Manual monitoring and Azure Automation&lt;/td&gt;
&lt;td&gt;Auto scale based on host metrics, in-guest metrics, Application Insights, or schedule&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;p&gt;&lt;em&gt;Thanks for reading my article till end. I hope you learned something special today. If you enjoyed this article then please share to your friends and if you have suggestions or thoughts to share with me then please write in the comment box.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Become full stack developer 💻
&lt;/h2&gt;

&lt;p&gt;I teach at &lt;a href="https://www.fullstackmaster.net" rel="noopener noreferrer"&gt;Fullstack Master&lt;/a&gt;. If you want to become &lt;strong&gt;Software Developer&lt;/strong&gt; and grow your carrier as new &lt;strong&gt;Software Engineer&lt;/strong&gt; or &lt;strong&gt;Lead Developer/Architect&lt;/strong&gt;. Consider subscribing to our full stack development training programs. You will learn &lt;strong&gt;Angular, RxJS, JavaScript, System Architecture&lt;/strong&gt; and much more with lots of &lt;strong&gt;hands on coding&lt;/strong&gt;. We have All-Access Monthly membership plans and you will get unlimited access to all of our &lt;strong&gt;video&lt;/strong&gt; courses, &lt;strong&gt;slides&lt;/strong&gt; , &lt;strong&gt;download source code&lt;/strong&gt; &amp;amp; &lt;strong&gt;Monthly video calls&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Please subscribe to &lt;strong&gt;&lt;a href="https://www.fullstackmaster.net/pro" rel="noopener noreferrer"&gt;All-Access Membership PRO plan&lt;/a&gt;&lt;/strong&gt; to access &lt;em&gt;current&lt;/em&gt; and &lt;em&gt;future&lt;/em&gt; &lt;strong&gt;angular, node.js&lt;/strong&gt; and related courses.&lt;/li&gt;
&lt;li&gt;Please subscribe to &lt;strong&gt;&lt;a href="https://www.fullstackmaster.net/elite" rel="noopener noreferrer"&gt;All-Access Membership ELITE plan&lt;/a&gt;&lt;/strong&gt; to get everything from PRO plan. Additionally, you will get access to a monthly &lt;strong&gt;live Q&amp;amp;A video call&lt;/strong&gt; with &lt;code&gt;Rupesh&lt;/code&gt; and you can ask &lt;strong&gt;&lt;em&gt;doubts/questions&lt;/em&gt;&lt;/strong&gt; and get more help, tips and tricks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Your bright future is awaiting for you so visit today &lt;a href="//www.fullstackmaster.net"&gt;FullstackMaster&lt;/a&gt; and allow me to help you to board on your dream software company as a new &lt;strong&gt;Software Developer, Architect or Lead Engineer&lt;/strong&gt; role.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💖 Say 👋 to me!&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Rupesh Tiwari&lt;br&gt;&lt;br&gt;
Founder of &lt;a href="https://www.fullstackmaster.net" rel="noopener noreferrer"&gt;Fullstack Master&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Email: &lt;a href="//mailto:rupesh.tiwari.info@gmail.com?subject=Hi"&gt;rupesh.tiwari.info@gmail.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Website: &lt;a href="https://www.rupeshtiwari.com" rel="noopener noreferrer"&gt;RupeshTiwari.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2Fa32nUcu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2Fa32nUcu.png"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>azure</category>
      <category>cloud</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>What is Azure Virtual Machine Scale Sets</title>
      <dc:creator>Rupesh Tiwari</dc:creator>
      <pubDate>Sat, 25 Dec 2021 00:00:00 +0000</pubDate>
      <link>https://dev.to/rupeshtiwari/what-is-azure-virtual-machine-scale-sets-32h6</link>
      <guid>https://dev.to/rupeshtiwari/what-is-azure-virtual-machine-scale-sets-32h6</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Now a days distributed architecture is common. We deploy our services into many different servers to scale them up and meet our demand. However, managing all servers for &lt;strong&gt;load-balancing, scaling, make application highly available&lt;/strong&gt; is super challenging on cloud. &lt;strong&gt;Azure Virtual Machine Scale sets&lt;/strong&gt; is the great tool which does all of these automatically with &lt;strong&gt;no extra cost&lt;/strong&gt; for you. Lets learn more about Scale sets in this article.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;For Black Friday sell you want your services to be running in 50 instances and on regular day you want 5 instances. So in cloud Virtual machine scale set you get automatic scale up and down of your VM instances.&lt;/p&gt;

&lt;h2&gt;
  
  
  Scalability vs Elasticity
&lt;/h2&gt;

&lt;p&gt;Scalability means to increase from 5 to 50 instances. Elasticity is to reduce 50 instances to 5. With VMSS scalability and elasticity is possible automatically.&lt;/p&gt;

&lt;h2&gt;
  
  
  Vertical vs Horizontal Scaling
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--BVQq6-Lg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/EkHkAX3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--BVQq6-Lg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/EkHkAX3.png" alt="" width="851" height="568"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Two types of scaling vertical and horizontal.&lt;/p&gt;

&lt;h3&gt;
  
  
  Vertical Scaling or Scale Up/Down
&lt;/h3&gt;

&lt;p&gt;In Vertical scaling if you have 1 core CPU and 4GB memory and if you can upgrade this configuration to 2 core CPU and 8 GB memory. This is called as Scale UP. You can reduce the configuration back to baseline which is called as Scale Down.&lt;/p&gt;

&lt;h3&gt;
  
  
  Horizontal Scaling or Scale Out/In
&lt;/h3&gt;

&lt;p&gt;Horizontal Scaling is you start with one VM and you keep adding more VM with same configuration is also called as Scale Out. You can also reduce back to 1 VM once your Sale or Business demand is over this process is called as Scale In.&lt;/p&gt;

&lt;h2&gt;
  
  
  Distributed Architecture with Scale Sets
&lt;/h2&gt;

&lt;p&gt;You must need &lt;strong&gt;Distributed Architecture&lt;/strong&gt; to provide &lt;strong&gt;redundancy and improved performance&lt;/strong&gt; , applications are typically &lt;strong&gt;distributed across multiple instances&lt;/strong&gt;. In order to give your customer faster speed and low latency you may need &lt;strong&gt;load balancer&lt;/strong&gt; that &lt;strong&gt;distributes requests&lt;/strong&gt; to one of the application &lt;strong&gt;instances&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Azure Virtual Machine Scale Sets?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wIeYf8G6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/3qqKpF8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wIeYf8G6--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/3qqKpF8.png" alt="" width="371" height="441"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Virtual Machine Scale Set (VMSS) let you &lt;strong&gt;Create&lt;/strong&gt; and &lt;strong&gt;Manage&lt;/strong&gt; a &lt;strong&gt;group of load balanced VMs&lt;/strong&gt;. The number of VM instances can &lt;strong&gt;automatically increase or decrease&lt;/strong&gt; in response to demand or a defined schedule.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;With virtual machine scale sets, you can build &lt;strong&gt;large-scale services for areas such as compute, big data, and container workloads&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Scale sets provide &lt;strong&gt;high availability to your applications&lt;/strong&gt; , and allow you to &lt;strong&gt;centrally manage&lt;/strong&gt; , &lt;strong&gt;configure&lt;/strong&gt; , and &lt;strong&gt;update&lt;/strong&gt; a large number of VMs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Consistent Configuration&lt;/strong&gt; : Virtual Machine scale sets are the objects that are used to run multiple instances of your application and maintain a consistent configuration across your environment.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;VMs in a scale set are identical, so you can create them from the same base operating system image.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Virtual Machine Scale Set (VMSS) works
&lt;/h2&gt;

&lt;p&gt;VMSS uses minimum instance to start with and you can set the maximum instance of your virtual machine. You can setup rules based on Time, Metrics based to increase or decrease VM instances. VMSS has in build load balancers. Public load balancer works with internet traffic to your VMs. Which looks upon the CPU metrics and if CPU utilization is more than 75% then wait for some time and add another VM instance without any manual steps required.&lt;/p&gt;

&lt;h3&gt;
  
  
  Minimum Instance
&lt;/h3&gt;

&lt;p&gt;This defines how much instance of VM minimum you need. You can set it to 1.&lt;/p&gt;

&lt;h3&gt;
  
  
  Maximum Instance
&lt;/h3&gt;

&lt;p&gt;You can go up to 1000 VM instances. For example for your business you can start with 1 VM and scale out up to 3 instances. Therefore, you set Maximum instance value to 3. Therefore, even though the demand is high Azure will not spin up 4th instance. It will stay up to 3 instance only and you save budget.&lt;/p&gt;

&lt;h3&gt;
  
  
  Metrics Based Scaling
&lt;/h3&gt;

&lt;p&gt;If you don’t know where you are going to get the maximum business, it may be today, next day or any 5 continuous days then you must go for Metrics based scaling. You can set rule like If my VM CPU utilization is &amp;gt; 75% then add one more VM if it is less than ( &amp;lt; ) 25% then remove the VM.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Manually increasing instances&lt;/strong&gt; : If you know tomorrow only you want to increase your VM instance to 4 instances. So you do that manually and revert it on the day after tomorrow.&lt;/p&gt;

&lt;h3&gt;
  
  
  Time Based Scaling
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Custom&lt;/strong&gt; : You can do &lt;strong&gt;Time Based&lt;/strong&gt; increment or decrement Here you can schedule your VMs to scale out and scale in. For example every Saturday increase the VM instance to 4 and on Sunday reduce it back to 1. You can schedule these rules.&lt;/p&gt;

&lt;h3&gt;
  
  
  Load Balancer in Scale Set
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--uQaBKhP---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/8H6dwMy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--uQaBKhP---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/8H6dwMy.png" alt="" width="880" height="929"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;An &lt;strong&gt;Azure load balancer&lt;/strong&gt; is a Layer-4 (TCP, UDP) &lt;strong&gt;load balancer&lt;/strong&gt; that provides high availability by distributing incoming traffic among healthy VMs. A &lt;strong&gt;&lt;a href="https://docs.microsoft.com/en-us/azure/load-balancer/components#frontend-ip-configurations"&gt;public load balancer&lt;/a&gt;&lt;/strong&gt; can provide outbound connections for virtual machines (VMs) inside your virtual network. Public Load Balancers are used to load balance internet traffic to your VMs. An &lt;strong&gt;&lt;a href="https://docs.microsoft.com/en-us/azure/load-balancer/components#frontend-ip-configurations"&gt;internal (or private) load balancer&lt;/a&gt;&lt;/strong&gt; is used where private IPs are needed at the frontend only. Internal load balancers are used to load balance traffic inside a virtual network.&lt;/p&gt;

&lt;h2&gt;
  
  
  Virtual Machine Scale Set Architecture
&lt;/h2&gt;

&lt;p&gt;Virtual Machine Scale Set (VMSS) deploys Virtual Machines in a single subnet of a Virtual Network. Figure below shows Architecture of Virtual Machine Scale Set (VMSS) deployed in single subnet with Single Placement group.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--HeloIIgY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/XUk0AFB.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--HeloIIgY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/XUk0AFB.png" alt="" width="880" height="457"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Virtual Network&lt;/strong&gt; with Single Subnet is automatically created during VMSS deployment. All virtual machines specified in create VMSS blade are deployed in the Single Subnet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Azure Load Balancer&lt;/strong&gt; is automatically created during VMSS deployment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Placement group&lt;/strong&gt; is availability set with five fault domains and five update domains and support up to 100 VMs. Placement group is automatically created by VMSS. Additional Placement groups will be automatically created by VMSS if you are deploying more than 100 instances.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Storage&lt;/strong&gt; : VMSS can use managed disks or unmanaged disks for Virtual Machine storage. Managed disks are required to create more than 100 Virtual Machines. Unmanaged disks are limited to 100 VMs and single Placement Group.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;VM Diagnostic Logs&lt;/strong&gt; are guest OS performance counters and are streamed to Azure storage Account. VMSS uses this data for making Auto-scaling decisions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why use Virtual Machine Scale Sets?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Maintenance Mode Support&lt;/strong&gt; : If you need to perform maintenance or update an application instance, your customers must be distributed to another available application instance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automatically increase VM instances&lt;/strong&gt; : To keep up with additional customer demand, you may need to increase the number of application instances that run your application. 

&lt;ul&gt;
&lt;li&gt;Auto scale based on metrics.&lt;/li&gt;
&lt;li&gt;Auto scale based on a defined schedule. Suppose starting next week you are going to have a heavy peak, for next 3 days. You can define a set schedule. For example, at 9 am on Jan 2nd 2021, increase the VM instance count to 50. And at 9PM on Jan 5th when your peak ends, bring the instance count back to your baseline configuration.&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Easy to create and manage multiple VMs&lt;/strong&gt; : It maintains a consistent configuration (VM size, disk configuration) across your environment. All VM instances are created from the same base OS image and configuration. This approach lets you easily manage hundreds of VMs without additional configuration tasks or network management. For basic layer-4 traffic distribution it uses Azure Load Balancer. And for advanced layer-7 it uses Azure Application Gateway.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Provides high availability and application resiliency&lt;/strong&gt; : If one of these VM instances has a problem, customers continue to access your application through one of the other VM instances with minimal interruption.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Allows your application to automatically scale as resource demand changes&lt;/strong&gt; : Like it auto increase VM instances. It can also minimizes the number of unnecessary VM instances that run your application when demand is low, while customers continue to receive an acceptable level of performance&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Works at large-scale&lt;/strong&gt; : Up to &lt;strong&gt;1000&lt;/strong&gt; Azure VM, and custom VM images up to &lt;strong&gt;600&lt;/strong&gt; VM.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Scale set saves money 💰
&lt;/h3&gt;

&lt;p&gt;The &lt;strong&gt;management&lt;/strong&gt; and &lt;strong&gt;automation&lt;/strong&gt; features, such as auto-scale and redundancy, incur &lt;strong&gt;no additional charges&lt;/strong&gt; over the use of VMs. You only pay for the underlying compute resources such as the VM instances, load balancer, or Managed Disk storage.&lt;/p&gt;

&lt;h3&gt;
  
  
  Benefits of Scale Set
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;scenario&lt;/th&gt;
&lt;th&gt;Manage VMs manually&lt;/th&gt;
&lt;th&gt;Use VM Scale Set&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Adding extra VM&lt;/td&gt;
&lt;td&gt;Manually create, configure and ensure compliance&lt;/td&gt;
&lt;td&gt;Automatically create from central configuration&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Traffic Balancing &amp;amp; distribution&lt;/td&gt;
&lt;td&gt;Manually&lt;/td&gt;
&lt;td&gt;Automatically create and integrate Azure load balancer or Application Gateway&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;High availability and redundancy&lt;/td&gt;
&lt;td&gt;Manually create Availability set or distribute and track VMs across Availability Zones&lt;/td&gt;
&lt;td&gt;Automatic distribution of VM instances across Availability Zones or Availability Sets&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Scaling of VMs&lt;/td&gt;
&lt;td&gt;Manual monitoring and Azure Automation&lt;/td&gt;
&lt;td&gt;Auto scale based on host metrics, in-guest metrics, Application Insights, or schedule&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Using scale set is a wiser decision with zero additional cost!&lt;/p&gt;

&lt;h2&gt;
  
  
  Building Azure VM using Azure VM Image Builder
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--oGtddfwY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/Ut26mIt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--oGtddfwY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/Ut26mIt.png" alt="" width="880" height="329"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Using &lt;a href="https://docs.microsoft.com/azure/virtual-machines/linux/image-builder-overview"&gt;AZURE VM IMAGE BUILDER SERVICE&lt;/a&gt;, you can quickly start building standardized images without needing to set up your own imaging pipeline. Just provide a simple configuration describing your image, submit it to the Image Builder service, and the image is built and distributed. You will incur some compute, networking and storage costs when creating, building and storing images with Azure Image Builder. These costs are similar to the costs incurred in manually creating custom images.&lt;/p&gt;

&lt;h2&gt;
  
  
  Distribute your VM images
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ObEyR470--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/2diOKki.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ObEyR470--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/2diOKki.png" alt="" width="539" height="404"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://docs.microsoft.com/en-us/azure/virtual-machines/shared-image-galleries"&gt;SHARED IMAGE GALLERY&lt;/a&gt; enables image distribution to different users, service principals, or AD groups, across multiple subscriptions within your organization and regions through a centralized image management platform.&lt;/p&gt;

&lt;p&gt;Run below command for creating shared image gallery:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;`New-AzGallery -GalleryName “azdemoGallery” -ResourceGroupName “Azure-demo” -Location “West US”`

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Next, we need to create Gallery definition for storing windows images:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;New-AzGalleryImageDefinition -GalleryName “azdemogallery” -ResourceGroupName “Azure-demo” -location “West US” -Name “winserverimages” -OsState generalized -Ostype windows -Publisher demo -offer windows -sku ‘win2016’

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  How to monitor scale sets
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Use &lt;a href="https://docs.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-overview"&gt;Azure Monitor for VMs&lt;/a&gt;, to see metrics about VM CPU, memory, disk and network performance&lt;/li&gt;
&lt;li&gt;Enable monitoring &lt;a href="https://docs.microsoft.com/en-us/azure/azure-monitor/app/azure-vm-vmss-apps"&gt;virtual machine scale set application&lt;/a&gt; with Application Insights to collect detailed information about your application including page views, application requests, and exceptions.&lt;/li&gt;
&lt;li&gt;Configure &lt;a href="https://docs.microsoft.com/en-us/azure/azure-monitor/app/monitor-web-app-availability"&gt;availability test&lt;/a&gt; to check application availability to simulate user traffic.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Learn more about &lt;a href="https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/overview?context=/azure/virtual-machines/context/context"&gt;Azure Virtual Machine Scale Set&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Thanks for reading my article till end. I hope you learned something special today. If you enjoyed this article then please share to your friends and if you have suggestions or thoughts to share with me then please write in the comment box.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Become full stack developer 💻
&lt;/h2&gt;

&lt;p&gt;I teach at &lt;a href="https://www.fullstackmaster.net"&gt;Fullstack Master&lt;/a&gt;. If you want to become &lt;strong&gt;Software Developer&lt;/strong&gt; and grow your carrier as new &lt;strong&gt;Software Engineer&lt;/strong&gt; or &lt;strong&gt;Lead Developer/Architect&lt;/strong&gt;. Consider subscribing to our full stack development training programs. You will learn &lt;strong&gt;Angular, RxJS, JavaScript, System Architecture&lt;/strong&gt; and much more with lots of &lt;strong&gt;hands on coding&lt;/strong&gt;. We have All-Access Monthly membership plans and you will get unlimited access to all of our &lt;strong&gt;video&lt;/strong&gt; courses, &lt;strong&gt;slides&lt;/strong&gt; , &lt;strong&gt;download source code&lt;/strong&gt; &amp;amp; &lt;strong&gt;Monthly video calls&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Please subscribe to &lt;strong&gt;&lt;a href="https://www.fullstackmaster.net/pro"&gt;All-Access Membership PRO plan&lt;/a&gt;&lt;/strong&gt; to access &lt;em&gt;current&lt;/em&gt; and &lt;em&gt;future&lt;/em&gt; &lt;strong&gt;angular, node.js&lt;/strong&gt; and related courses.&lt;/li&gt;
&lt;li&gt;Please subscribe to &lt;strong&gt;&lt;a href="https://www.fullstackmaster.net/elite"&gt;All-Access Membership ELITE plan&lt;/a&gt;&lt;/strong&gt; to get everything from PRO plan. Additionally, you will get access to a monthly &lt;strong&gt;live Q&amp;amp;A video call&lt;/strong&gt; with &lt;code&gt;Rupesh&lt;/code&gt; and you can ask &lt;strong&gt;&lt;em&gt;doubts/questions&lt;/em&gt;&lt;/strong&gt; and get more help, tips and tricks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Your bright future is awaiting for you so visit today &lt;a href="//www.fullstackmaster.net"&gt;FullstackMaster&lt;/a&gt; and allow me to help you to board on your dream software company as a new &lt;strong&gt;Software Developer, Architect or Lead Engineer&lt;/strong&gt; role.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💖 Say 👋 to me!&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Rupesh Tiwari&lt;br&gt;&lt;br&gt;
Founder of &lt;a href="https://www.fullstackmaster.net"&gt;Fullstack Master&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Email: &lt;a href="//mailto:rupesh.tiwari.info@gmail.com?subject=Hi"&gt;rupesh.tiwari.info@gmail.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Website: &lt;a href="https://www.rupeshtiwari.com"&gt;RupeshTiwari.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Wzx_02dj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/a32nUcu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Wzx_02dj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/a32nUcu.png" alt="" width="398" height="239"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>azure</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Create Update and Delete Tags on Azure Resource</title>
      <dc:creator>Rupesh Tiwari</dc:creator>
      <pubDate>Sat, 18 Dec 2021 00:00:00 +0000</pubDate>
      <link>https://dev.to/rupeshtiwari/create-update-and-delete-tags-on-azure-resource-oid</link>
      <guid>https://dev.to/rupeshtiwari/create-update-and-delete-tags-on-azure-resource-oid</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Learn more about how to use tags to organize your Azure resources and management hierarchy. Also learn the &lt;code&gt;cmdlet&lt;/code&gt; used to fetch tags from Azure resources.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  What is Tag in Azure Resources?
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;You apply tags to your &lt;strong&gt;Azure resources, resource groups, and subscriptions&lt;/strong&gt; to &lt;code&gt;logically&lt;/code&gt; organize them into a &lt;code&gt;taxonomy&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Each tag consists of a &lt;strong&gt;name and a value pair&lt;/strong&gt;. For example, you can create tag and apply the name “Environment” and the value “Stage” to all the resources in stage. Learn more about &lt;a href="https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/tag-resources" rel="noopener noreferrer"&gt;Tagging ideas&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tag names are case-insensitive&lt;/strong&gt; : Example: “Environment” or “environment” they are same tag names.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tag values are case-sensitive&lt;/strong&gt; : Example: “Stage” or “stage” they are different tag values.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Learn more about &lt;a href="https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/tag-resources" rel="noopener noreferrer"&gt;how to use tags to organize your Azure resources and management hierarchy&lt;/a&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

Get-AzResource # To fetch all resources



&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Apply tags to Azure Resource
&lt;/h2&gt;





&lt;p&gt;Use &lt;code&gt;New-AzTag&lt;/code&gt; to apply tag on resource in &lt;strong&gt;Azure&lt;/strong&gt;.&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

# Create Tag variable
$tags = @{"Dept"="Finance"; "Status"="Normal"}
# Get the resource that you want to appply tag on.
$resource = Get-AzResource -Name "Application Insights Smart Detection" -ResourceGroup AdmissionApplication
# Apply Tag
New-AzTag -ResourceId $resource.id -Tag $tags



&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  View Tag on Azure Resource
&lt;/h2&gt;





&lt;p&gt;Use &lt;code&gt;Get-AzTag&lt;/code&gt; cmdlet to view tag on Azure resource. You have to pass the resource Id though. You can also use &lt;code&gt;Get-AzResource&lt;/code&gt; cmdlet to view the tags directly under a particular resource.&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

# Get the resource that you want to view tag on.
$resource = Get-AzResource -Name "Application Insights Smart Detection" -ResourceGroup AdmissionApplicationGet-AzTag -ResourceId $resource.id
# View tags
Get-AzTag -ResourceId $resource.id



&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Delete Tag on a Azure Resource
&lt;/h2&gt;





&lt;p&gt;To remove specific tags, use &lt;strong&gt;Update-AzTag&lt;/strong&gt; and set &lt;strong&gt;-Operation&lt;/strong&gt; to &lt;strong&gt;Delete&lt;/strong&gt;. Pass in the tags you want to delete.&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

# Get the resource that you want to view tag on.
$resource = Get-AzResource -Name "Application Insights Smart Detection" -ResourceGroup AdmissionApplication
# View tags
Get-AzTag -ResourceId $resource.id
# Decide which tags to remove
$removeTags = @{"Dept"="Finance"; "Status"="Normal"}
# Delete the tags
Update-AzTag -ResourceId $resource.id -Tag $removeTags -Operation Delete
# Confirm Tags are deleted by fetching them again
Get-AzTag -ResourceId $resource.id



&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Delete Tag on a Azure Subscription
&lt;/h2&gt;





&lt;p&gt;To remove all tags from your Azure subscription, use the &lt;a href="https://docs.microsoft.com/en-us/powershell/module/az.resources/remove-aztag" rel="noopener noreferrer"&gt;Remove-AzTag&lt;/a&gt; command.&lt;/p&gt;
&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

# Get subscription by it's name
$subscription = (Get-AzSubscription -SubscriptionName "Example Subscription").Id
# Remove the tags
Remove-AzTag -ResourceId "/subscriptions/$subscription"



&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Merge Tag
&lt;/h2&gt;




&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

$tags = @{"Location"="Canada"}
# Merge Tag
Update-AzTag -ResourceId $resource.id -Tag $tags -Operation Merge



&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2&gt;
  
  
  Replace Tag
&lt;/h2&gt;




&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

$tags = @{"Dept"="Sales"; "Status"="High"}
# Replace tags
Update-AzTag -ResourceId $resource.id -Tag $tags -Operation Replace



&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Watch the entire videos on &lt;a href="https://www.youtube.com/playlist?list=PLZed_adPqIJrUamBBcr9rYC6GFqbWK1mG" rel="noopener noreferrer"&gt;&lt;strong&gt;Full Stack Master YouTube Channel&lt;/strong&gt; related to Managing Tags in Azure Resources&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Thanks for reading my article till end. I hope you learned something special today. If you enjoyed this article then please share to your friends and if you have suggestions or thoughts to share with me then please write in the comment box.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Become full stack developer 💻
&lt;/h2&gt;

&lt;p&gt;I teach at &lt;a href="https://www.fullstackmaster.net" rel="noopener noreferrer"&gt;Fullstack Master&lt;/a&gt;. If you want to become &lt;strong&gt;Software Developer&lt;/strong&gt; and grow your carrier as new &lt;strong&gt;Software Engineer&lt;/strong&gt; or &lt;strong&gt;Lead Developer/Architect&lt;/strong&gt;. Consider subscribing to our full stack development training programs. You will learn &lt;strong&gt;Angular, RxJS, JavaScript, System Architecture&lt;/strong&gt; and much more with lots of &lt;strong&gt;hands on coding&lt;/strong&gt;. We have All-Access Monthly membership plans and you will get unlimited access to all of our &lt;strong&gt;video&lt;/strong&gt; courses, &lt;strong&gt;slides&lt;/strong&gt; , &lt;strong&gt;download source code&lt;/strong&gt; &amp;amp; &lt;strong&gt;Monthly video calls&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Please subscribe to &lt;strong&gt;&lt;a href="https://www.fullstackmaster.net/pro" rel="noopener noreferrer"&gt;All-Access Membership PRO plan&lt;/a&gt;&lt;/strong&gt; to access &lt;em&gt;current&lt;/em&gt; and &lt;em&gt;future&lt;/em&gt; &lt;strong&gt;angular, node.js&lt;/strong&gt; and related courses.&lt;/li&gt;
&lt;li&gt;Please subscribe to &lt;strong&gt;&lt;a href="https://www.fullstackmaster.net/elite" rel="noopener noreferrer"&gt;All-Access Membership ELITE plan&lt;/a&gt;&lt;/strong&gt; to get everything from PRO plan. Additionally, you will get access to a monthly &lt;strong&gt;live Q&amp;amp;A video call&lt;/strong&gt; with &lt;code&gt;Rupesh&lt;/code&gt; and you can ask &lt;strong&gt;&lt;em&gt;doubts/questions&lt;/em&gt;&lt;/strong&gt; and get more help, tips and tricks.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Your bright future is awaiting for you so visit today &lt;a href="//www.fullstackmaster.net"&gt;FullstackMaster&lt;/a&gt; and allow me to help you to board on your dream software company as a new &lt;strong&gt;Software Developer, Architect or Lead Engineer&lt;/strong&gt; role.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💖 Say 👋 to me!&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Rupesh Tiwari&lt;br&gt;&lt;br&gt;
Founder of &lt;a href="https://www.fullstackmaster.net" rel="noopener noreferrer"&gt;Fullstack Master&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Email: &lt;a href="//mailto:rupesh.tiwari.info@gmail.com?subject=Hi"&gt;rupesh.tiwari.info@gmail.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Website: &lt;a href="https://www.rupeshtiwari.com" rel="noopener noreferrer"&gt;RupeshTiwari.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2Fa32nUcu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fimgur.com%2Fa32nUcu.png"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>azure</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How to improve Reliability in the cloud?</title>
      <dc:creator>Rupesh Tiwari</dc:creator>
      <pubDate>Sun, 12 Dec 2021 00:00:00 +0000</pubDate>
      <link>https://dev.to/rupeshtiwari/how-to-improve-reliability-in-the-cloud-2fm3</link>
      <guid>https://dev.to/rupeshtiwari/how-to-improve-reliability-in-the-cloud-2fm3</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Did you get a phone call from your customer saying they want to improve their application reliability while you move their workload to the cloud? If yes then continue reading this article. I will use Microsoft Azure to explain the Reliability concept and its improvement steps. You can certainly do the same in Google Cloud or Amazon AWS.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  What is Reliability?
&lt;/h2&gt;

&lt;p&gt;Well reliability is a derived concept. Basically you want your application to be available for your customer. Also you should ask what latency is acceptable for your application. If your application is slower or normal, your application users should not keep retrying to finish any transaction. How should your application fidelity be while your application is slow and not rendering properly. So in order to define reliability of your application you have to answer how much your application should be Available and what is your Latency that you want for your application.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Reliability = Availability + Latency

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;So basically reliability is something your Business has to define. You must talk to your customer and understand what kind of business they are running, what problem they want to solve, who are the target users for the application.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to increase Reliability?
&lt;/h2&gt;

&lt;p&gt;Reliability of your workload is a shared responsibility between you and your cloud provider. Platform Reliability such as datacenter, network and other hardware infrastructure is your cloud provider responsibility. However, application reliability is customer responsibility.&lt;/p&gt;

&lt;p&gt;In order to increase application reliability you must do below:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Choosing and Configuring correct cloud building blocks.&lt;/li&gt;
&lt;li&gt;Your application must be cloud aware. Like your code should have Retry logic to make sure that application is handling transient failures which is common in the cloud.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Right Building Blocks to increase Reliability
&lt;/h2&gt;

&lt;p&gt;Make sure you choose the right infrastructure building blocks in the cloud to protect their reliability impacts. You have to isolate the concerns and identify them like below:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Isolated VM failure such as OS, disk HDD(hard disk drive)  issue.&lt;/li&gt;
&lt;li&gt;Hardware failure such as server rack issues.&lt;/li&gt;
&lt;li&gt;Entire datacenter failure such as power/network issues.&lt;/li&gt;
&lt;li&gt;Entire Region failure such as natural disasters.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In order to protect VM disk and OS issues you need to use Premium Storage from Azure Cloud. To protect from hardware failure you must create a VM inside the Availability sets. To protect from entire data center failure you must consider deploying your workload in multiple Availability Zones. Also to protect from natural disasters make sure you deploy your workload in another region as well. So in summary you have to choose correct building blocks as per your requirement to improve reliability.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--7Q-A3exM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://lh6.googleusercontent.com/NmAPF2RRL9cWnGNk2trA4CDiJYP1T94JKw6eCDdIaiMh6cK-cDmxK5L-kFXm6arB43AGSYdXRrJ9NknkOoNxp6xavK_8DQohHvWjJDwkYWthLHm59aQYzUcNkjcjUSh7sw1cvqQy" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7Q-A3exM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://lh6.googleusercontent.com/NmAPF2RRL9cWnGNk2trA4CDiJYP1T94JKw6eCDdIaiMh6cK-cDmxK5L-kFXm6arB43AGSYdXRrJ9NknkOoNxp6xavK_8DQohHvWjJDwkYWthLHm59aQYzUcNkjcjUSh7sw1cvqQy" alt="" width="880" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to Improve Reliability of an Existing Workload?
&lt;/h2&gt;

&lt;p&gt;Start backup for your virtual machine, databases that you can enable for existing resources in Azure cloud. However, if your VMs are not in the Availability set then you can not put them in the availability set for existing resources. You have to do workaround and re-build some of them and put them in Availability sets again.&lt;/p&gt;

&lt;p&gt;In order to improve reliability of existing workload you must follow below steps on each use case:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Find Key components for the critical use case (which business is more concern)&lt;/li&gt;
&lt;li&gt;Failure Mode Analysis for the critical use case&lt;/li&gt;
&lt;li&gt;Calculate Composite SLA for the critical use case&lt;/li&gt;
&lt;li&gt;Improve Composite SLA to meet business requirement&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Failure Mode Analysis Technique for Reliability
&lt;/h2&gt;

&lt;p&gt;First you should talk to customers to find out which business capability they want to be up for what time. Example the purchase application written as asp.net needs to be up for 99.99 and 4 min per month down time. If business defines this then next you must learn their existing workload design consideration to achieve 99.99 SLA.&lt;/p&gt;

&lt;p&gt;Designing for failure is the philosophy to take while designing applications in the cloud. Exploring what happens if something fails? Take the architecture, look at the portions of the application piece by piece and apply failure mode analysis. Break this down into your solution as a series of key processes. Like in your application, the customer goes and searches for an item to buy.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Find the key components of the business use case
&lt;/h2&gt;

&lt;p&gt;So now let’s search what component has to be working to make search possible?&lt;/p&gt;

&lt;p&gt;Fo below architecture example in order to make sure Search is working below components must be up and running&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AKS with .net application&lt;/li&gt;
&lt;li&gt;Products service&lt;/li&gt;
&lt;li&gt;Cosmos DB&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s---MGiREGG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://lh4.googleusercontent.com/f4_vi4hkaP9Mm_CegNb3EIdZJi4sdcP6M5V4N4UN3hQx9xv6d2EzAgXgfGsl_Pt2fp2XjeWY8a691sTLYNE46L-XBLkWtaMp8euwTTKE3d-WfPKCQvTTDn8VYk1vFvsZORVVDv4j" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s---MGiREGG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://lh4.googleusercontent.com/f4_vi4hkaP9Mm_CegNb3EIdZJi4sdcP6M5V4N4UN3hQx9xv6d2EzAgXgfGsl_Pt2fp2XjeWY8a691sTLYNE46L-XBLkWtaMp8euwTTKE3d-WfPKCQvTTDn8VYk1vFvsZORVVDv4j" alt="" width="789" height="487"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Failure Mode Analysis
&lt;/h2&gt;

&lt;p&gt;Try to write down each component failure mode and their effect, impact and chances and work with your customer to learn more. This is a collaborative effort. Solutions Architect and Customer together must do this to come up with correct decisions.  For search use cases you want to check what happens if AKS is unavailable, Website is slow, CosmosDB unavailable for read and update use case.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AKS&lt;/strong&gt; is unavailable so we have to change the SLA to 99.95% on the API server of Kubernetes which is a controller plane. This is the SKU version we have to upgrade. In the worker plane we have a VM whose SLA is just like regular.  So businesses have to think of their own requirements to opt in if they want to upgrade the SLA or kubernetes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Web site&lt;/strong&gt; is down, because of fluctuation of load due to holiday session. Probability is unknown. So you must use a monitoring tool setup alert to learn more about this kind of problem. LOAD OVER TIME can be only learnt by monitoring and it’s trends.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cosmos DB&lt;/strong&gt; can not read or update. Cosmos DB has 99.99% SLA for a single region. Cosmos DB can not be updated so customers can not see the latest catalog, it is also covered by 99.99% SLA out of the box by Azure cloud.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Hn4Df5gL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://lh5.googleusercontent.com/iu8LobbMlbCm015XHh-IK0LDNnCgnpcy4fci8U2yyfL0CqeXKbllaoobPBFa3aUnRny_HuJevOw2g3W-XlZyuKOn7l4j2ogKzdhFrWhEvco1cz9ALewb8MHlbKStECxoTR3XOLKh" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Hn4Df5gL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://lh5.googleusercontent.com/iu8LobbMlbCm015XHh-IK0LDNnCgnpcy4fci8U2yyfL0CqeXKbllaoobPBFa3aUnRny_HuJevOw2g3W-XlZyuKOn7l4j2ogKzdhFrWhEvco1cz9ALewb8MHlbKStECxoTR3XOLKh" alt="" width="880" height="494"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Calculate Composite SLA
&lt;/h2&gt;

&lt;p&gt;AKS SLA is 99.95% and Cosmos DB SLA is 99.99%&lt;/p&gt;

&lt;p&gt;So overall composite SLA of AKS and Cosmos DB is 99.99 x 99.95 = &lt;strong&gt;99.94%&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--zoTPPS0s--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://lh4.googleusercontent.com/GCIAG58M95wm2POxLK8YbpqaPsmb_V-znzAPJ7-hcE_00BWNV3l4WTNCv7IjuHLiERLMkxy0-8nfVEDsdAVf776lQj3I15NdqVRF1k5XiXdBjhu2KCMfO-XVmqoyi7p07swRy3Rq" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--zoTPPS0s--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://lh4.googleusercontent.com/GCIAG58M95wm2POxLK8YbpqaPsmb_V-znzAPJ7-hcE_00BWNV3l4WTNCv7IjuHLiERLMkxy0-8nfVEDsdAVf776lQj3I15NdqVRF1k5XiXdBjhu2KCMfO-XVmqoyi7p07swRy3Rq" alt="" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4:  How to increase Composite SLA
&lt;/h2&gt;

&lt;p&gt;To increase the composed availability add redundancy to the solution. Let’s make 2 AKS, if one breaks the other will work. You can put them in multiple Azure Region East/South USA. They have to be identical. Deployment of the cluster and the containers would have to be deployed in an automated way to keep them identical. IAC (Infrastructure as Code) should be in a repository and used to deploy your resources. Since AKS is in multiple regions you need DB in both regions. Cosmos DB has a multimaster database you can use in 2 regions so any change you do in one region is synchronized in both regions out of the box.  You have to use Microsoft &lt;a href="https://docs.microsoft.com/en-us/azure/frontdoor/front-door-overview"&gt;Front Door&lt;/a&gt; to route between multiple regions.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AKS (Azure Kubernetes Service) with redundant will give you SLA 99.99% per region with multiple region SLA is 99.999975%&lt;/li&gt;
&lt;li&gt;Front Door SLA is 99.99%&lt;/li&gt;
&lt;li&gt;Cosmos DB with multiple writable region SLA 99.999%&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Composite SLA&lt;/strong&gt; = 0.99999975 x 0.9999 x 0.99999 = &lt;strong&gt;99.99%&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--qe5ir7In--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://lh3.googleusercontent.com/FfWkyWrjFJtX4F-lFVnBJWvy-8VmvLHrKxGjbibArAZ6VmeaZQsvTysSbFuG6B4TR8hSsL8AkGLzvo7vhk6gHPlnkQ-ajJH7gSlYKBlvVkjCjSps-HPT62EDogXQrqSyW-kWkSTJ" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--qe5ir7In--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://lh3.googleusercontent.com/FfWkyWrjFJtX4F-lFVnBJWvy-8VmvLHrKxGjbibArAZ6VmeaZQsvTysSbFuG6B4TR8hSsL8AkGLzvo7vhk6gHPlnkQ-ajJH7gSlYKBlvVkjCjSps-HPT62EDogXQrqSyW-kWkSTJ" alt="" width="880" height="583"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How to know if something is wrong in your web app?
&lt;/h2&gt;

&lt;p&gt;Create alert rules specify conditions and for actions you can alert humans with sms, or create action groups and execute some azure functions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8W1-ll1_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://lh3.googleusercontent.com/_D_EY_Jkd2qcVom9MCo4xRthm8E0rTF2iOW9ib_kLSMr3s1f1mWaPaFZ66AhVNEObFywS1qApOPG6PtaDwaks3ZJsU-5NJ33jT0j0OJFvF4ucF9cze8Gul6AfTyiigzA0d3g25BA" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8W1-ll1_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://lh3.googleusercontent.com/_D_EY_Jkd2qcVom9MCo4xRthm8E0rTF2iOW9ib_kLSMr3s1f1mWaPaFZ66AhVNEObFywS1qApOPG6PtaDwaks3ZJsU-5NJ33jT0j0OJFvF4ucF9cze8Gul6AfTyiigzA0d3g25BA" alt="" width="446" height="605"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Enable VM Replication for improved Reliability
&lt;/h2&gt;

&lt;p&gt;In addition to backup lots of customers are focused on disaster recovery and making sure the workloads are redundant and not just backed up. Meaning that if we had a planned or unplanned type of outage. Planned means upgrades to different applications, or we are testing our disaster recovery  or may be unplanned like some natural disaster or things of nature. So introduce resilience in the form of  being able to access backups that are in another region and to make those come online as quickly as possible to make sure that we reduce downtime to the extent possible.&lt;/p&gt;

&lt;h2&gt;
  
  
  Upgrade VM to Premium Disks to increase Reliability
&lt;/h2&gt;

&lt;p&gt;For production workloads, especially Big Data, SQL and other transactional DB upgrades to premium disk instead of standar disk offering. Premium disks also offer bursting capabilities.&lt;/p&gt;

&lt;p&gt;Burst means performance on heavy load.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;On-demand bursting: you pay whenever you have burst. When you have an inconsistent workload.&lt;/li&gt;
&lt;li&gt;Credit-based bursting:  Harvest or credit yourself with additional bursting capability when you are operating below the maximum thresholds that we have. In this case, you’re able to burn those credits by bursting when you need it without any other cost implications. So you accrue your bursting credits when you are not using them and use it when you need.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Upgrade VM to Managed Disks to increase Reliability
&lt;/h2&gt;

&lt;p&gt;Un-Managed Disks where you have to set the size, throughput limit, and add more resources to scale are called unmanaged disks.&lt;/p&gt;

&lt;p&gt;However in Managed Disk you get below processes automated for you by your cloud provider:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Set the size, throughput limit, add more resource to scale handled by azure&lt;/li&gt;
&lt;li&gt;Abstract the entire management layer of storage&lt;/li&gt;
&lt;li&gt;Compatible with availability set and availability zones, you get 99.99% availability for production workloads.&lt;/li&gt;
&lt;li&gt;Resiliency : 3 replicas across multiple hardware devices&lt;/li&gt;
&lt;li&gt;Granular role based access control&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How do I know what I don’t Know?
&lt;/h2&gt;

&lt;p&gt;You have to have a long term learning process. Just wait for another disaster, unexpected event and learn. The other option is to simulate/force failures and see what happens. Say stop AKS and check if your redundancy is working. Take a more experimental model, introduce real world scenarios and see how our workload works. Game day, setup scenario, one team generating un-predictable load by un-usual way, another team observing, are we seeing alerts are coming, are we seeing redundant machine status.&lt;/p&gt;

&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;p&gt;In order to get Reliability increased for your customers workload you must speak with them and understand their critical use case which they care most about. Follow the steps that I suggested in this article to come up with the desired reliability state defined by business by doing failure mode analysis in depth one by one for each important use case. You may have to teach your customer about premium disks for VM and their SLA improvement because of upgrading to premium disk. What is managed and unmanaged disks after migrating to managed disk resilience can be increased since it automatically replicates the disk into 3 multiple hardware devices. Consider replicating virtual machines to protect them from regional outages. Setup Azure Virtual Machine backup for improved reliability and to protect from human error or DB corruptions. Also make sure you set up alerts for your applications to send you email or create zendesk tickets whenever it is down. I hope now you have a good understanding about reliability improvement.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Thanks for reading my article till end. I hope you learned something special today. If you enjoyed this article then please share to your friends and if you have suggestions or thoughts to share with me then please write in the comment box.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💖 Say 👋 to me!&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Rupesh Tiwari&lt;br&gt;&lt;br&gt;
Founder of &lt;a href="https://www.fullstackmaster.net"&gt;Fullstack Master&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Email: &lt;a href="//mailto:rupesh.tiwari.info@gmail.com?subject=Hi"&gt;rupesh.tiwari.info@gmail.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Website: &lt;a href="https://www.rupeshtiwari.com"&gt;RupeshTiwari.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--t8h1zmCX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/5fBatz9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--t8h1zmCX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://imgur.com/5fBatz9.png" alt="" width="443" height="438"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>cloud</category>
      <category>tutorial</category>
      <category>beginners</category>
      <category>azure</category>
    </item>
  </channel>
</rss>
