<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Coder Legion - Recent posts tagged devices</title>
<link>https://coderlegion.com/tag/devices</link>
<description>Powered by Question2Answer</description>
<item>
<title>Cloud Computing Is Just npm install for Infrastructure</title>
<link>https://coderlegion.com/24091/cloud-computing-is-just-npm-install-for-infrastructure</link>
<description>
&lt;p&gt;Hello, I'm Ganesh. I'm building &lt;em&gt;git-lrc&lt;/em&gt;, an AI code reviewer that runs on every commit. It is free, unlimited, and source-available on Github. &lt;a href=&quot;https://github.com/HexmosTech/git-lrc&quot; rel=&quot;noopener noreferrer nofollow&quot;&gt;Star git-lrc on GitHub&lt;/a&gt; to help more developers discover the project. Do give it a try and share your feedback for improving the product.&lt;/p&gt;

&lt;p&gt;Every time you pull in a third-party package instead of writing something yourself, you make a trade: you stop owning the internals, but you're still on the hook for how you use it, what it costs you at scale, and what happens the day it breaks in production. &lt;/p&gt;

&lt;p&gt;Cloud computing runs on the exact same trade: you're just importing servers, storage, and networking instead of a library.&lt;/p&gt;

&lt;p&gt;That mental model answers the questions that actually matter once you move past the marketing pitch: If I don't manage the OS anymore, what am I still on the hook for? Do I self-host, use a managed service, or mix both? Why does my bill move even when my code didn't change? And what happens when the dependency I'm relying on goes down, gets slow, or degrades under load?&lt;/p&gt;

&lt;p&gt;In this article, I'll walk through the 5 concepts that answer those questions.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. The Shared Responsibility Model
&lt;/h2&gt;

&lt;p&gt;While cloud providers manage a significant portion of the infrastructure, customers still have important security and operational responsibilities. &lt;/p&gt;

&lt;p&gt;This concept is known as the &lt;strong&gt;Shared Responsibility Model&lt;/strong&gt;, and the division of duties changes depending on whether you're running workloads &lt;strong&gt;On-Premises&lt;/strong&gt;, or using &lt;strong&gt;IaaS&lt;/strong&gt;, &lt;strong&gt;PaaS&lt;/strong&gt;, or &lt;strong&gt;SaaS&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  On-Premises: You Manage Everything
&lt;/h3&gt;

&lt;p&gt;When applications run in your own data center, every component&amp;mdash;data, devices, accounts, IAM, applications, network controls, operating systems, physical servers, networking, and the datacenter itself is your responsibility. &lt;/p&gt;

&lt;p&gt;Since there's no cloud provider involved, there's nothing to share.&lt;/p&gt;

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

&lt;p&gt;Examples include virtual machines such as &lt;strong&gt;Amazon EC2&lt;/strong&gt;, &lt;strong&gt;Azure Virtual Machines&lt;/strong&gt;, and &lt;strong&gt;Google Compute Engine&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;The provider supplies the physical infrastructure, hosts, networking, and datacenters, while you manage data, devices, accounts, IAM, applications, network controls, and operating systems. &lt;/p&gt;

&lt;p&gt;IaaS offers the most flexibility of the cloud models but also requires the most operational management.&lt;/p&gt;

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

&lt;p&gt;Examples include &lt;strong&gt;Azure App Service&lt;/strong&gt;, &lt;strong&gt;AWS Elastic Beanstalk&lt;/strong&gt;, &lt;strong&gt;Google App Engine&lt;/strong&gt;, and &lt;strong&gt;Heroku&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;PaaS removes the burden of managing operating systems and infrastructure. Customers still manage data, devices, and accounts; IAM, applications, and network controls are shared; and the provider manages the OS, infrastructure, hosts, networking, and datacenters.&lt;/p&gt;

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

&lt;p&gt;Examples include &lt;strong&gt;Microsoft 365&lt;/strong&gt;, &lt;strong&gt;Salesforce&lt;/strong&gt;, &lt;strong&gt;Google Workspace&lt;/strong&gt;, and &lt;strong&gt;Dropbox&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;Customers manage data, devices, and accounts, with IAM as a shared responsibility. &lt;/p&gt;

&lt;p&gt;The provider manages everything else&amp;mdash;applications, network controls, OS, infrastructure, hosts, networking, and datacenters making SaaS the model with the lowest operational overhead.&lt;/p&gt;

&lt;h3&gt;
  
  
  Shared Responsibility at a Glance
&lt;/h3&gt;

