Skip to content

// faq

Questions and answers

Short answers about archhy and the architectures on its blog. For how to do something in the editor, see the docs.

Kubernetes

Can I paste these Kubernetes prompts into archhy?

Yes. Replace the example names and assumptions, use Generate with AI for a new diagram, then inspect and refine the result. The prompts are starting briefs, not tested deployment specifications.

From: How to prompt archhy: 10 Kubernetes diagram examples

How do I improve a diagram without generating it again?

Use Edit with AI, keep Preserve layout on, name the objects to change and say what must stay. Ask for one change and inspect it before continuing.

From: How to prompt archhy: 10 Kubernetes diagram examples

Should every Kubernetes object appear in the diagram?

No. Include objects needed to answer the reader's question. Split traffic, delivery and operations into separate views when their relationships become hard to follow.

From: How to prompt archhy: 10 Kubernetes diagram examples

Does a generated diagram validate my cluster?

No. Check it against your manifests, controller configuration and actual network behaviour before relying on it.

From: How to prompt archhy: 10 Kubernetes diagram examples

Does Argo CD carry application traffic?

No. It reconciles desired configuration; customer traffic reaches application endpoints independently.

From: Argo CD GitOps: prompt delivery and runtime as separate lanes

Who pulls a pod image?

The kubelet on the node arranges the image pull through the container runtime, not Argo CD.

From: Argo CD GitOps: prompt delivery and runtime as separate lanes

Is every CronJob run guaranteed to execute exactly once?

No. Design the job to handle repeat or missed execution and verify the actual schedule configuration.

From: CronJob architecture: prompt a retry-safe scheduled export

Is a reporting export a backup strategy?

Not by itself. Recovery needs a separate design and a tested restore process.

From: CronJob architecture: prompt a retry-safe scheduled export

Should I put a real secret value in the prompt?

No. Use symbolic names; the relationship can be explained without credentials.

From: External Secrets: prompt secret delivery without exposing values

Does synchronization prove the application uses the new value?

No. Check the consumption pattern and actual application reload behaviour separately.

From: External Secrets: prompt secret delivery without exposing values

Does KEDA process the messages?

No. The worker processes messages; KEDA uses event-source metrics to drive workload scaling.

From: KEDA queue workers: prompt scaling without confusing message flow

Does scale-to-zero make the whole system free?

No. Queues, storage, cluster capacity and other services can still incur cost.

From: KEDA queue workers: prompt scaling without confusing message flow

Is Activator always absent from warm requests?

No. Its presence depends on routing and capacity configuration; label the diagram as a conditional example.

From: Knative Serving: prompt warm requests and cold starts

Is a Knative Service a Kubernetes Service?

They are different API resources. Label them explicitly rather than assuming the same name means the same role.

From: Knative Serving: prompt warm requests and cold starts

Does drawing a namespace isolate its workloads?

No. A namespace boundary is visual grouping; enforcement depends on the network implementation and applicable policies.

From: Kubernetes NetworkPolicy: prompt boundaries and allowed traffic

Is this a complete network security design?

No. It is a review view of intended connections, with identity, encryption and other controls outside its scope.

From: Kubernetes NetworkPolicy: prompt boundaries and allowed traffic

Is a Gateway object the same as a running proxy?

No. The configuration object and the data-plane implementation have different roles; show and label that distinction.

From: Kubernetes web app: prompt the request path with Gateway API

Does this diagram configure HPA or private connectivity?

No. It illustrates the intended relationships. Check resource requests, metrics and actual network configuration separately.

From: Kubernetes web app: prompt the request path with Gateway API

Should I draw every pod in both clusters?

Usually not in an overview. Use application groups and link to a separate regional detail view.

From: Multi-cluster Kubernetes: prompt an overview readers can follow

Does a service mesh replicate application state?

No. State consistency and replication need their own application or data-service design.

From: Multi-cluster Kubernetes: prompt an overview readers can follow

Does installing a Collector enable every signal?

No. The pipeline depends on instrumentation and configured receivers, processors and exporters.

From: OpenTelemetry on Kubernetes: prompt the telemetry pipeline

Is this automatically the HPA metrics source?

No. That requires an explicit resource or custom-metrics integration.

From: OpenTelemetry on Kubernetes: prompt the telemetry pipeline

