Skip to content

Buyer getting started guide (15 minutes on AWS)

Deploy Redactor into your own AWS account on Amazon ECS Fargate, sign in, preview a policy, and verify redacted output landing in Amazon S3 — without sending any document content to Software Sushi.

For full parameter tables, private-subnet networking, custom OIDC providers, and IAM details, see AWS deployment. For self-hosted pilot installs outside AWS Marketplace, see Pilot install checklist.


Before you start (2 minutes)

Have these seven required environment inputs ready for your target AWS region (us-east-1):

  1. VPC ID (VpcId) and two subnets in different Availability Zones (SubnetIds) — a default VPC works for evaluation.
  2. Load balancer scheme (LoadBalancerScheme) — internet-facing (restricted by CIDRs) or internal (private VPC/VPN only).
  3. Operator IP / VPN CIDR (ControlAllowedCidr, e.g. 203.0.113.10/32) for the web console on port 8080.
  4. Application / workload CIDR (DataAllowedCidr, e.g. 10.0.0.0/16 or your test workstation /32) for ingestion on port 8081.
  5. Identity-provider HTTPS egress CIDR (IdpEgressCidr) — enter 0.0.0.0/0 for Amazon Cognito or a public OIDC provider, or narrow it to your private IdP CIDR.
  6. First administrator email (AdminEmail) — receives the initial Cognito temporary password (unless you switch AuthMode to your own Oidc provider).
  7. (Recommended for production) An ACM TLS certificate ARN (CertificateArn) and DNS name (EndpointHostname). Leaving both empty works for quick testing using an auto-generated self-signed certificate (your browser will show a warning before the Cognito login page).

  1. Subscribe to both the Redactor - PII and PHI Redaction with Audit Evidence SaaS Contract and the $0 Redactor Deployment Add-on (BYOL) - Software Sushi container listing in AWS Marketplace.
  2. Click Set up your account to open the Software Sushi buyer onboarding portal (https://licensing.softwaresushi.com) over HTTPS.
  3. Confirm your work email and organization name.
  4. In AWS Marketplace Configure and launch, accept the Deployment permissions prompt if shown so AWS creates the Marketplace Deployment service-linked role in your account.
  5. In the onboarding portal, choose Production (or your included Non-production slot) and click Prepare Quick Launch to provision your single-use EnrollmentSecretArn parameter directly into your AWS Secrets Manager.
  6. No customer documents, item IDs, or operator accounts ever touch the Software Sushi control plane — only deployment metadata and signed license leases (rlic1).

Step 2 — Launch the CloudFormation stack (~12 minutes)

Return to Configure and launch in AWS Marketplace (or launch deploy/aws/redactor-fargate-marketplace.yaml directly).

When launched through Quick Launch, Software Sushi pre-fills the pinned container digests and license endpoint defaults, and AWS Marketplace populates EnrollmentSecretArn automatically. Enter your seven environment inputs:

Parameter Example Purpose
VpcId vpc-0123456789abcdef0 Target VPC
SubnetIds subnet-aaa,subnet-bbb At least two subnets in different AZs
LoadBalancerScheme internet-facing or internal Publicly reachable (restricted by CIDRs) or private VPC-only
ControlAllowedCidr 203.0.113.10/32 Who can access the web UI (:8080)
DataAllowedCidr 203.0.113.10/32 Who can submit documents (:8081)
IdpEgressCidr 0.0.0.0/0 ALB HTTPS egress to Cognito or your OIDC provider (0.0.0.0/0 for Cognito/public IdP, or a narrower private CIDR)
AdminEmail security-admin@yourcompany.com First Cognito admin user

Optional one-click additions during launch: - S3 drop-folder batch processing: set InputSource=CreatedBucket to create an InputBucket + InputFailureQueue (upload .txt, .jsonl, or .pdf files and read sanitized envelopes from OutputBucket). - Additional output destinations: set Destination to ExistingBucket, SqsQueue, SnsTopic, or Webhook alongside DestinationTarget. - Encrypted delivery outbox: set DurableDelivery=true (requires DurableAdmission=true) to buffer post-decision envelopes in an encrypted PostgreSQL outbox for bounded crash recovery. - AWS Comprehend Medical: set EnableComprehendMedical=true if you want managed clinical entity detection (billed per character by AWS; sends document text to Comprehend Medical in ComprehendRegion). - Amazon SageMaker NER / Amazon Textract PDF OCR: set SageMakerEndpointName for a buyer-hosted SageMaker NER endpoint, or PdfOcrMode=textract for scanned-PDF OCR fallback (both off by default; AWS service charges apply).

Wait for CREATE_COMPLETE (about 12–13 minutes; encrypted Amazon RDS PostgreSQL creation is most of it). Then open the stack's Outputs tab and note:

  • ControlEndpoint — web console (https://<host>:8080)
  • DataEndpoint — ingestion API (https://<host>:8081)
  • OutputBucket — S3 bucket receiving redacted JSON envelopes

Step 3 — Sign in and preview safely (3 minutes)

  1. Open ControlEndpoint in your browser.
  2. If you kept the default self-signed certificate, verify the URL matches ControlEndpoint and proceed past the browser warning.
  3. Sign in on the Cognito page with AdminEmail and the temporary password emailed to you, then choose a permanent password.
  4. Try the visual sandbox in Try redaction (uses memory only, never delivers output).
  5. Open Policies → adjust a rule (for example, mask US_SSN with #) and click Preview draft to test unpublished rules against synthetic text using your live detectors before clicking Publish.
  6. Open Access and click Create ingest key — copy the rk_… bearer token once (it is stored hashed and never shown again).

Step 4 — Send your first real document and verify delivery (2 minutes)

Always verify with synthetic data first before connecting real PHI/PII.

Plain text / JSON (?wait=10s returns the redacted payload synchronously)

curl -k -X POST "<DataEndpoint>/v1/items?wait=10s" \
  -H "Authorization: Bearer rk_YOUR_KEY" \
  -H "Content-Type: application/json" \
  --data '{"text":"Patient Maya Ellison, DOB 03/14/1961, SSN 078-05-1120, phone 617-555-0196, email maya@example.test, seen at Boston General Hospital."}'

(Omit -k when using your own trusted ACM certificate.)

Direct PDF upload

curl -k -X POST "<DataEndpoint>/v1/items?wait=15s" \
  -H "Authorization: Bearer rk_YOUR_KEY" \
  -H "Content-Type: application/pdf" \
  --data-binary @synthetic-note.pdf

Confirm delivery and audit evidence

  1. Check the response: outcome: "redacted", admission: "encrypted_durable", both detectors ok, and zero original values in result.payload.
  2. Verify the actual object in S3:
    aws s3 ls "s3://<OutputBucket>/default/redacted/" --recursive
    
    Download the <item_id>.json envelope and confirm zero raw PII/PHI is present.
  3. Open Item history in the UI to inspect the offset-only trace (egress_ok) and Reports to review the HIPAA Safe Harbor A–R coverage assessment.

Step 5 — Qualify, upgrade, and clean up

  • Qualify recall on your own data: run redactor eval locally against a synthetic or permitted labelled JSONL sample before production traffic (Local evaluation).
  • Verify audit chain integrity: run redactor verify-ledger as a one-off task using the stack's MigrateTaskDefinitionArn (Ledger integrity).
  • Upgrade safely: update the CloudFormation stack with new digest-pinned AppImage / PresidioImage. Existing secrets stay untouched, migrations run automatically before service restart, and new detection rules appear under Patterns → Detection updates for explicit admin adoption.
  • Clean removal: delete the CloudFormation stack first (before removing any external secrets like OidcClientSecretArn), wait for DELETE_COMPLETE, then dispose of the intentionally retained OutputBucket, five key/DSN secrets, and final RDS snapshot according to your retention policy.

Troubleshooting

  • Quick Launch fails to create EnrollmentSecretArn: confirm you clicked Deployment permissions in AWS Marketplace Configure and launch so the Marketplace Deployment service-linked role exists in your account, then retry Prepare Quick Launch in the Software Sushi portal.
  • ECS task cannot pull images (CannotPullContainerError): verify the same AWS account subscribed to the $0 Redactor Deployment Add-on (BYOL) - Software Sushi container listing in AWS Marketplace and that the task subnets have outbound HTTPS access to ECR (public IP in public subnets, or NAT/VPC endpoints in private subnets).
  • Browser warning on ControlEndpoint: expected when CertificateArn is left empty (the stack generates a self-signed certificate). Supply an ACM certificate and EndpointHostname for trusted HTTPS.
  • 403 role_required after sign-in: the Cognito user is missing custom:redactor_role (admin or viewer), or your OIDC user-info endpoint is not returning the configured OidcRoleClaim.
  • 503 on /v1/items with license error: verify outbound HTTPS to https://licensing.softwaresushi.com and check your slot status in the Software Sushi buyer portal (if a single-use enrollment token expired after 2 hours before first launch, mint a fresh one via Prepare Quick Launch; existing enrolled stacks never re-use the enrollment token across restarts).
  • 422 pdf_no_extractable_text: the PDF is scanned/image-only and OCR is off by default. Re-submit a digital text PDF, or enable PdfOcrMode=textract / a VPC HTTP OCR sidecar.

Last updated November 22, 2026 · Suggest an improvement