Urgent.News

What's breaking now, across thousands of outlets.

Tech

NAT Gateway vs VPC Endpoints

NAT Gateway vs VPC Endpoints: Designing Smarter Connectivity for AWS Private Subnets AWS Networking | VPC Architecture | Routing | Security | Cost Optimization The Challenge: Keeping Private Workloads Connected A private subnet is designed to keep AWS resources away from direct inbound internet access. But private resources still need to communicate with other systems. For example, an EC2…

NAT Gateways and VPC Endpoints are two AWS networking solutions that can be used to provide connectivity for private subnets. While both can be part of a private subnet architecture, they serve different purposes and are not interchangeable. NAT Gateways provide outbound internet connectivity for instances in private subnets, allowing them to download updates from public software repositories, access external application services, and retrieve files from other internet destinations.

On the other hand, VPC Endpoints provide a direct, private route to specific AWS services, such as Amazon S3, eliminating the need for a NAT Gateway and incurring no additional usage charge for the endpoint itself. When deciding between NAT Gateways and VPC Endpoints, it's important to consider the specific traffic requirements of your workload and the cost implications of each solution.

Brief written by urgent.news from Dev.to's own syndicated text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Your JWT lasts 7 days. Here’s What Happens When Someone Steals It.

This is the next piece in my Spring Security series, after how JWT authentication works, how OAuth2 login works, and how method-level security works. Those were about how a request gets in.

  • JWT tokens expire after 7 days of validity
  • Stolen tokens remain valid until expiration
  • Refresh token rotation recommended to prevent misuse

Fintech Apex Domain Support in Node.js: 3 Customer Record Cutover Rules

TL;DR: For a fintech onboarding flow, publish a documented A record for the customer's apex and a CNAME for www , then verify both before onboarding completes.

  • Publish A record for apex domain, CNAME for www
  • Verify both records before onboarding completion
  • Track expected apex A, www CNAME, and verification result

More from Saturday 17 October →