&lt;div class=&quot;table-wrapper-paragraph&quot;&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Service Model&lt;/th&gt;
&lt;th&gt;Customer Manages&lt;/th&gt;
&lt;th&gt;Shared&lt;/th&gt;
&lt;th&gt;Provider Manages&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;On-Premises&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Everything&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;td&gt;Nothing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;IaaS&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;OS, applications, IAM, network controls, data&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;td&gt;Infrastructure &amp;amp; physical hardware&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;PaaS&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Data, devices, accounts&lt;/td&gt;
&lt;td&gt;IAM, applications, network controls&lt;/td&gt;
&lt;td&gt;OS, infrastructure &amp;amp; physical hardware&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;SaaS&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Data, devices, accounts&lt;/td&gt;
&lt;td&gt;IAM&lt;/td&gt;
&lt;td&gt;Applications, OS, infrastructure &amp;amp; physical hardware&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;No matter which model you choose, &lt;strong&gt;your data, devices, and user accounts remain your responsibility&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;As you move from On-Premises &amp;rarr; IaaS &amp;rarr; PaaS &amp;rarr; SaaS, the provider takes on progressively more of the operational burden but protecting users, managing access, and securing data always stay in your hands.&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgwhz66dm3bzh2vjz7f5e.png&quot; class=&quot;article-body-image-wrapper&quot;&gt;&lt;img src=&quot;https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgwhz66dm3bzh2vjz7f5e.png&quot; alt=&quot;&quot; width=&quot;800&quot; height=&quot;533&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Cloud Deployment Models: Public, Private, and Hybrid
&lt;/h2&gt;

&lt;p&gt;A cloud deployment model defines where your infrastructure is hosted, who owns it, and who can access it. &lt;/p&gt;

&lt;p&gt;The three primary models are:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Public&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Private&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hybrid&lt;/strong&gt; &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;each offer different levels of flexibility, security, and control.&lt;/p&gt;

&lt;h3&gt;
  
  
  Public Cloud
&lt;/h3&gt;

&lt;p&gt;Owned and operated by a provider such as Microsoft Azure, AWS, or Google Cloud Platform, with infrastructure shared among multiple customers.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Characteristics:&lt;/strong&gt; no hardware to maintain, rapid provisioning, pay-as-you-go pricing, high scalability, global availability.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Advantages:&lt;/strong&gt; lower upfront costs, rapid deployment, automatic maintenance, high availability ideal for startups and growing businesses.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Limitations:&lt;/strong&gt; less control, shared environment, potential compliance restrictions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best for:&lt;/strong&gt; web applications, mobile backends, dev/test environments, AI/ML workloads, disaster recovery.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Private Cloud
&lt;/h3&gt;

&lt;p&gt;Dedicated to a single organization, hosted either in-house or by a third-party provider, with no resource sharing across organizations.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Characteristics:&lt;/strong&gt; dedicated infrastructure, greater administrative control, enhanced security, custom networking.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Advantages:&lt;/strong&gt; better compliance support, increased data privacy, full infrastructure control, custom security policies.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Limitations:&lt;/strong&gt; higher costs, requires skilled administrators, slower scaling.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best for:&lt;/strong&gt; government, healthcare, banking and finance, and other heavily regulated enterprises.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Hybrid Cloud
&lt;/h3&gt;

&lt;p&gt;Combines public and private environments, letting workloads and data move between them as needed This keeps sensitive workloads private while using the public cloud for scale.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Characteristics:&lt;/strong&gt; combines both models, flexible workload placement, supports gradual migration, optimizes cost and performance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Advantages:&lt;/strong&gt; flexibility, business continuity, disaster recovery, cost optimization, easier migration from on-premises.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Limitations:&lt;/strong&gt; more complex architecture, requires strong networking and identity management, more governance overhead.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best for:&lt;/strong&gt; large enterprises, seasonal traffic spikes, backup/DR, organizations migrating to the cloud.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Quick Comparison
&lt;/h3&gt;

&lt;div class=&quot;table-wrapper-paragraph&quot;&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;Public Cloud&lt;/th&gt;
&lt;th&gt;Private Cloud&lt;/th&gt;
&lt;th&gt;Hybrid Cloud&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Ownership&lt;/td&gt;
&lt;td&gt;Cloud provider&lt;/td&gt;
&lt;td&gt;Single organization&lt;/td&gt;
&lt;td&gt;Both&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cost&lt;/td&gt;
&lt;td&gt;Low upfront&lt;/td&gt;
&lt;td&gt;Higher&lt;/td&gt;
&lt;td&gt;Moderate&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Scalability&lt;/td&gt;
&lt;td&gt;Excellent&lt;/td&gt;
&lt;td&gt;Limited by hardware&lt;/td&gt;
&lt;td&gt;Excellent&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Security&lt;/td&gt;
&lt;td&gt;Good&lt;/td&gt;
&lt;td&gt;Very High&lt;/td&gt;
&lt;td&gt;High&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Maintenance&lt;/td&gt;
&lt;td&gt;Provider&lt;/td&gt;
&lt;td&gt;Organization&lt;/td&gt;
&lt;td&gt;Shared&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Flexibility&lt;/td&gt;
&lt;td&gt;High&lt;/td&gt;
&lt;td&gt;Moderate&lt;/td&gt;
&lt;td&gt;Very High&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt; An e-commerce company might run its customer-facing website on the &lt;strong&gt;public cloud&lt;/strong&gt; to handle traffic spikes during sales events, store payment records in a &lt;strong&gt;private cloud&lt;/strong&gt; for compliance, and connect both through a &lt;strong&gt;hybrid architecture&lt;/strong&gt; for secure data exchange balancing security, performance, and cost.&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6r4rmhh6f2yhxknzsofq.png&quot; class=&quot;article-body-image-wrapper&quot;&gt;&lt;img src=&quot;https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6r4rmhh6f2yhxknzsofq.png&quot; alt=&quot;&quot; width=&quot;800&quot; height=&quot;613&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  3. The Consumption-Based Pricing Model
&lt;/h2&gt;