Does a StatefulSet automatically replicate data?

No. Application replication needs its own implementation and must be described separately.

From: StatefulSet diagrams: prompt pod identity and per-pod storage

Why show a separate claim for each member?

It makes storage ownership visible and avoids implying that every replica mounts the same data volume.

From: StatefulSet diagrams: prompt pod identity and per-pod storage

Can WordPress run on Kubernetes?

Yes. A Deployment runs WordPress, a database runs alongside or as a managed service, and PersistentVolumeClaims keep files and data across pod restarts.

From: WordPress on Kubernetes: from tutorial to production

Why can't I scale the WordPress Deployment to three replicas?

Its volume is ReadWriteOnce, so only one node can mount it read-write. Use ReadWriteMany storage or move media to object storage first.

From: WordPress on Kubernetes: from tutorial to production

Should MySQL run in Kubernetes?

It can, ideally as a StatefulSet with an operator, but a managed database is usually simpler and safer for production.

From: WordPress on Kubernetes: from tutorial to production

How does WordPress find the MySQL pod?

Through the Service name. The WORDPRESS_DB_HOST variable is set to wordpress-mysql, and cluster DNS resolves it.

From: WordPress on Kubernetes: from tutorial to production

Product updates

Where is the archhy editor?

At archhy.com/app. The home page's Start drawing button opens it too.

From: A new archhy.com, a new look and safety nets

Does archhy have a dark mode?

Yes. Choose Dark, Graphite dark or System. Diagrams and downloads stay light on white.

From: A new archhy.com, a new look and safety nets

How do I share an architecture diagram read-only?

Save it to your library, then use File ▸ Share a view link… to create a link you can turn off at any time.

From: A new archhy.com, a new look and safety nets

Is there a free Azure architecture diagram tool?

archhy includes the Azure icons for everyone. You can draw, save to your browser and download without an account.

From: Azure, Google Cloud and Kubernetes icons for everyone

Can I mix AWS, Azure and Google Cloud in one diagram?

Yes. The chips only change which icons are listed; one diagram can hold items from every pack.

From: Azure, Google Cloud and Kubernetes icons for everyone

Are my imported icons uploaded anywhere?

No. They are read and stored in your browser only, and removed when you sign out.

From: Azure, Google Cloud and Kubernetes icons for everyone

Does archhy have Kubernetes icons?

Yes, the official Kubernetes icon set, with search by kubectl short names and a Kubernetes cluster sample.

From: Azure, Google Cloud and Kubernetes icons for everyone

How do I change the route of a connector?

Select the rail, then drag the handle on any straight run or the dot on any corner. On a touch screen, tap the handle before dragging it.

From: Rails, shapes and callouts in archhy

Can I reconnect a rail to a different service?

Yes. With a mouse, drag the rail's end to another pad. On a touch screen, use Move start or Move end, then tap the new service.

From: Rails, shapes and callouts in archhy

Can I draw dashed or dotted lines between services?

Yes. Pick Solid, Dashed or Dotted in the quick bar's line width and style.

From: Rails, shapes and callouts in archhy

How do I resize a service in archhy?

Select it and drag the size grip on its corner, or pick Small, Medium, Large or Extra large in the quick bar's Size and icon.

From: Drawing that behaves the way you expect

How do I select several items on a phone or tablet?

Turn on Select many, then tap each item or draw a box round them with one finger.

From: Drawing that behaves the way you expect

Can I hide the grid but keep snapping?

Yes. Grid and snap are separate switches, so you can hide the dots and still snap to them.

From: Drawing that behaves the way you expect

Can I draw architecture diagrams on my phone?

Yes. archhy has a phone layout with a bottom toolbar and sheets, so you can add services, draw rails, ask the AI and download your diagram with your fingers.

From: A faster canvas that works on your phone

How big a diagram can archhy handle?

In our tests a 2,000-service diagram opens in about 3 seconds, and pans and drags smoothly when zoomed in.

From: A faster canvas that works on your phone

Why does one finger move the view instead of the service?

Tap the service first to select it, then press and drag. This stops you moving things by accident while you pan.

From: A faster canvas that works on your phone

Guides

Can I annotate screenshots in archhy for free?

