Subscribe free
Morning Merge Architecture · Monday, November 30, 20265 min read

Fail over often, and S3 grows a streaming side

Also: AWS's credential broker for agents, S3 Files outside the VPC, incident bot drills

Today's thread: the paths you only use in an emergency are the ones that rot. The better designs put them in the everyday traffic.

The main thing

A drafting compass beside a scaffold around two identical pump houses joined by a pipe, with a fuchsia valve wheel on the pipe being turned to send the flow to the second pump house

If you want failover to work well, use it often. The post borrows the old line about backups: they're only as good as the last restore. A failover path you exercise twice a year is a hypothesis.

It's specific about how a warm standby rots. A standby starts, connects to its databases and caches, passes health checks, then sits idle for months.

Persistent connections without idle timeouts or maximum lifetimes go stale. Firewall rules change. Credentials expire. Health checks stay green unless they use the same dependencies, network paths and credentials as real traffic.

Active-active doesn't escape this. Each environment handles its share until one drops out and the rest absorb its load.

The author sees it most with teams running three or more environments: a normal failover takes them to two, but sometimes they end up on one, and nobody has shown one can carry everything.

The proposal is to fail over on every deploy. Move traffic off an environment, deploy and validate, move it back. Do that every week and the team gets bored enough to automate it, which is the point.

The better part is what frequent failover forces you to answer. Does replication lag leave data inconsistent after a switch? What happens to in-flight requests? Is the time a failover takes acceptable? A twice-a-year drill lets you put those design questions off.

The author flags the limit himself: a planned traffic shift doesn't test automated failure detection, so test that separately.

HN pushed back on cost, not on the idea. One commenter said convincing them to drill isn't the hurdle: "Unlocking the budget to develop and exercise the protocols is the hard part." Another said they only trust HA failover at companies that have done switch-and-stay for years.

What to do: run your next routine deploy through the failover path. Write down how long the switch took and what broke.

S3 grows a streaming side

A conveyor fills a tall silo with crates inside a scaffold, while a fuchsia hatch halfway up stands open and a crate slides out onto a waiting cart before the silo is full, beside a drafting compass

Two launches from AWS's big release wave change how data moves through S3, and both blur the line between object storage and a stream.

S3 now lets you read parts of a multipart upload before it completes. A new GetPart API reads a full part, or a byte range within one, during the upload or after. A new s3:MultipartUpload:PartUploaded event notification says when each part is ready.

So a transcoder or transcription job can start on the first part while later parts are still uploading, with no change to how you upload. It works on general purpose buckets in all Regions, with the latest CLI and SDKs.

That moves a contract. Consumers used to see an object only once the upload finished; now they can act on partial data. The announcement doesn't say what happens downstream when an upload is aborted, so decide that before you build on it.

S3 Tables can now take rows directly into Apache Iceberg tables with PutRows. Producers send JSON or Avro OCF rows in one API call, and any number of them can write to the same table without coordinating. S3 Tables validate rows against the schema, write Parquet and compact files. Rows are queryable in about a minute.

AWS says that costs up to 80% less than running your own streaming ingestion: the micro-batching compute, compaction and format conversion. Where a minute of freshness is fine, that removes a tier from the diagram. The announcement doesn't spell out delivery guarantees, so read the docs before you retire anything.

Agents step outside the VPC

A drafting compass and scaffold beside a walled courtyard of storage buildings, where a small wheeled robot outside the gate takes a card from a fuchsia dispenser box on a post

AWS IAM Credential Broker is in public preview. It gives apps and agents OAuth access tokens and API keys for Snowflake, Databricks, Salesforce and services in Azure and GCP, through the identity provider you already run, such as Okta, Microsoft Entra ID or Auth0.

It supports client credentials, authorization code and token exchange flows. For OAuth, your code only gets short-lived access tokens, so long-lived secrets stay out of code, config and environment variables. An agent acting for a user gets only that user's access, so the external system audits the right person. It's free in all commercial Regions during the preview.

The design change is that per-app OAuth plumbing becomes a shared service. That's the right shape, and it's one more dependency in the path of every agent call.

S3 Files and Amazon EFS can now be mounted from agents outside your VPC. Agents on Amazon Bedrock AgentCore Runtime or AWS Lambda MicroVMs no longer need VPC configuration to mount shared file storage. Access from outside the VPC is off by default and limited to the IAM roles and users you grant. Agents must be in the same Region as the file system.

Put the two together and the pattern is plain: for agent workloads, AWS is swapping network placement for identity as the boundary. Review those IAM grants assuming the VPC won't catch a mistake.

Quick bits

S3 buckets can now default to Intelligent-Tiering. Any PUT without a storage class header lands in S3 Intelligent-Tiering instead of S3 Standard, and requests that set a class explicitly behave as before. It's a per-bucket setting for general purpose buckets, in all Regions. Useful for buckets fed by third-party tools you can't reconfigure.

Who pages you when your incident bot breaks? A follow-up to a post that turned an incident runbook into a Step Functions workflow. The move: save an open incident with an owner and a first-update deadline before calling StartExecution. A scheduled check with its own identity and paging route catches workflows that never started. Same lesson as the lead: backup paths need their own tests.

Bruce Schneier says recent outages have economic causes. After a run of unrelated outages at Microsoft, the FAA, several banks, United Airlines and Apple, he argues that resilience and redundancy are costs that don't produce near-term profit, so they get squeezed out. His fix is regulation and antitrust enforcement. Worth reading before your next fight for failover budget.

Run your next deploy through the failover path and find out what's been rotting.

← All Morning Merge Architecture issues

Get this in your inbox every morning.

Free. Five minutes. Unsubscribe in one click.

Subscribe free →