&lt;p&gt;Instead of purchasing expensive servers and networking equipment upfront, the cloud lets businesses pay only for what they use, an approach known as the &lt;strong&gt;consumption-based model&lt;/strong&gt;, or pay-as-you-go pricing. Think of it like an electricity bill: you pay for the units you consume, not a fixed monthly amount.&lt;/p&gt;

&lt;h3&gt;
  
  
  Traditional Infrastructure vs. Cloud Consumption
&lt;/h3&gt;

&lt;div class=&quot;table-wrapper-paragraph&quot;&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Traditional Infrastructure&lt;/th&gt;
&lt;th&gt;Consumption-Based Cloud&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Large upfront hardware investment&lt;/td&gt;
&lt;td&gt;No upfront infrastructure purchase&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pay even when servers are idle&lt;/td&gt;
&lt;td&gt;Pay only for resources you use&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Capacity planning required&lt;/td&gt;
&lt;td&gt;Scale resources up or down instantly&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hardware maintenance is your responsibility&lt;/td&gt;
&lt;td&gt;Cloud provider manages infrastructure&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbfec7bp8ez5zc34asivm.png&quot; class=&quot;article-body-image-wrapper&quot;&gt;&lt;img src=&quot;https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbfec7bp8ez5zc34asivm.png&quot; alt=&quot;&quot; width=&quot;800&quot; height=&quot;630&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Benefits
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;No upfront costs&lt;/strong&gt; : start using services immediately without buying hardware or licenses.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pay only for what you use&lt;/strong&gt; : compute hours, storage, database transactions, data transfer, and function executions are all billed based on actual consumption.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scale when needed&lt;/strong&gt; : resources grow during demand spikes and shrink afterward, an elasticity that's expensive to replicate on-premises.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Better cost optimization&lt;/strong&gt; : usage-based billing encourages practices like shutting down unused VMs, right-sizing instances, using autoscaling, and monitoring spend regularly.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2wqs8w0wm2xpn24vjvdq.png&quot; class=&quot;article-body-image-wrapper&quot;&gt;&lt;img src=&quot;https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2wqs8w0wm2xpn24vjvdq.png&quot; alt=&quot;&quot; width=&quot;800&quot; height=&quot;575&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Consumption-Based vs. Subscription-Based Pricing
&lt;/h3&gt;

&lt;div class=&quot;table-wrapper-paragraph&quot;&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Consumption-Based&lt;/th&gt;
&lt;th&gt;Subscription-Based&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Pay for actual usage&lt;/td&gt;
&lt;td&gt;Fixed monthly or yearly fee&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Flexible costs&lt;/td&gt;
&lt;td&gt;Predictable costs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ideal for changing workloads&lt;/td&gt;
&lt;td&gt;Best for consistent workloads&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Easy to scale&lt;/td&gt;
&lt;td&gt;Usually includes predefined resource limits&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;An e-commerce site running a consumption-based model keeps only a few virtual machines running on normal days, automatically adds instances during festival sales, and scales back down once traffic normalizes, paying only for the extra capacity while it's actually in use.&lt;/p&gt;

&lt;p&gt;To avoid cost surprises, it's worth setting spending budgets, enabling billing alerts, monitoring usage, and reviewing bills regularly.&lt;/p&gt;

&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F02ddhlq46lygqazjgcyt.png&quot; class=&quot;article-body-image-wrapper&quot;&gt;&lt;img src=&quot;https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F02ddhlq46lygqazjgcyt.png&quot; alt=&quot;&quot; width=&quot;800&quot; height=&quot;559&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. High Availability vs. Scalability
&lt;/h2&gt;

&lt;p&gt;Two qualities determine whether users get a smooth experience in the cloud: &lt;strong&gt;high availability&lt;/strong&gt; and &lt;strong&gt;scalability&lt;/strong&gt;. They're often mentioned together, but they solve different problems.&lt;/p&gt;