Yes. Drawing, adding pictures, sticky notes and arrows, and downloading PNG or SVG all work in your browser without an account. Saving to a library and sharing a view link need you to sign in.

From: How we made the FortiDraw page in archhy: annotated screenshots, step by step

Can I use the FortiDraw page as a product one-pager template?

Yes. Open it from File ▸ New from sample ▸ FortiDraw, then swap in your own screenshots, words, colours and links. It opens in a new tab, so your other work is untouched.

From: How we made the FortiDraw page in archhy: annotated screenshots, step by step

Yes. Links in Markdown cards work in the editor and on a view link, and open in a new tab.

From: How we made the FortiDraw page in archhy: annotated screenshots, step by step

Can I make a cheat sheet for free?

Yes. archhy works in your browser without an account: you can draw, keep your work in this browser and download PNG, SVG or GIF. Saving to a library and sharing a view link need you to sign in.

From: How to make a cheat sheet in archhy

Is there a cheat sheet template to start from?

Yes. The Claude Code cheat sheet sample opens in a new tab from File, New from sample. Change its words and colours, or keep it beside a blank tab as a guide.

From: How to make a cheat sheet in archhy

How do I get my cheat sheet into slides or a document?

Download it as a PNG for slides, documents and chats, or as an SVG for a sharp picture at any size.

From: How to make a cheat sheet in archhy

Can people see my cheat sheet without editing it?

Yes. Signed in, save the sheet to your library and create a view link. Anyone with the link sees the sheet as you last saved it, and you can turn the link off at any time.

From: How to make a cheat sheet in archhy

Architecture patterns

Is microservices a design pattern or an architecture pattern?

An architecture pattern. It decides how the system splits into deployable services and who owns which data. The code inside each service still uses ordinary design patterns.

From: Architecture patterns vs design patterns vs messaging patterns

Is event-driven architecture the same as publish/subscribe?

No. Event-driven architecture is the style of the whole system. Publish/subscribe is one messaging pattern it uses, usually alongside queues, routers and dead-letter queues.

From: Architecture patterns vs design patterns vs messaging patterns

Should a saga use choreography or orchestration?

Choreography suits a short flow with few services. Once several services take part, or you need to see where each transaction is, an orchestrator such as Step Functions is easier to follow.

From: Architecture patterns vs design patterns vs messaging patterns

Are messaging patterns still relevant with managed cloud services?

Yes. SQS, SNS, EventBridge and Service Bus are implementations of them. Knowing the pattern tells you what a service can do, and what it will not do for you, such as removing duplicates.

From: Architecture patterns vs design patterns vs messaging patterns

News

What is FortiDraw?

FortiDraw is floor plan mark-up for fire, security and building-services work. You upload a PDF plan, place devices, draw zones and cable rails, see camera coverage and download the marked-up PDF.

From: Meet FortiDraw: fire and security floor plans

Is FortiDraw the same as archhy?

No. They are sister apps. archhy draws cloud and software architecture diagrams; FortiDraw marks up building floor plans. Many teams need both.

From: Meet FortiDraw: fire and security floor plans

Can I use FortiDraw on a phone?

Yes. It runs in your phone's browser, and On site mode gives you big buttons, tap to place, and notes with photos and voice memos. Projects you have opened keep working without a signal.

From: Meet FortiDraw: fire and security floor plans

Is FortiDraw free?

There is a Free plan for drawing and saving in the app. Downloads such as the PDF and CSV, and AI features, come with the paid plans.

From: Meet FortiDraw: fire and security floor plans

Architecture questions › AWS

What is the difference between a data lake and a data warehouse on AWS?

A data lake is files in Amazon S3, catalogued in AWS Glue and queried by engines such as Athena. A data warehouse is Amazon Redshift, which stores structured data in its own format and answers complex SQL quickly for many users.

From: Data lake vs data warehouse vs lakehouse on AWS

What is a lakehouse on AWS?

Apache Iceberg tables on S3 or S3 Tables, plus Redshift, under one Glue Data Catalog and one set of Lake Formation permissions. AWS calls it the lakehouse architecture of Amazon SageMaker.

From: Data lake vs data warehouse vs lakehouse on AWS

Should I use S3 Tables or Iceberg in a normal S3 bucket?

