# Deploy DiscrimiNAT OTF on Google Cloud

> Deploy DiscrimiNAT OTF on Google Cloud for FQDN-based outbound traffic filtering and cloud-native NAT replacement using Terraform.

### [DIY & TERRAFORM ➜](/docs/discriminat/gcp/diy/)

If you require complex or custom routing, and have Infrastructure-as-Code for your deployments already, this is where you will find key information.

### [QUICK START ➜](/docs/discriminat/gcp/quick-start/)

For a 5-minute deployment, assuming secure defaults, from within the marketplace console itself. This will totally lock down your VPC from the get-go unless monitoring mode or appropriate FQDN-based egress firewall rules exist for outbound connections, and VMs needing to bypass DiscrimiNAT are network-tagged with `bypass-discriminat`.

### [CONFIG REFERENCE ➜](/docs/discriminat/gcp/config-ref/)

The various ways GCP-native Firewall Rules can be annotated with appropriate FQDN allowlists and traffic monitoring rules after deployment of DiscrimiNAT.

### [DEFAULT PREFERENCES ➜](/docs/discriminat/gcp/default-prefs/)

Global level preferences for controlling logs verbosity, wildcards exposure and monitoring mode.

### [LOGS REFERENCE ➜](/docs/discriminat/gcp/logs-ref/)

Fields, filters and recipes to find what you need from DiscrimiNAT's config and flow logs in GCP Logs Explorer.

### ARCHITECTURE

Pertaining to the Quick Start only. If you go down the DIY route, the architecture will be as per your design.

DiscrimiNAT OTF becomes the NAT solution for your VPC, making the use or presence of other NAT gateways redundant.

It is architected along the [_Internal TCP/UDP load balancers as next hops_](https://cloud.google.com/load-balancing/docs/internal/ilb-next-hop-overview) guide from Google Cloud. As the guide suggests, these NAT instances are simply a [_bump-in-the-wire_](https://en.wikipedia.org/wiki/Bump-in-the-wire) with:

- no explicit client configuration
- load balancing
- proactive health-checks

### MARKETPLACE

[![Launch Free Trial on Google Cloud](img/GC-Partner-no_outline-H_small.png)](https://console.cloud.google.com/marketplace/details/chasersystems-public/discriminat)

DiscrimiNAT OTF is [listed on the Google Cloud Marketplace](https://console.cloud.google.com/marketplace/details/chasersystems-public/discriminat). The architecture discussed above is available as a Deployment Manager template to launch on subsequent steps from marketplace subscription.