&lt;h3&gt;
  
  
  High Availability
&lt;/h3&gt;

&lt;p&gt;High availability (HA) is a system's ability to remain operational even when failures occur. Rather than preventing every failure, cloud platforms detect problems and automatically shift workloads to healthy resources. Providers achieve this through redundant infrastructure, multiple data centers and Availability Zones, automatic failover, and SLAs that define expected uptime.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Example: if a server crashes during an online banking transaction, traffic is redirected to a healthy instance so customers don't lose access to their accounts.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Scalability
&lt;/h3&gt;

&lt;p&gt;Scalability is the ability to handle increasing or decreasing workloads by adjusting resources&amp;mdash;a matter of capacity rather than uptime.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Vertical scaling (scale up):&lt;/strong&gt; add more CPU, RAM, or faster storage to an existing machine&amp;mdash;simple, but limited by hardware ceilings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Horizontal scaling (scale out):&lt;/strong&gt; add more instances and distribute traffic across them  preferred for cloud-native applications, and often automated based on CPU, memory, or request volume.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  High Availability vs. Scalability
&lt;/h3&gt;

&lt;div class=&quot;table-wrapper-paragraph&quot;&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;High Availability&lt;/th&gt;
&lt;th&gt;Scalability&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Keeps services running during failures&lt;/td&gt;
&lt;td&gt;Handles increasing workloads efficiently&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Focuses on minimizing downtime&lt;/td&gt;
&lt;td&gt;Focuses on increasing capacity&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Uses redundancy and failover&lt;/td&gt;
&lt;td&gt;Uses additional computing resources&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Improves reliability&lt;/td&gt;
&lt;td&gt;Improves performance under load&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A movie ticket booking platform sees a traffic surge when tickets for a blockbuster release, the application automatically adds servers to handle demand (scalability), and if one server fails mid-rush, requests are redirected to healthy servers without interrupting users (high availability).&lt;/p&gt;

&lt;p&gt;A well-designed cloud application aims for both.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Reliability and Predictability: Building Trust Beyond Uptime
&lt;/h2&gt;

&lt;p&gt;Hosting an application in the cloud doesn't, by itself, guarantee a great experience. Users expect applications to stay available, recover quickly from failures, and perform consistently regardless of workload&amp;mdash;expectations built on two more fundamental principles: &lt;strong&gt;reliability&lt;/strong&gt; and &lt;strong&gt;predictability&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Understanding Reliability
&lt;/h3&gt;

&lt;p&gt;Reliability is a system's ability to continue operating, or recover quickly, when failures occur. Hardware failures, software bugs, network outages, and even data center outages are inevitable in distributed systems, so rather than trying to eliminate every failure, cloud platforms are designed to detect, isolate, and recover from them automatically, distributing applications across multiple VMs, Availability Zones, or regions so that if one component goes down, another takes over with minimal disruption.&lt;/p&gt;

&lt;p&gt;For example, if a virtual machine crashes unexpectedly, the platform can automatically provision a replacement and restore service without manual intervention.&lt;/p&gt;

&lt;h3&gt;
  
  
  Understanding Predictability
&lt;/h3&gt;

&lt;p&gt;Predictability is about delivering consistent application behavior, performance, and costs over time, giving teams confidence that infrastructure will respond as expected under both normal and peak workloads. Providers support this through tools that monitor infrastructure health, analyze workload patterns, estimate future resource needs, and automatically adjust capacity. The result:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Stable application response times&lt;/li&gt;
&lt;li&gt;Consistent system behavior&lt;/li&gt;
&lt;li&gt;Predictable infrastructure costs&lt;/li&gt;
&lt;li&gt;Better resource planning&lt;/li&gt;
&lt;li&gt;Improved operational efficiency&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Reliability vs. Predictability
&lt;/h3&gt;

