---
title: "How to Deploy Philter in 5 Minutes on the AWS Marketplace"
description: "Subscribe, launch into your own VPC, and redact PII in minutes. A step-by-step guide to deploying the self-hosted Philter API from the AWS Marketplace."
url: "https://philterd.ai/blog/deploy-philter-in-5-minutes-aws-marketplace/"
---

[← All posts](https://philterd.ai/blog/)

# How to Deploy Philter in 5 Minutes on the AWS Marketplace

By [Jeff Zemerick](https://philterd.ai/authors/jeff-zemerick/) June 18, 2026 [Philter](https://philterd.ai/categories/philter/) · [AWS](https://philterd.ai/categories/aws/)

The fastest way to get a self-hosted PII and PHI redaction API running is the [AWS Marketplace](https://aws.amazon.com/marketplace/pp/B07YVB8FFT?ref=_ptnr_mf_launch). You subscribe, launch [Philter](https://philterd.ai/philter/) into your own VPC, and start redacting text. No sales call, no separate contract, and no data leaving your account. From clicking subscribe to your first redacted response is about five minutes.

This guide walks through every step.

## Why the Marketplace

Philter is self-hosted on purpose. It runs as an instance inside your own network, you POST text to its API, and you get redacted text back. Nothing is sent to a third party. The AWS Marketplace is the quickest path to that model because it handles three things at once:

- **Billing** goes through your existing AWS account, so there is no new vendor to onboard. Philter is billed per instance-hour with a 30-day free trial.
- **Deployment** is a prebuilt, Ubuntu-based AMI, so there is nothing to install or configure on the host.
- **Data residency** is yours. The instance launches into a VPC and subnet you choose, and the API is reachable only on your network.

## Before you start

You need an AWS account with permission to subscribe to Marketplace products and launch EC2 instances, and a VPC with a subnet to launch into (the default VPC is fine for a quick test). That is it.

## Step 1: Subscribe to Philter

Open the [Philter listing on the AWS Marketplace](https://aws.amazon.com/marketplace/pp/B07YVB8FFT?ref=_ptnr_mf_launch) and choose **Continue to Subscribe**. Accept the terms. The subscription itself is free; you are billed only for the instance once it is running, and the free trial covers the first 30 days.

## Step 2: Configure and launch the instance

After subscribing, choose **Continue to Configuration**, then **Continue to Launch**. A few choices matter here:

- **Region**: launch in the region where your data and applications already live, so traffic to Philter stays local.
- **Instance type**: `c7i.xlarge` is recommended. Smaller types are fine for a quick test.
- **VPC and subnet**: pick the network where the systems that will call Philter run.
- **Security group**: Philter’s API listens on TCP port `8080`, and you reach the instance over SSH on port `22`. Open both to the specific hosts or CIDR range that need them, not to `0.0.0.0/0`.
- **Key pair**: select or create one. You need SSH access once, to read Philter’s API key.

Choose **Launch**, then open the EC2 console and wait for the instance to reach the **running** state. Note its private IP (or public IP, if you launched it with one).

## Step 3: Get your API key

Every instance generates its own encryption key and first API key on its first boot. Connect over SSH and read the API key:

```bash
ssh -i my-key.pem ubuntu@PHILTER_IP
sudo grep PHILTER_BOOTSTRAP_API_KEY /opt/philter/.env
```

The same file holds `PHILTER_ENCRYPTION_KEY`. Back it up: Philter’s stored data cannot be read without it.

Then, from a host that is allowed through the security group, confirm Philter is running. The health endpoint needs no key:

```bash
curl -k https://PHILTER_IP:8080/api/health
```

A healthy instance returns `{"status":"UP","applicationVersion":"4.0.0",...}`. Philter serves HTTPS with a self-signed certificate until you replace it, hence `-k`. If the request hangs or is refused, it is almost always the security group: confirm port `8080` is open from the host you are calling from.

## Step 4: Send your first redaction request

Now POST some text to the filter endpoint with your API key:

```bash
export PHILTER_API_KEY="sk_..."

curl -k https://PHILTER_IP:8080/api/filter \
    -H "Authorization: Bearer $PHILTER_API_KEY" \
    -H "Content-Type: text/plain" \
    --data-binary "His SSN was 123-45-6789."
```

Philter returns the redacted text:

```
His SSN was {{{REDACTED-ssn}}}.
```

The first request after Philter starts takes a few seconds while it loads its name-detection model. Later requests are fast.

That is a working redaction API in your own account. The `{{{REDACTED-ssn}}}` placeholder is Philter’s default behavior; you control exactly how each entity type is handled with a redaction policy (redact, mask, encrypt with format-preserving encryption, or pseudonymize). The [AWS quick start](https://philterd.ai/dev/start/aws/) covers the same steps and adds a key for your application.

## From a quick test to production

The five-minute version above is enough to integrate Philter into a pipeline and start sending real text. Before you put it in front of production traffic, two things are worth doing:

- **Write a redaction policy.** The default redacts names, SSNs, and email addresses, but a policy lets you choose which entity types to detect and how to transform each one. Start with [Writing Your First Redaction Policy](https://philterd.ai/guides/writing-your-first-redaction-policy/).
- **Replace the self-signed certificate.** Philter already serves HTTPS; give it a certificate your clients trust, as in [Using a Signed SSL Certificate with Philter](https://philterd.ai/guides/using-a-signed-ssl-certificate-with-philter/), or terminate TLS at a proxy, as in [Using an Apache Reverse Proxy with Philter](https://philterd.ai/guides/using-an-apache-reverse-proxy-with-philter/). See [Deploying Philter in a HIPAA Environment](https://philterd.ai/guides/deploying-philter-in-a-hipaa-environment/) if you are handling PHI.

When you want the deployment to be repeatable rather than click-through, launch the same AMI from infrastructure as code. [Deploying Philter in AWS via a CloudFormation Template](https://philterd.ai/guides/deploying-philter-with-aws-cloudformation/) shows how to find the AMI ID and launch it as a managed stack, which is the right approach for anything beyond a one-off evaluation.

## Not on AWS?

Philter is also on the [Google Cloud Marketplace](https://console.cloud.google.com/marketplace/product/philterd-public/philter) and the [Microsoft Azure Marketplace](https://azuremarketplace.microsoft.com/en-us/marketplace/apps/philterdllc1687189098111.philter?tab=Overview), with the same self-hosted model and per-hour billing in your own cloud account. And if you are redacting text before it reaches a large language model, point the [Philter AI Proxy](https://philterd.ai/philter-ai-proxy/) at your new instance so prompts are redacted before they ever leave your network.

You can have a private, auditable redaction API running in your VPC before your coffee gets cold. [Launch Philter on the AWS Marketplace](https://aws.amazon.com/marketplace/pp/B07YVB8FFT?ref=_ptnr_mf_launch) to get started.

## Got a redaction problem that looks like this in your own pipeline?

Spend 30 minutes with Jeff (the engineer behind Philter) and walk away with a clear view of the architecture that fits your stack. No sales pitch.

[← Older post: Redact PII From Your AI Agent in One Block of Config](https://philterd.ai/blog/philter-mcp-pii-redaction-for-ai-agents/)

[Newer post →: How We Built PhEye's PII Name Models](https://philterd.ai/blog/building-the-ph-eye-pii-name-models/)

[← Back to all posts](https://philterd.ai/blog/)

Questions, ideas, or want to contribute? Join the conversation at [community.philterd.ai](https://philterd.ai/community/). Everything happens in public on GitHub.