S3 Tables if you want compaction and clean-up handled for you. A general purpose bucket if you want to control maintenance yourself and have the engineers to run it.

From: Data lake vs data warehouse vs lakehouse on AWS

Do I still need Redshift if I have a lakehouse?

Often, yes, for high-concurrency dashboards and complex joins with predictable response times. Keep a curated subset there and the rest in the lake.

From: Data lake vs data warehouse vs lakehouse on AWS

What is the difference between ETL and ELT on AWS?

ETL transforms data on a separate engine, usually an AWS Glue Spark job, before loading finished tables. ELT loads raw data into Amazon Redshift or S3 first and transforms it there with SQL.

From: ETL vs ELT on AWS: Glue jobs, Redshift SQL and zero-ETL

Is AWS Glue ETL or ELT?

Either. A Glue job that reads a source and writes finished tables is ETL. One that reads a raw zone already in S3 and writes curated tables is the transform step of ELT.

From: ETL vs ELT on AWS: Glue jobs, Redshift SQL and zero-ETL

Does zero-ETL mean no transformation?

No. It removes the pipeline that copies the data. Rows arrive in the source's shape, and you still model them in the target.

From: ETL vs ELT on AWS: Glue jobs, Redshift SQL and zero-ETL

Can I use dbt on AWS?

Yes. dbt has adapters for Amazon Redshift and Amazon Athena; it compiles your models and the warehouse or Athena runs the SQL.

From: ETL vs ELT on AWS: Glue jobs, Redshift SQL and zero-ETL

A resource gateway is a set of network interfaces in a VPC that acts as the way in to resources in that VPC, such as an RDS database. Together with a resource configuration, which names the resource and its ports, it lets other VPCs and accounts reach the resource privately through PrivateLink or VPC Lattice, without peering, a Transit Gateway or a Network Load Balancer.

From: Share an RDS database across VPCs with a PrivateLink resource gateway

No. Share an ARN-type resource configuration for the RDS cluster or instance through AWS RAM, and create a resource VPC endpoint in the consumer VPC. With Private DNS on, applications keep using the database's usual RDS host names, and the networks are never joined, so their CIDRs can even overlap.

From: Share an RDS database across VPCs with a PrivateLink resource gateway

A VPC endpoint service shares something that sits behind a Network Load Balancer or Gateway Load Balancer. A resource endpoint connects to a resource configuration behind a resource gateway, so the resource needs no load balancer in front of it. Both are consumer-side VPC endpoints that start connections in one direction only.

From: Share an RDS database across VPCs with a PrivateLink resource gateway

Anything reachable over TCP by a private IP address or a domain name, Amazon RDS databases by ARN, and, with tunnel endpoints added in 2026, whole CIDR ranges. ARN-type configurations currently support Amazon RDS only, and not publicly accessible clusters.

From: Share an RDS database across VPCs with a PrivateLink resource gateway

What is an event-driven architecture on AWS?

A design where services react to events rather than call each other directly, usually connected by EventBridge, SNS and SQS, so each part can fail and scale on its own.

From: AWS event-driven architecture: a resilient invoice pipeline

Should I use EventBridge or SNS?

EventBridge suits central, content-based routing with replay. SNS suits fast fan-out of one topic to many subscribers. This design uses both: EventBridge to route, SNS to fan out.

From: AWS event-driven architecture: a resilient invoice pipeline

Why does every SQS queue need a dead-letter queue?

So a message that keeps failing is set aside instead of retried for ever, and an alarm can tell someone it is stuck.

From: AWS event-driven architecture: a resilient invoice pipeline

How do I stop duplicate processing?

Make consumers idempotent: record what has been processed, keyed by the business ID and stage, and skip repeats.

From: AWS event-driven architecture: a resilient invoice pipeline

How do IoT devices send data to AWS?

Usually over MQTT to AWS IoT Core, each device authenticating with its own certificate. IoT rules then route messages to other AWS services.

From: AWS IoT monitoring architecture with Managed Grafana

Can I still use Amazon Timestream for IoT data?

Timestream for LiveAnalytics closed to new customers on 20 June 2025. AWS recommends new customers evaluate Timestream for InfluxDB.

From: AWS IoT monitoring architecture with Managed Grafana

Do I need Lambda between IoT Core and the database?