&lt;div class=&quot;table-wrapper-paragraph&quot;&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Reliability&lt;/th&gt;
&lt;th&gt;Predictability&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Focuses on recovering from failures&lt;/td&gt;
&lt;td&gt;Focuses on maintaining consistent performance and behavior&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ensures applications remain available&lt;/td&gt;
&lt;td&gt;Ensures applications perform consistently over time&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Achieved through redundancy, failover, and fault tolerance&lt;/td&gt;
&lt;td&gt;Achieved through monitoring, autoscaling, analytics, and capacity planning&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Measured by availability, resilience, and recovery&lt;/td&gt;
&lt;td&gt;Measured by performance consistency, scalability, and cost stability&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Reliability answers: &lt;em&gt;&quot;Will the application continue running if something fails?&quot;&lt;/em&gt; Predictability answers: &lt;em&gt;&quot;Will the application continue performing as expected as demand changes?&quot;&lt;/em&gt;&amp;lt;&lt;/p&gt;
</description>
<category>Other</category>
<guid isPermaLink="true">https://coderlegion.com/24091/cloud-computing-is-just-npm-install-for-infrastructure</guid>
<pubDate>Sun, 16 Aug 2026 08:44:28 +0000</pubDate>
</item>
<item>
<title>Why Passkeys Don’t Work on Some Devices: Device-Level Limitations</title>
<link>https://coderlegion.com/15289/why-passkeys-dont-work-on-some-devices-device-level-limitations</link>
<description>
&lt;p&gt;Passkeys fail on some devices because they depend on WebAuthn, operating systems, browsers, and secure hardware working together. Passkeys are not a standalone feature; they are a coordinated system involving the browser (client), authenticator (device), and server (relying party).&lt;/p&gt;
&lt;p&gt;Devices fail passkey authentication when any layer is incomplete or inconsistent. Older operating systems lack platform authenticators like iCloud Keychain or Windows Hello. Browsers may implement WebAuthn differently or incompletely. Hardware limitations such as missing TPM or Secure Enclave prevent secure key storage.&lt;/p&gt;
&lt;p&gt;Cross-device passkeys depend on cloud sync systems like Apple iCloud or Google Password Manager. When sync fails, passkeys become unavailable across devices.&lt;/p&gt;
&lt;p&gt;Passkeys fail due to system-level fragmentation, not single-point bugs.&lt;br&gt;Reliable passkey authentication requires full stack support across device, OS, and browser.&lt;/p&gt;
&lt;h2&gt;Quick TL;DR&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Passkeys depend on WebAuthn, not just frontend implementation.&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;OS, browser, and hardware must all support passkeys.&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Older devices fail due to missing secure hardware modules.&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Cross-device login depends on ecosystem sync (Apple/Google).&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Fallback authentication is mandatory for production systems.&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;What Are Passkeys (Deep Technical Context)&lt;/h2&gt;
&lt;p&gt;Passkeys are FIDO2 credentials built on WebAuthn and CTAP protocols. They replace passwords using asymmetric cryptography.&lt;/p&gt;
&lt;p&gt;Each passkey includes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;A &lt;strong&gt;public key&lt;/strong&gt; stored on the server&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A &lt;strong&gt;private key&lt;/strong&gt; stored inside a device authenticator&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The private key never leaves the device. Authentication happens through cryptographic signatures.&lt;/p&gt;
&lt;p&gt;WebAuthn defines how browsers interact with authenticators and servers.&lt;/p&gt;
&lt;h3&gt;Key Components&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Relying Party (Server)&lt;/strong&gt; &amp;rarr; verifies identity&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Client (Browser/OS)&lt;/strong&gt; &amp;rarr; mediates authentication&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Authenticator (Device)&lt;/strong&gt; &amp;rarr; stores keys and signs challenges&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Passkeys are WebAuthn credentials stored in authenticators.&lt;br&gt;Authentication uses cryptographic signatures instead of passwords.&lt;/p&gt;
&lt;p&gt;For full conceptual explanation:&lt;br&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://mojoauth.com/blog/what-are-passkeys-and-how-they-work&quot;&gt;https://mojoauth.com/blog/what-are-passkeys-and-how-they-work&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;How Passkeys Actually Work&lt;/h2&gt;
&lt;h3&gt;Registration Ceremony&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Server generates challenge&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Browser calls &lt;code&gt;navigator.credentials.create()&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Authenticator generates key pair&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Private key stored in secure hardware&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Public key returned with attestation&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Server stores public key&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;WebAuthn ensures keys are scoped to the domain.&lt;/p&gt;
&lt;p&gt;Passkeys are origin-bound and cannot be reused across sites.&lt;/p&gt;
&lt;h3&gt;Authentication Ceremony&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Server sends challenge&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Browser calls &lt;code&gt;navigator.credentials.get()&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Authenticator signs challenge&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;User verifies identity (biometric/PIN)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Signed assertion returned&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Server verifies signature&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Authentication proves possession of private key without exposing it.&lt;/p&gt;
&lt;h2&gt;Authenticator Types (Critical for Failures)&lt;/h2&gt;
&lt;h3&gt;1. Platform Authenticators&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Built into device&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Examples:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;iCloud Keychain&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Android Keystore&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Windows Hello&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;2. Roaming Authenticators&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;External devices&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Examples:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Security keys (YubiKey)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Phones via QR login&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;3. Multi-Device Passkeys&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Synced via cloud&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Stored across devices&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Different authenticator types behave differently across devices.&lt;/p&gt;
&lt;h2&gt;OS-Level Support (Precise Reality, Not Marketing)&lt;/h2&gt;
&lt;h3&gt;Apple Ecosystem&lt;/h3&gt;
&lt;table class=&quot;border-collapse border border-muted&quot; style=&quot;min-width: 50px;&quot;&gt;&lt;colgroup&gt;&lt;col style=&quot;min-width: 25px;&quot;&gt;&lt;col style=&quot;min-width: 25px;&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr class=&quot;border-b border-muted&quot;&gt;&lt;th class=&quot;border border-muted bg-muted px-2 py-1 text-left font-medium&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;OS&lt;/p&gt;&lt;/th&gt;&lt;th class=&quot;border border-muted bg-muted px-2 py-1 text-left font-medium&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Real Behavior&lt;/p&gt;&lt;/th&gt;&lt;/tr&gt;&lt;tr class=&quot;border-b border-muted&quot;&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;iOS 16+&lt;/p&gt;&lt;/td&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Full passkey support&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr class=&quot;border-b border-muted&quot;&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;iOS 15&lt;/p&gt;&lt;/td&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;No native support&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr class=&quot;border-b border-muted&quot;&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;macOS Ventura (13)+&lt;/p&gt;&lt;/td&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Full support&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr class=&quot;border-b border-muted&quot;&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;macOS Monterey&lt;/p&gt;&lt;/td&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Limited&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;

