---
id: "alibaba-nat-gateway"
type: "component"
kind: "nat-gateway"
provider: "alibabacloud"
category: "edge"
docs: "https://www.alibabacloud.com/help/en/nat-gateway/product-overview/what-is-nat-gateway"
url: "https://localhost:3000/catalogue/components/alibaba-nat-gateway"
---

# NAT Gateway

Managed address translation for VPC egress through SNAT to an elastic IP, or for address translation inside a VPC.

| | |
|---|---|
| Provider | [alibabacloud](https://localhost:3000/catalogue?provider=alibabacloud) |
| Kind | [NAT gateway](https://localhost:3000/catalogue/kinds/nat-gateway) |
| Category | Edge |
| Official docs | [https://www.alibabacloud.com/help/en/nat-gateway/product-overview/what-is-nat-gateway](https://www.alibabacloud.com/help/en/nat-gateway/product-overview/what-is-nat-gateway) |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `deploymentMode` | enum | `cross-zone`, `single-zone` | no | — | inherited |
| `gatewayType` | enum | `internet`, `vpc` | no | — | inherited |
| `idleTimeoutMinutes` | integer | — | no | — | inherited |
| `logging` | boolean | — | no | false | inherited |
| `managed` | boolean | — | no | false | **true** |
| `snat` | boolean | — | no | true | inherited |
| `staticIpCount` | integer | — | no | — | inherited |
| `zoneRedundant` | boolean | — | no | — | inherited |

Bold values are the ones this component pins.

## Rules that apply · 0

No rule selects this kind or its category.

## Other products of the same kind · 8

- [NAT gateway](https://localhost:3000/catalogue/components/aws-nat-gateway.md) `aws-nat-gateway` — aws
- [Azure NAT Gateway](https://localhost:3000/catalogue/components/azure-nat-gateway.md) `azure-nat-gateway` — azure
- [Generic NAT gateway](https://localhost:3000/catalogue/components/nat-gateway.md) `nat-gateway` — default
- [DigitalOcean VPC NAT Gateway](https://localhost:3000/catalogue/components/digitalocean-vpc-nat-gateway.md) `digitalocean-vpc-nat-gateway` — digitalocean
- [Cloud NAT](https://localhost:3000/catalogue/components/google-cloud-nat.md) `google-cloud-nat` — gcp
- [Public Gateway for VPC](https://localhost:3000/catalogue/components/ibm-public-gateway.md) `ibm-public-gateway` — ibm
- [NAT Gateway](https://localhost:3000/catalogue/components/oci-nat-gateway.md) `oci-nat-gateway` — oci
- [NAT Service](https://localhost:3000/catalogue/components/outscale-nat-service.md) `outscale-nat-service` — outscale

## Use it in a design

```yaml
nodes:
  - { id: "alibaba-nat-gateway", component: "alibaba-nat-gateway" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# NAT Gateway: address translation for traffic leaving or entering a VPC. "What is NAT Gateway"
# describes a fully managed network address translation gateway, the Internet NAT gateway that
# translates private IPv4 addresses to EIPs so multiple ECS instances share one EIP through SNAT, and
# the VPC NAT gateway that translates addresses inside a VPC; deployment is either cross-zone disaster
# recovery with automatic failover on a zone failure or single-zone disaster recovery, and the page
# states no default, so zoneRedundant is left unset. No idle connection timeout is stated.
schemaVersion: "1"
type: "component"
id: "alibaba-nat-gateway"
kind: "nat-gateway"
provider: "alibabacloud"
docs: "https://www.alibabacloud.com/help/en/nat-gateway/product-overview/what-is-nat-gateway"
defaults:
  managed: true
properties:
  gatewayType:
    type: "enum"
    values: ["internet", "vpc"]
  deploymentMode:
    type: "enum"
    values: ["cross-zone", "single-zone"]
  snat:
    type: "boolean"
    default: true
```

Human page: https://localhost:3000/catalogue/components/alibaba-nat-gateway