Only if you need to transform the data, for example to normalise different device formats. Otherwise route the messages straight to storage.

From: AWS IoT monitoring architecture with Managed Grafana

How do users sign in to Amazon Managed Grafana?

Through IAM Identity Center or a SAML identity provider, with a role per user or group in the workspace.

From: AWS IoT monitoring architecture with Managed Grafana

What is the difference between the pool and silo models in SaaS?

In the pool model, tenants share the same compute and storage and are separated by a tenant ID. In the silo model, each tenant gets dedicated resources. Many products use both, by tier.

From: AWS multi-tenant SaaS architecture: pooled and silo tiers

How do you isolate tenants in a shared DynamoDB table?

Put the tenant ID at the start of every key and give each request IAM credentials that only allow keys with that prefix, using the dynamodb:LeadingKeys condition, so a coding mistake cannot reach another tenant's items.

From: AWS multi-tenant SaaS architecture: pooled and silo tiers

Should I use API Gateway API keys to identify tenants?

Use them to apply a usage plan per tier, not for security. Authenticate with Cognito tokens and authorise with a Lambda authorizer or IAM.

From: AWS multi-tenant SaaS architecture: pooled and silo tiers

Is serverless a good fit for multi-tenant SaaS?

Often, because idle tenants cost almost nothing and scaling is handled for you. It fits less well for long-running or constantly busy workloads.

From: AWS multi-tenant SaaS architecture: pooled and silo tiers

What is a clickstream pipeline?

A system that collects user interactions, such as page views and clicks, from a website or app, and stores them for analysis and for other systems to use.

From: Clickstream analytics on AWS: a serverless pipeline

Do I need Kinesis Data Streams and Firehose?

Firehose alone can deliver events to S3. Add Kinesis Data Streams when more than one consumer needs to read the same events.

From: Clickstream analytics on AWS: a serverless pipeline

Is this real-time analytics?

Near real-time. Firehose buffers for about a minute before writing, so dashboards lag by minutes. Use a stream processor for second-level alerts.

From: Clickstream analytics on AWS: a serverless pipeline

How do I keep Athena costs down?

Query a columnar, partitioned copy of the data instead of raw JSON, and filter on the partition columns, so each query scans less.

From: Clickstream analytics on AWS: a serverless pipeline

What is the difference between a data lake and a data warehouse?

A data lake stores data of any shape in open files, usually in S3, and many engines query it. A warehouse stores structured data in its own engine, tuned for fast SQL. Many organisations use both.

From: Data lake on AWS: S3, Glue and Lake Formation architecture

What does AWS Lake Formation do?

It centralises access control for data in S3 and the Glue Data Catalog: grants on databases, tables, columns, rows and cells, tag-based access, cross-account sharing and audit logs.

From: Data lake on AWS: S3, Glue and Lake Formation architecture

Do I need Lake Formation to build a data lake on AWS?

No. S3, Glue and Athena with IAM work. Lake Formation earns its place when many people need different slices of the same data.

From: Data lake on AWS: S3, Glue and Lake Formation architecture

What is an S3 data lake?

A data lake whose data lives in Amazon S3, usually in raw and curated zones, described by the AWS Glue Data Catalog and queried in place by engines such as Athena, Redshift Spectrum and EMR.

From: Data lake on AWS: S3, Glue and Lake Formation architecture

How do you build a data lake on AWS?

Create S3 buckets for raw and curated zones, load sources with Glue, Firehose or DMS, catalogue them in the Glue Data Catalog, convert to Parquet or Iceberg, govern access with Lake Formation, then query with Athena or Redshift Spectrum.

From: Data lake on AWS: S3, Glue and Lake Formation architecture

Which services respect Lake Formation permissions?

Among others, Amazon Athena, Amazon Redshift Spectrum, Amazon EMR for Apache Spark and AWS Glue ETL.

From: Data lake on AWS: S3, Glue and Lake Formation architecture

How does blue/green deployment work on Amazon ECS?

A new (green) task set starts beside the current (blue) one, receives test traffic, and once checks pass the load balancer moves production traffic to it. Blue stays available for a fast rollback.

From: ECS blue/green deployment pipeline with CodeDeploy

Do I need CodeDeploy for ECS blue/green?

Not any more. CodeDeploy was the usual route, but since July 2025 ECS offers built-in blue/green deployments.