&lt;h3&gt;Important Constraints&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;iCloud Keychain must be enabled for passkey storage and sync.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;User must be signed in with a valid Apple ID.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Device must have passcode or biometric authentication enabled.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Passkeys are only available on iOS 16+, iPadOS 16+, and macOS Ventura+.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;All devices must be part of the same Apple ecosystem for seamless sync.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Passkeys on Apple devices depend entirely on iCloud Keychain infrastructure.&lt;/p&gt;
&lt;h3&gt;Hidden Limitations&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Passkeys are tightly coupled to Apple&amp;rsquo;s ecosystem and account system.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cross-platform usage relies on QR-based fallback mechanisms.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;iCloud sync delays can cause passkeys to appear missing on new devices.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Shared devices or multiple Apple IDs can break passkey availability.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Enterprise restrictions may disable iCloud Keychain, blocking passkeys.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Apple passkeys work best within a fully aligned Apple ecosystem.&lt;br&gt;Cross-device reliability decreases outside Apple-controlled environments.&lt;/p&gt;
&lt;h2&gt;Android Ecosystem&lt;/h2&gt;
&lt;table class=&quot;border-collapse border border-muted&quot; style=&quot;min-width: 50px;&quot;&gt;&lt;colgroup&gt;&lt;col style=&quot;min-width: 25px;&quot;&gt;&lt;col style=&quot;min-width: 25px;&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr class=&quot;border-b border-muted&quot;&gt;&lt;th class=&quot;border border-muted bg-muted px-2 py-1 text-left font-medium&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;OS&lt;/p&gt;&lt;/th&gt;&lt;th class=&quot;border border-muted bg-muted px-2 py-1 text-left font-medium&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Real Behavior&lt;/p&gt;&lt;/th&gt;&lt;/tr&gt;&lt;tr class=&quot;border-b border-muted&quot;&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Android 14+&lt;/p&gt;&lt;/td&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Stable support&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr class=&quot;border-b border-muted&quot;&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Android 9&amp;ndash;13&lt;/p&gt;&lt;/td&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Partial / fragmented&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr class=&quot;border-b border-muted&quot;&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Android &amp;lt;9&lt;/p&gt;&lt;/td&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Unsupported&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;

