Upgrade to Pro — share decks privately, control downloads, hide ads and more …

alterNAT

Ben Whaley
November 09, 2022

 alterNAT

The slide deck used in my Heroes in Conversation video with Namrata Shah.

Ben Whaley

November 09, 2022
Tweet

More Decks by Ben Whaley

Other Decks in Technology

Transcript

  1. References • alterNAT GitHub repo ◦ https://github.com/1debit/alternat • NAT Devices

    AWS documentation ◦ https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat.html • NAT Gateway AWS documentation ◦ https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html • NAT Instances AWS documentation ◦ https://docs.aws.amazon.com/vpc/latest/userguide/VPC_NAT_Instance.html
  2. Device Comparison NAT Gateways NAT Instances PrivateLink Management Fully managed

    Self-managed Fully managed Not for general purpose use Bandwidth Up to 100Gbps Depends on instance type Up to 100Gbps Hourly cost $0.045/hr Depends on instance type $0.01/hr Egress cost $0.045/GB $0.0 $0.01/GB - $0.004/GB, depending on volume Ingress cost $0.045/GB $0.0 $0.01 /GB- $0.004/GB, depending on volume Data transfer cost $0.09/GB - $0.05/GB, depending on volume $0.09/GB - $0.05/GB, depending on volume N/A
  3. Data transfer pricing scenario Cost of transferring 1PB egress, 1PB

    ingress to/from the Internet through each. Demo using the AWS Pricing Calculator https://calculator.aws/
  4. Enter alterNAT • Auto Scaling Groups containing one self-healing, self-managed

    NAT instance per availability zone • Standby NAT Gateways for resilience • Automatic updates and patching • Short-lived EC2 instances • Lambda functions for health checking and automated failover • VPC endpoints for reliable access to EC2