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):
- VPC ID (
VpcId) and two subnets in different Availability Zones (SubnetIds) — a default VPC works for evaluation. - Load balancer scheme (
LoadBalancerScheme) —internet-facing(restricted by CIDRs) orinternal(private VPC/VPN only). - Operator IP / VPN CIDR (
ControlAllowedCidr, e.g.203.0.113.10/32) for the web console on port8080. - Application / workload CIDR (
DataAllowedCidr, e.g.10.0.0.0/16or your test workstation/32) for ingestion on port8081. - Identity-provider HTTPS egress CIDR (
IdpEgressCidr) — enter0.0.0.0/0for Amazon Cognito or a public OIDC provider, or narrow it to your private IdP CIDR. - First administrator email (
AdminEmail) — receives the initial Cognito temporary password (unless you switchAuthModeto your ownOidcprovider). - (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).
Step 1 — Subscribe and link your account (AWS Marketplace)¶
- 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.
- Click Set up your account to open the Software Sushi buyer onboarding portal (
https://licensing.softwaresushi.com) over HTTPS. - Confirm your work email and organization name.
- 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.
- In the onboarding portal, choose Production (or your included Non-production slot) and click Prepare Quick Launch to provision your single-use
EnrollmentSecretArnparameter directly into your AWS Secrets Manager. - 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)¶
- Open
ControlEndpointin your browser. - If you kept the default self-signed certificate, verify the URL matches
ControlEndpointand proceed past the browser warning. - Sign in on the Cognito page with
AdminEmailand the temporary password emailed to you, then choose a permanent password. - Try the visual sandbox in Try redaction (uses memory only, never delivers output).
- Open Policies → adjust a rule (for example, mask
US_SSNwith#) and click Preview draft to test unpublished rules against synthetic text using your live detectors before clicking Publish. - 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¶
- Check the response:
outcome: "redacted",admission: "encrypted_durable", both detectorsok, and zero original values inresult.payload. - Verify the actual object in S3:
Download the
<item_id>.jsonenvelope and confirm zero raw PII/PHI is present. - 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 evallocally against a synthetic or permitted labelled JSONL sample before production traffic (Local evaluation). - Verify audit chain integrity: run
redactor verify-ledgeras a one-off task using the stack'sMigrateTaskDefinitionArn(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 forDELETE_COMPLETE, then dispose of the intentionally retainedOutputBucket, 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 whenCertificateArnis left empty (the stack generates a self-signed certificate). Supply an ACM certificate andEndpointHostnamefor trusted HTTPS. 403 role_requiredafter sign-in: the Cognito user is missingcustom:redactor_role(adminorviewer), or your OIDC user-info endpoint is not returning the configuredOidcRoleClaim.503on/v1/itemswith license error: verify outbound HTTPS tohttps://licensing.softwaresushi.comand 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 enablePdfOcrMode=textract/ a VPC HTTP OCR sidecar.
Last updated November 22, 2026 · Suggest an improvement