&lt;h3&gt;Requirements&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Google Play Services&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Google Password Manager&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Device lock enabled&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Hidden Problems&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;OEM fragmentation (Samsung vs Pixel behavior differs)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Inconsistent biometric APIs&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Android passkey support varies by manufacturer and OS version.&lt;/p&gt;
&lt;h2&gt;Windows Ecosystem&lt;/h2&gt;
&lt;h3&gt;OS Support and Reality&lt;/h3&gt;
&lt;table class=&quot;border-collapse border border-muted&quot; style=&quot;min-width: 50px;&quot;&gt;&lt;colgroup&gt;&lt;col style=&quot;min-width: 25px;&quot;&gt;&lt;col style=&quot;min-width: 25px;&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr class=&quot;border-b border-muted&quot;&gt;&lt;th class=&quot;border border-muted bg-muted px-2 py-1 text-left font-medium&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;OS&lt;/p&gt;&lt;/th&gt;&lt;th class=&quot;border border-muted bg-muted px-2 py-1 text-left font-medium&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Passkey Support&lt;/p&gt;&lt;/th&gt;&lt;/tr&gt;&lt;tr class=&quot;border-b border-muted&quot;&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Windows 11 (22H2+)&lt;/p&gt;&lt;/td&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Full support&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr class=&quot;border-b border-muted&quot;&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Windows 10&lt;/p&gt;&lt;/td&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Partial / inconsistent&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr class=&quot;border-b border-muted&quot;&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Older versions&lt;/p&gt;&lt;/td&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Not supported&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;Windows passkey support is strongest on Windows 11 with modern updates.&lt;/p&gt;
&lt;h3&gt;Important Constraints&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Windows Hello must be configured for passkey authentication.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;TPM 2.0 is required for secure key storage.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Device must have PIN, fingerprint, or facial recognition enabled.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Browser must support WebAuthn (Edge or Chrome recommended).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;User must allow credential storage at OS level.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Windows passkeys rely on Windows Hello as the platform authenticator.&lt;/p&gt;
&lt;h3&gt;Hidden Limitations&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Enterprise group policies can disable WebAuthn or Windows Hello.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Some corporate devices restrict biometric or PIN-based login.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;TPM misconfiguration can silently break passkey registration.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Older Windows builds lack proper WebAuthn integration.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cross-device passkey sync is weaker compared to Apple or Google ecosystems.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Windows passkey reliability depends heavily on enterprise configurations.&lt;br&gt;Corporate environments are a common source of passkey failures.&lt;/p&gt;
&lt;h3&gt;Browser-Level Behavior on Windows&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Microsoft Edge provides the most stable passkey experience.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Google Chrome supports passkeys but depends on Windows Hello integration.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Firefox has limited passkey UX and inconsistent support.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Browser choice significantly impacts passkey behavior on Windows.&lt;/p&gt;
&lt;h3&gt;Common Failure Scenarios&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Windows Hello not configured &amp;rarr; passkey prompt never appears&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;TPM disabled &amp;rarr; passkey creation fails silently&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Corporate policy blocks WebAuthn &amp;rarr; authentication fails&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Using outdated Windows 10 &amp;rarr; inconsistent behavior&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Most Windows passkey failures are caused by configuration, not code.&lt;/p&gt;
&lt;h3&gt;Practical Fixes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Enable Windows Hello (PIN or biometrics)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Ensure TPM 2.0 is active in BIOS&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Update to latest Windows 11 version&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Use Edge or latest Chrome&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Check enterprise policy restrictions&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Correct configuration resolves most Windows passkey issues.&lt;/p&gt;
&lt;h2&gt;Linux Reality (Important Edge Case)&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;No native passkey ecosystem&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Requires:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;External authenticator&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;QR-based login&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Linux lacks first-class passkey ecosystem support.&lt;/p&gt;
&lt;h2&gt;Browser Support (Detailed + Realistic)&lt;/h2&gt;
&lt;p&gt;Browser support for passkeys is based on WebAuthn implementation, but real-world behavior varies across platforms. A browser may support WebAuthn technically but still fail in certain device or ecosystem scenarios.&lt;/p&gt;
&lt;p&gt;Browser support for passkeys is platform-dependent, not just version-dependent.&lt;/p&gt;
&lt;h3&gt;Supported Browsers and Versions&lt;/h3&gt;
&lt;table class=&quot;border-collapse border border-muted&quot; style=&quot;min-width: 75px;&quot;&gt;&lt;colgroup&gt;&lt;col style=&quot;min-width: 25px;&quot;&gt;&lt;col style=&quot;min-width: 25px;&quot;&gt;&lt;col style=&quot;min-width: 25px;&quot;&gt;&lt;/colgroup&gt;&lt;tbody&gt;&lt;tr class=&quot;border-b border-muted&quot;&gt;&lt;th class=&quot;border border-muted bg-muted px-2 py-1 text-left font-medium&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Browser&lt;/p&gt;&lt;/th&gt;&lt;th class=&quot;border border-muted bg-muted px-2 py-1 text-left font-medium&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Minimum Version&lt;/p&gt;&lt;/th&gt;&lt;th class=&quot;border border-muted bg-muted px-2 py-1 text-left font-medium&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Real-World Support&lt;/p&gt;&lt;/th&gt;&lt;/tr&gt;&lt;tr class=&quot;border-b border-muted&quot;&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Chrome (Chromium)&lt;/p&gt;&lt;/td&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;108+&lt;/p&gt;&lt;/td&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Stable, but OS-dependent&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr class=&quot;border-b border-muted&quot;&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Safari&lt;/p&gt;&lt;/td&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;16+&lt;/p&gt;&lt;/td&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Best on Apple devices&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr class=&quot;border-b border-muted&quot;&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Edge&lt;/p&gt;&lt;/td&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;108+&lt;/p&gt;&lt;/td&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Strong on Windows&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr class=&quot;border-b border-muted&quot;&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Firefox&lt;/p&gt;&lt;/td&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;109+&lt;/p&gt;&lt;/td&gt;&lt;td class=&quot;border border-muted px-2 py-1&quot; colspan=&quot;1&quot; rowspan=&quot;1&quot;&gt;&lt;p&gt;Partial UX support&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;

