NAT M8 is an Infrastructure-as-Code (IaC) solution designed to provide network address translation services within AWS environments. It offers cost-effective and high-availability NAT capabilities for private AWS services.
At its core, NAT autoM8 is your cloud’s network orchestrator —a tool that builds and automates your AWS VPC structure with the ease and efficiency of setting up a home Wi-Fi router. It creates a brand new VPC, configures everything from subnets to route tables and associations and deploys NAT M8 service. It is an Infrastructure-as-Code (IaC) solution designed to provide network address translation services within AWS environments. It offers cost-effective and highly available NAT capabilities for private AWS services.
While NAT AutoM8 configures the virtual private cloud and all components (purple), NAT M8 (yellow) dynamically routes traffic by configuring and updating route tables and performing the network address translation from your private network to the Internet.
| Conditions | Recommended tool | Deployment |
|---|---|---|
| Brand new environment | NAT autoM8 | Go to your AWS Console Serverless Applications Repository => Available applications, click "Show apps that create IAM..." Search NAT autoM8 For details on each parameter check the Readme.
|
| Existing system – parallel setup | NAT autoM8 | |
| NAT GW already set up | NAT M8 (drop-in replacement) |
Recommended method: Via AWS Serverless Repository: 1. Go to your AWS Console 2. Serverless Applications Repository => Available applications, click "Show apps that create IAM..." 3. Search NAT M8 The manual method for additional customisation or if your AWS Region doesn’t have a Serverless Application Repository: 1.Download NATM8.json from this repository to your machine, then open the AWS console CloudFormation. 2.Upload the template and follow the guided steps. For more detailed instructions, refer to the Manual Deployment Guide. |
| Existing system – full revamp | NAT M8 (you manually make the changes to your own environment) |
NAT M8 offers significant cost savings compared to AWS NAT Gateway, with pricing that can be up to 97.3% cheaper. Additionally, NAT M8 compute engine (EC2) boasts a higher SLA (99.99%) and automatic failover capabilities for improved availability.
NAT M8 is compatible with various AWS regions and instance types. However, specific availability may vary, so it is recommended that you check the AWS documentation for the most up-to-date information on supported instance types and Serverless Application Repository availability on your region.
NAT M8 uses the latest Amazon Linux 2023 image with all security updates applied at boot time. Additionally utilises Fail2ban software framework and kernel level firewall. Further more it includes customisable security configurations, logging, and monitoring features.
NAT M8, which is deployed and configured locally, does not send usage reports or has other external connectivity. As a standard Linux-based solution, it can be extended or integrated into any monitoring or other security system.
In case of an instance failure the instance is automatically replaced within minutes. In the event of a zone outage the traffic is routed to the instanc(es) in functioning availability zone(s).
NAT M8 seamlessly scales from small to large deployments, automatically adjusting to accommodate changes in workload and network demands. Whether you have two public and two private subnet or a more complex network setup, NAT M8 can adapt accordingly.
Setting up NAT M8 is straightforward and can be easily integrated into existing AWS environments. Our documentation provides step-by-step instructions to help you get started quickly.
NAT M8 offers various support options to meet the needs of our users. This includes documentation, tutorials, and community forums.