From: ECS blue/green deployment pipeline with CodeDeploy

What is the difference between canary and linear traffic shifting?

Canary moves a small share of traffic first and the rest after a wait; linear moves equal shares at fixed intervals; all at once moves everything in one step.

From: ECS blue/green deployment pipeline with CodeDeploy

How do I test the green version before users see it?

Give the load balancer a test listener, point it at the green tasks, and run checks from a lifecycle hook such as AfterAllowTestTraffic.

From: ECS blue/green deployment pipeline with CodeDeploy

What is the difference between pilot light and warm standby?

Pilot light keeps data and infrastructure ready in the recovery Region with no servers running. Warm standby also runs a small working copy, so it can serve traffic immediately and recovers faster.

From: Pilot light vs warm standby: AWS disaster recovery diagram

Which has the lower RTO, pilot light or warm standby?

Warm standby, because part of the application is already running. Their RPO is similar, as both replicate data the same way.

From: Pilot light vs warm standby: AWS disaster recovery diagram

Is warm standby the same as active/passive?

It is one form of active/passive: the recovery Region takes production traffic only after failover.

From: Pilot light vs warm standby: AWS disaster recovery diagram

Do I still need backups if I replicate data?

Yes. Replication copies deletions and corruption too; backups let you restore to a point before the damage.

From: Pilot light vs warm standby: AWS disaster recovery diagram

What is RAG on AWS?

Retrieval-augmented generation: your app retrieves relevant passages from your own documents and gives them to a model on Amazon Bedrock with the question, so the answer is grounded in your content.

From: RAG architecture on AWS with Bedrock Knowledge Bases

Which vector database does Bedrock Knowledge Bases use?

Quick create sets up Amazon OpenSearch Serverless. You can also choose Amazon Aurora or supported third-party stores.

From: RAG architecture on AWS with Bedrock Knowledge Bases

Does a Bedrock knowledge base respect document permissions?

Not by itself. Use separate knowledge bases or metadata filters chosen per user to keep people to the documents they may see.

From: RAG architecture on AWS with Bedrock Knowledge Bases

How do I keep a RAG index up to date?

Sync the knowledge base when documents change, on a schedule or after uploads, and show users when it last synced.

From: RAG architecture on AWS with Bedrock Knowledge Bases

Does my S3 bucket need to be public for a static website with CloudFront?

No. Keep it private and allow only your CloudFront distribution to read it, using origin access control and a bucket policy scoped with aws:SourceArn.

From: Static website on S3 and CloudFront: secure it with OAC

What is the difference between OAC and OAI?

OAC is the newer, recommended way. It supports SSE-KMS, all Regions and methods such as PUT and DELETE; OAI is legacy.

From: Static website on S3 and CloudFront: secure it with OAC

Can I use OAC with the S3 website endpoint?

No. A website endpoint is treated as a custom origin, so use the bucket's REST endpoint with OAC instead.

From: Static website on S3 and CloudFront: secure it with OAC

How do I update the site after a change?

Upload the new files to the bucket and invalidate the changed paths in CloudFront, or use versioned file names so new files never collide with cached ones.

From: Static website on S3 and CloudFront: secure it with OAC

Do I still need an inspection VPC for AWS Network Firewall?

Not with the Transit Gateway attachment: AWS creates and manages the VPC that holds the firewall endpoints. You still need a separate egress VPC for NAT gateways.

From: Transit Gateway network firewall architecture on AWS

Why does egress traffic cross the Transit Gateway twice?

Traffic goes from the spoke to the firewall attachment, then from the firewall to the egress VPC. Each is a Transit Gateway hop with its own data processing charge.

From: Transit Gateway network firewall architecture on AWS

What is appliance mode on a Transit Gateway?

A setting that keeps both directions of a connection on the same path, which stateful firewalls need. It is on automatically for the native firewall attachment.

From: Transit Gateway network firewall architecture on AWS

Can I inspect inbound internet traffic this way?

AWS does not recommend it. Inspect inbound traffic at the edge instead, for example with AWS WAF on your load balancers or CloudFront.

From: Transit Gateway network firewall architecture on AWS

Architecture questions › Security

Is OAuth 2.0 authentication or authorization?