&lt;h3&gt;Google Chrome (Chromium Ecosystem)&lt;/h3&gt;
&lt;p&gt;Chrome provides the most widely used WebAuthn implementation across platforms.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Full passkey support on Chrome 108+&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Relies on OS-level authenticators (Android, Windows Hello, macOS)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Supports cross-device authentication via QR flow&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Limitations&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Behavior varies between Android, Windows, and macOS&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Sync depends on Google Password Manager&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Older Chrome versions lack passkey UX&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Chrome is consistent at API level but varies at platform level.&lt;/p&gt;
&lt;h3&gt;Safari (Apple Ecosystem)&lt;/h3&gt;
&lt;p&gt;Safari provides the most seamless passkey experience within Apple devices.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Deep integration with iCloud Keychain&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Native biometric prompts (Face ID / Touch ID)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Strong UX consistency across iPhone, iPad, and Mac&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Limitations&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Limited outside Apple ecosystem&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cross-platform flows rely on QR-based login&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Debugging WebAuthn issues is harder&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Safari offers the best UX but is tightly locked to Apple ecosystem.&lt;/p&gt;
&lt;h3&gt;Microsoft Edge (Windows Ecosystem)&lt;/h3&gt;
&lt;p&gt;Edge is optimized for Windows and integrates directly with Windows Hello.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Uses Windows Hello for authentication&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Stable WebAuthn implementation on Windows 11&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Works well with enterprise environments&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Limitations&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Dependent on Windows Hello configuration&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Enterprise policies may restrict behavior&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Less flexible outside Windows ecosystem&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Edge provides the most stable passkey experience on Windows.&lt;/p&gt;
&lt;h3&gt;Mozilla Firefox&lt;/h3&gt;
&lt;p&gt;Firefox supports WebAuthn but has slower adoption of passkey UX improvements.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Basic WebAuthn support available&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Works with security keys and some platform authenticators&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Limitations&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Limited passkey UI compared to Chrome/Safari&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Inconsistent cross-device support&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Slower updates for passkey features&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Firefox support exists but is not fully optimized for passkeys.&lt;/p&gt;
&lt;h3&gt;Key Browser-Level Limitations&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;WebAuthn APIs are implemented differently across browsers.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Passkey UX flows vary significantly between browsers.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cross-device authentication behavior is inconsistent.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Fallback handling differs across implementations.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Browser inconsistency is a major source of passkey failures.&lt;/p&gt;
&lt;h3&gt;Common Failure Scenarios&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Using outdated browser version &amp;rarr; passkey prompt not triggered&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Browser does not detect platform authenticator &amp;rarr; login fails&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Cross-device QR flow fails &amp;rarr; authentication breaks&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Mixed browser environments &amp;rarr; inconsistent user experience&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Most browser-related passkey failures are due to version mismatch or platform differences.&lt;/p&gt;
&lt;h3&gt;Practical Fixes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Always use latest browser version&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Prefer Chrome, Safari, or Edge for production&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Detect WebAuthn support before initiating login&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Provide fallback authentication methods&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Test across multiple browsers and devices&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Testing across browser and OS combinations is critical for reliability.&lt;/p&gt;
&lt;h3&gt;Final Insight&lt;/h3&gt;
&lt;p&gt;Browsers do not implement passkeys in isolation.&lt;br&gt;They depend on operating systems and hardware for actual authentication.&lt;/p&gt;
&lt;p&gt;Browser support alone does not guarantee passkey success.&lt;br&gt;Passkeys work only when browser, OS, and hardware are aligned.&lt;/p&gt;
&lt;h2&gt;Mobile Passkey Flows&lt;/h2&gt;
&lt;h3&gt;Same Device (Native Flow)&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;p&gt;User clicks login&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;OS prompts biometric&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Authenticator signs challenge&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Login completes&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;Cross-Device (Hybrid Transport)&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Desktop shows QR&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Mobile scans QR&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Mobile signs challenge&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Desktop session established&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This uses FIDO Cross-Device Authentication (CDA)&lt;/p&gt;
&lt;h3&gt;Where It Breaks&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Bluetooth disabled&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Devices not nearby&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Ecosystem mismatch&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Cross-device passkeys depend on proximity and ecosystem trust.&lt;/p&gt;
&lt;h2&gt;Why Passkeys Fail&lt;/h2&gt;
&lt;p&gt;Passkeys fail when any layer in the authentication stack is misaligned. Passkey authentication depends on coordination between the brows&lt;/p&gt;
</description>
<category>Other</category>
<guid isPermaLink="true">https://coderlegion.com/15289/why-passkeys-dont-work-on-some-devices-device-level-limitations</guid>
<pubDate>Tue, 21 Apr 2026 21:13:10 +0000</pubDate>
</item>
</channel>
</rss>