# NAT Gateways

* It has the **same purpose as a NAT Instance** but instead, this has much **less configuration, higher bandwidth and better availability**.<br>
* You are **charged for creating and using a NAT gateway** in your account.<br>
* Each NAT gateway is **created in a specific Availability Zone and implemented with redundancy in that zone**.
  * To create an Availability Zone-independent architecture, **create a NAT gateway in each Availability Zone** and configure your routing to ensure that resources use the NAT gateway in the same Availability Zone.

## NAT gateway vs NAT instance

| Attribute    | NAT gateway                                                                                                       | NAT instance                                                                                    |
| ------------ | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
| Availability | <p></p><ul><li>NAT gateways in each Availability Zone are <strong>implemented with redundancy</strong>.</li></ul> | <ul><li>Use a <strong>script to manage failover between instances</strong>.</li></ul>           |
| Bandwidth    | <ul><li>Can <strong>scale up to 45 Gbps</strong>.</li></ul>                                                       | <ul><li><strong>Depends on</strong> the instance type.</li></ul>                                |
| Maintenance  | <ul><li><strong>Managed by AWS</strong>.</li></ul>                                                                | <ul><li><strong>Managed by you</strong>.</li></ul>                                              |
| Performance  | <ul><li><strong>Software is optimized</strong> for handling NAT traffic.</li></ul>                                | <ul><li>A <strong>generic Amazon Linux AMI</strong> that's configured to perform NAT.</li></ul> |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://karansingh.gitbook.io/aws-saa-c02/virtual-private-cloud-vpc/nat-gateways.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