Authorization. It gives an app limited access to an API for you. To learn who the user is, add OpenID Connect, which adds an ID token on top of OAuth.

From: How OAuth 2.0 works: every flow, drawn out

Is the client ID a secret?

No. The client ID is a public identifier that appears in redirect URLs. Only confidential clients, which run on a server, also hold a client secret or private key.

From: How OAuth 2.0 works: every flow, drawn out

Do I still need PKCE if my app has a client secret?

It is recommended. RFC 9700 requires PKCE for public clients and recommends it for confidential ones, because it also protects against authorization code injection.

From: How OAuth 2.0 works: every flow, drawn out

Can I still use the implicit flow?

You should not for new apps. RFC 9700 says clients should not use it, and the OAuth 2.1 draft removes it. Use the authorization code flow with PKCE instead.

From: How OAuth 2.0 works: every flow, drawn out

What is the difference between OAuth and OpenID Connect?

OAuth 2.0 lets an app get an access token to call an API for you. OpenID Connect builds on it and adds an ID token that tells the app who you are, so the app can sign you in.

From: OpenID Connect explained: ID tokens, flows and when to use OIDC

Can I send the ID token to my API?

No. The ID token's audience is the client app. APIs should accept access tokens issued for them, and check their audience and scopes.

From: OpenID Connect explained: ID tokens, flows and when to use OIDC

What is the nonce for?

The app sends a random nonce in the sign-in request and checks that the ID token carries the same value. That ties the token to this sign-in and stops an old token being replayed.

From: OpenID Connect explained: ID tokens, flows and when to use OIDC

Which OpenID Connect flow should I use?

The authorization code flow with PKCE, for every kind of app. The implicit and hybrid flows exist for older setups.

From: OpenID Connect explained: ID tokens, flows and when to use OIDC

Architecture questions › Azure

Why put Application Gateway in front of App Service?

It gives one public entry point with a web application firewall and TLS termination, so App Service itself can accept traffic only through a private endpoint.

From: Azure App Service baseline architecture, explained

What is the difference between a private endpoint and VNet integration?

A private endpoint brings a service into your network for inbound calls. VNet integration lets App Service send its outbound calls through your network.

From: Azure App Service baseline architecture, explained

How many App Service instances do I need for zone redundancy?

At least two, and Microsoft suggests at least one per availability zone plus spare capacity for a zone failure.

From: Azure App Service baseline architecture, explained

How do I deploy to App Service when public access is disabled?

Run build agents inside the virtual network, deploy to a staging slot, test, then swap slots.

From: Azure App Service baseline architecture, explained

Architecture questions › Google Cloud

How do I stop people calling my Cloud Run URL directly?

Set the service's ingress to "internal and Cloud Load Balancing", so it only accepts traffic from inside your network or through your load balancer.

From: Cloud Run web app architecture on Google Cloud

How does Cloud Run connect to Cloud SQL on a private IP?

Through the VPC, for example with a Serverless VPC Access connector, as in Google's blueprint.

From: Cloud Run web app architecture on Google Cloud

Do I need Cloud Armor with Cloud Run?

For a public site, it is the usual way to add a web application firewall and DDoS protection at the load balancer.

From: Cloud Run web app architecture on Google Cloud

Does Cloud Run scale to zero in this design?

The Cloud Run services can, but the load balancer, Cloud SQL and Memorystore are billed continuously.

From: Cloud Run web app architecture on Google Cloud

Architecture questions › Reliability

What is the difference between RTO and RPO?

RTO is how long the workload can be unavailable. RPO is how much data, measured in time back to the last good copy, you can lose.

From: RTO and RPO explained: the four disaster recovery strategies

Which disaster recovery strategy is cheapest?

Backup and restore, because nothing runs in the recovery Region except stored backups. It also has the longest RTO and RPO.

From: RTO and RPO explained: the four disaster recovery strategies

Is warm standby the same as hot standby?

No. Warm standby runs a scaled-down copy that must scale up. Hot standby runs the recovery copy at full size but still sends no traffic to it until failover.

From: RTO and RPO explained: the four disaster recovery strategies

Do I still need backups with active/active?

Yes. Replication spreads corruption and deletions to every Region, so only point-in-time backups let you go back to before the damage.

From: RTO and RPO explained: the four disaster recovery strategies