Transfer Family Deployer
What this skill does
Provisions AWS Transfer Family servers with secure storage defaults —
scoped-down IAM roles with session policies that confine each user to
their home directory, Service Managed or custom API Gateway Lambda
identity providers, FTPS / SFTP preferred over plain FTP, VPC-attached
endpoints for private connectivity, CloudWatch structured logging, and
managed workflows for inbound file processing. Runs deterministic
pre-checks before any state-changing CLI (does the S3 bucket exist and
does its policy allow the role? does the IAM role trust
transfer.amazonaws.com? does the ACM cert cover the FTPS endpoint?
does the API Gateway invocation role exist for the custom IdP? does the
VPC security group allow inbound on the protocol port?), emits the exact
create-server and create-user CLIs behind a CONFIRM gate, and
verifies the server via describe-server. Every server plan surfaces
the plain-FTP block, the unscoped-IAM-role warning, the public-endpoint
caveat, and the managed-workflow trigger ordering.
Quick navigation
| Section |
What it covers |
When to read it |
| Quick reference |
Verdict thresholds + pre-check priority order + protocol matrix |
Before any operation |
| Mindset |
Why session policies matter; Transfer Family silent failures; protocol trade-offs |
Understanding the deployment model |
| Pre-flight |
Server metadata gate — S3 bucket, IAM trust, ACM cert, VPC SG, IdP |
Before executing any CLI |
| Process |
Per-operation planning: create server, add user, configure workflow |
When choosing which operation |
| Common patterns |
Service Managed SFTP / custom IdP SFTP / FTPS VPC / AS2 boilerplate |
Boilerplate lookup |
| STRICT output contract |
Required SERVER/VERDICT/PRE_CHECKS/STEPS/POST_VERIFY block |
Formatting the response |
| NEVER (top 5) |
Hard rules that prevent insecure patterns |
Review before deploy |
| Expert heuristic |
Choosing identity provider and endpoint type |
IdP/endpoint strategy |
Quick reference — verdict thresholds
| Verdict |
Trigger condition |
Action |
PREREQUISITES_MISSING |
Any pre-check failed (S3 bucket missing, IAM role not trusting transfer.amazonaws.com, ACM cert in wrong region or pending for FTPS, API Gateway invocation role missing for custom IdP, VPC security group missing or wrong port, Directory Service not reachable, FTP requested on public endpoint, AS2 profile missing partner cert) |
List failures, do NOT execute |
READY_TO_DEPLOY |
All pre-checks passed; awaiting CONFIRM gate |
Emit exact CLI sequence with full server config, wait for operator yes |
Priority order for pre-checks (apply in this sequence, all must pass
for READY_TO_DEPLOY):
- Protocol validity — at least one of SFTP, FTPS, FTP, AS2 set. For
FTP only, endpoint MUST be VPC or VPC_ENDPOINT (never PUBLIC).
- Endpoint type — PUBLIC (internet-facing, service-managed
networking) or VPC/VPC_ENDPOINT (private, your networking).
- Identity provider —
ServiceManaged, API_GATEWAY (custom Lambda
IdP), or AWS_DIRECTORY_SERVICE. For API_GATEWAY: invocation role
exists, the API endpoint is reachable, and the Lambda returns the
expected JSON shape.
- S3 backend — bucket exists in the same region; bucket policy
grants the IAM role
s3:ListBucket, s3:GetObject, s3:PutObject
on the user's home prefix.
- IAM execution role — trust policy allows
transfer.amazonaws.com
with sts:AssumeRole and (recommended) a SourceArn / SourceAccount
condition locking the role to this server.
- Session policy scope — every
create-user call includes a
Policy (session policy) that scopes the user to their home prefix.
Unscoped users can read/write the entire bucket.
- Logging —
LoggingRole ARN provided; role has
logs:CreateLogStream, logs:CreateLogGroup, logs:PutLogEvents
on the CloudWatch log group resource.
- FTPS ACM cert — for FTPS protocol, ACM cert ARN in the same
region, status
ISSUED, cert subject matches the FTPS hostname.
- VPC endpoint config — for VPC_ENDPOINT: VPC ID, subnet IDs, and
security group IDs all exist; the security group inbound rule covers
the protocol port (22/SFTP, 21/FTP, 990/FTPS, 5082/AS2).
- Directory Service — for
AWS_DIRECTORY_SERVICE: the directory
ID resolves via ds:describe-directories; the directory is in the
same VPC as the server; the Transfer service has been granted
access.
- AS2 profiles — for AS2: local profile (with private key in
Secrets Manager) and partner profile (with partner cert) both
exist.
- Managed workflow — for workflows: every step's Lambda/function
ARN resolves; the workflow execution role trusts
transfer.amazonaws.com and the workflow is referenced via
OnPartialUpload / OnUpload.
- IAM permissions — the operator principal holds
transfer:CreateServer and iam:PassRole.
Transfer Family service limits (2026) moved verbatim to references/advanced-patterns.md.
Mindset
One-line takeaway: the IAM role on a Transfer Family user is the
whole security boundary. A user with s3:* on the role and no session
policy can read and write the entire bucket — every other user's
files, system objects, bucket-level operations. The role defines
maximum scope; the session policy (--policy on create-user) defines
the user's effective scope. Three Transfer Family realities drive
this:
Session policies are scoped-down IAM at runtime. The effective
permissions are the intersection of the IAM role policy AND the
session policy. If the IAM role has s3:GetObject on * but the
session policy has s3:GetObject on home/bob/*, the user can only
read home/bob/*. Without a session policy, the user inherits the
full IAM role scope.
Custom IdP responses silently fail. A custom IdP API Gateway /
Lambda that returns malformed JSON (missing Role, HomeDirectory,
or Policy fields) causes Transfer Family to reject the auth with a
generic "authentication failed" — no diagnostic about which field
was wrong. Pre-flight testing of the IdP response shape is
non-negotiable.
Plain FTP is unencrypted on the wire. Username, password, and
file contents are sent in cleartext. Transfer Family enforces this
by requiring VPC/VPC_ENDPOINT for plain FTP — but a misconfigured
public endpoint with FTP enabled is the worst-case silent
regression. The skill blocks FTP-on-PUBLIC at the pre-check gate.
Pre-flight: server metadata gate
Run before classification. Misclassifying these produces wrong plans.
Pagination: list-servers returns at most 1000 servers per page.
Use --next-token to drain.
Live-account pre-flight (skip if offline plan audit):
The 12-command live-account pre-flight listing moved verbatim to references/diagnostic-commands.md.
Malformed input: if the server spec is missing required fields
(Protocols, endpoint type, identity provider type, or storage
backend), emit VERDICT: PREREQUISITES_MISSING with REASON: Server spec missing required field — Protocols, EndpointType, IdentityProviderType, or storage backend. Cannot plan. and
REMEDIATION: Provide the full server config per https://docs.aws.amazon.com/transfer/latest/userguide/create-server-cli.html.
| Attribute |
Effect on operation |
| FTP on PUBLIC endpoint |
Cleartext credentials on the internet. PREREQUISITES_MISSING — blocked. |
| IAM role without session policy on user |
User can read entire bucket. Flag in NOTES; require session policy. |
| S3 bucket in different region |
Latency and cross-region data transfer costs. PREREQUISITES_MISSING. |
IAM role not trusting transfer.amazonaws.com |
Server cannot assume role for the user. PREREQUISITES_MISSING. |
| ACM cert pending for FTPS |
FTPS handshake fails at runtime. PREREQUISITES_MISSING. |
| VPC security group missing inbound on port 22 |
SFTP connections time out silently. PREREQUISITES_MISSING. |
| Custom IdP API Gateway not deployed to stage |
Auth calls return 403/404. PREREQUISITES_MISSING. |
| AS2 partner cert not uploaded |
AS2 messages cannot be encrypted. PREREQUISITES_MISSING. |
| Directory Service not in same VPC as server |
Auth requests time out. PREREQUISITES_MISSING. |
Process — operation planning (apply in order)
Step 0: Expert knowledge — non-obvious Transfer Family behaviors
All 15 non-obvious Transfer Family behaviors moved verbatim to references/advanced-patterns.md.
Step 1: Pre-check gate — PREREQUISITES_MISSING if any check fails
Run ALL of the following pre-checks. If ANY fails, the verdict is
PREREQUISITES_MISSING with the failed checks enumerated in PRE_CHECKS.
Do NOT execute.
For ALL operations:
- At least one of SFTP, FTPS, FTP, AS2 in
Protocols.
EndpointType is one of PUBLIC, VPC, VPC_ENDPOINT.
IdentityProviderType is SERVICE_MANAGED, API_GATEWAY, or
AWS_DIRECTORY_SERVICE.
- Storage backend is provided (S3 bucket name or EFS file system ID).
LoggingRole ARN provided and resolves via iam:get-role.
- Logging role has CloudWatch Logs permissions on the log group.
- The operator principal holds
transfer:CreateServer and
iam:PassRole.
For FTP protocol:
8. EndpointType is VPC or VPC_ENDPOINT (FTP on PUBLIC is BLOCKED).
9. VPC security group inbound rule on port 21.
For SFTP protocol:
10. If PUBLIC: NOTE that VPC is recommended for partner B2B.
11. If VPC/VPC_ENDPOINT: security group inbound rule on port 22.
For FTPS protocol:
12. Certificate ARN provided.
13. ACM cert is in the same region as the server.
14. describe-certificate returns status ISSUED.
15. Cert subject/alt names cover the FTPS hostname.
16. If VPC: security group inbound rule on port 990 (and 21 for
implicit FTPS control channel).
For AS2 protocol:
17. EndpointType is VPC or VPC_ENDPOINT.
18. Local profile exists (describe-profile).
19. Partner profile exists with partner cert.
20. Security group inbound rule on port 5082.
For S3 backend:
21. Bucket exists in the same region.
22. Bucket policy or IAM role grants s3:ListBucket,
s3:GetObject, s3:PutObject on the intended prefix.
23. Bucket versioning status known (recommend Suspended or Enabled for
audit).
24. IAM execution role trusts transfer.amazonaws.com.
25. Recommended: trust policy has aws:SourceAccount or
aws:SourceArn condition locking to this account/server.
For EFS backend:
26. EFS file system ID resolves.
27. EFS access point configured (optional but recommended).
28. IAM role has elasticfilesystem:ClientMount,
elasticfilesystem:ClientWrite.
For API_GATEWAY custom IdP:
29. InvocationRole ARN resolves via iam:get-role.
30. Invocation role trusts transfer.amazonaws.com and has
apigateway:Invoke on the REST API.
31. Url is HTTPS, REST API deployed to a stage.
32. Pre-flight test: POST a sample username/password to the API and
verify the response shape (Role, HomeDirectory, optional Policy).
For AWS_DIRECTORY_SERVICE:
33. Directory ID resolves via ds:describe-directories.
34. Directory status is ACTIVE.
35. Directory is in the same region and VPC.
For managed workflow reference:
36. Workflow ID resolves via transfer:list-workflows.
37. Workflow status is ACTIVE.
38. Workflow steps' Lambda/function ARNs all resolve.
39. Workflow execution role trusts transfer.amazonaws.com and has
lambda:InvokeFunction on each step's Lambda.
For VPC/VPC_ENDPOINT:
40. VPC ID, subnet IDs, security group IDs all resolve via
ec2:describe-*.
41. Security group inbound rules match the protocol ports.
42. (VPC_ENDPOINT only) the endpoint service name resolves.
Step 2: READY_TO_DEPLOY — emit deployment plan
If all pre-checks pass, emit VERDICT: READY_TO_DEPLOY with the exact
CLI sequence and the CONFIRM gate. The plan includes:
- The exact
aws transfer create-server CLI with the full config
(Protocols, EndpointType, IdentityProviderType, LoggingRole,
Certificate for FTPS, VPC/subnet/SG for VPC, tags).
- The follow-up
create-user CLIs for each Service Managed user with
their SSH public key, IAM role, HomeDirectory, and session Policy.
- The follow-up
create-access CLI for S3 bucket access mapping
(when the user's IAM role is the access entry).
- The follow-up
create-workflow CLI (if managed workflow configured).
- The CONFIRM gate prompt.
Step 3: Execute behind CONFIRM gate
- MANDATORY CONFIRMATION GATE. Before any state-changing CLI
(
create-server, update-server, delete-server), emit:
CONFIRM: About to <operation> Transfer Family server <id-or-name> in account <account> region <region>. This will <consequence>. Proceed? (yes/no). Do NOT execute until the operator confirms.
- Snapshot the current server config before modification:
aws transfer describe-server --server-id <id> --output json > /tmp/server-<id>-backup-$(date +%s).json.
- Execute the CLI with the full server config.
Step 4: Post-verification
After the operation finishes, run post-verification:
describe-server --server-id <id> returns State: ONLINE and the
expected config (Protocols, IdentityProviderType, EndpointType).
- For PUBLIC servers: DNS resolution of
s-<id>.server.transfer.<region>.amazonaws.com succeeds.
- For VPC/VPC_ENDPOINT: the ENI or VPC endpoint is in the expected
subnet.
- For Service Managed users:
describe-user --server-id <id> --user-name <user> returns the user with the SSH key, role, and
home directory.
- For custom IdP: trigger a sample auth via the API Gateway and
confirm the Lambda returns the expected JSON shape.
- For managed workflows: trigger a sample upload to the
OnUpload-mapped directory and confirm the workflow executes.
Common server patterns (boilerplate)
All four boilerplate CLI sequences (Service Managed SFTP/S3, custom IdP via API Gateway, Directory Service/FTPS/AS2 short forms, managed workflow OnUpload) moved verbatim to references/worked-examples.md.
STRICT output contract
Required output structure
Every response MUST begin with this block — no preamble, no
conversational opening:
SERVER: <description-or-name>
VERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING
TARGET: <description-or-name> (server-id: <id> for updates)
PRE_CHECKS:
- [PASS] <check description>
- [FAIL] <check description> — <reason>
STEPS:
1. CONFIRM: About to <operation> server <name> in account <account> region <region>. This will <consequence>. Proceed? (yes/no)
2. <exact CLI command — no placeholders>
POST_VERIFY:
- [PASS] <verification description>
- [FAIL] <verification description> — <reason>
PROTOCOLS: SFTP | FTPS | FTP | AS2 (combinations)
ENDPOINT: PUBLIC | VPC | VPC_ENDPOINT
IDP: ServiceManaged | APIGateway | DirectoryService
STORAGE: S3 (bucket: <name>) | EFS (fs: <id>)
SESSION_POLICY_SCOPE: <home-prefix-per-user> | (none — UNSCOPED, blocked)
WORKFLOWS: <count> attached
NOTES: <security posture, IAM scope, protocol caveats>
FORBIDDEN output patterns
- NEVER start with "Let me analyze…" or "I'll create…" — the VERDICT
block is the FIRST line, always. No conversational preamble.
- NEVER use lowercase verdict values — emit
READY_TO_DEPLOY or
PREREQUISITES_MISSING (not ready, prerequisites).
- NEVER omit PRE_CHECKS — every pre-check run must appear with
[PASS]
or [FAIL] and a specific reason for each failure. An empty
PRE_CHECKS block is non-compliant.
- NEVER emit a plan with placeholder values (e.g.,
<server-id>,
<account-id>) in a READY_TO_DEPLOY plan — every field must be
populated with actual values from the input.
- NEVER omit the CONFIRM gate as the first STEPS entry for any
state-changing operation.
- NEVER claim success without verifying the server is ONLINE (via
describe-server).
- NEVER silently allow FTP on PUBLIC endpoint — block it explicitly
with a [FAIL] pre-check row naming the cleartext credential risk.
- NEVER create a user without a session policy — unscoped users can
read the entire bucket. If the input omits it, the skill inserts a
default scoped to the home prefix and flags in NOTES.
Perfect example output
SERVER: prod-sftp-inbox
VERDICT: READY_TO_DEPLOY
TARGET: prod-sftp-inbox
PRE_CHECKS:
- [PASS] Protocols valid: SFTP
- [PASS] Endpoint type: PUBLIC (acceptable for SFTP; VPC preferred for partner B2B)
- [PASS] Identity provider: SERVICE_MANAGED
- [PASS] S3 bucket prod-sftp-inbox exists in us-east-1
- [PASS] IAM role TransferUserS3Role trusts transfer.amazonaws.com with SourceAccount condition
- [PASS] IAM role has s3:ListBucket, s3:GetObject, s3:PutObject on bucket
- [PASS] Logging role TransferLoggingRole resolves with logs:* permissions
- [PASS] Operator principal holds transfer:CreateServer and iam:PassRole
STEPS:
1. CONFIRM: About to create-server prod-sftp-inbox in account 111111111111 region us-east-1. This will CREATE a new Transfer Family server with SFTP protocol, Service Managed IdP, and CloudWatch logging. Proceed? (yes/no)
2. aws transfer create-server --description prod-sftp-inbox --protocols SFTP --endpoint-type PUBLIC --identity-provider-type SERVICE_MANAGED --logging-role arn:aws:iam::111111111111:role/TransferLoggingRole --tags Key=Environment,Value=prod
3. aws transfer create-user --server-id <returned-id> --user-name alice --role arn:aws:iam::111111111111:role/TransferUserS3Role --home-directory /prod-sftp-inbox/alice --ssh-public-key-body "ssh-rsa AAAAB3..." --policy '{session policy scoping to /alice/*}'
POST_VERIFY:
- (pending execution)
- describe-server returns State=ONLINE
- describe-user returns alice with SSH key, role, home directory, and session policy
PROTOCOLS: SFTP
ENDPOINT: PUBLIC
IDP: ServiceManaged
STORAGE: S3 (bucket: prod-sftp-inbox)
SESSION_POLICY_SCOPE: per-user home prefix
WORKFLOWS: 0 attached
NOTES:
- PUBLIC endpoint exposes SFTP to the internet — VPC endpoint preferred for partner B2B.
- Session policy scopes alice to /prod-sftp-inbox/alice/* — without it she could read the whole bucket.
- Tags Environment=prod propagate to Cost Explorer for chargeback.
NEVER (top 5)
These are the highest-impact, most-frequent failure modes in Transfer
Family deployments. Violating any one is a security or availability
regression.
NEVER enable FTP on a PUBLIC endpoint. Plain FTP sends
username, password, and file contents in cleartext on the wire.
Transfer Family requires VPC/VPC_ENDPOINT for FTP for this reason.
A misconfigured public FTP server leaks credentials at the TCP
layer — block at pre-check.
NEVER create a user without a session policy. The IAM role
defines the user's MAX scope. Without a session policy, the user
inherits the full role scope — typically every user's files, every
prefix, and potentially bucket-level operations. Always pass
--policy scoping the user to their home prefix. The skill inserts
a default if the input omits it.
NEVER use an IAM execution role that trusts
transfer.amazonaws.com without a SourceAccount / SourceArn
condition. A bare trust policy lets any AWS account's Transfer
Family server assume the role via confused-deputy. Lock the trust
to your account (or specific server ARN) via the condition.
NEVER deploy FTPS without verifying the ACM cert status is
ISSUED. A pending or rejected cert causes the FTPS handshake to
fail at runtime — clients see generic TLS errors with no diagnostic
pointing back to ACM. Verify in the same region as the server and
confirm the subject matches the hostname clients connect to.
NEVER configure a custom IdP API Gateway without pre-flight
testing the Lambda response shape. A missing Role,
HomeDirectory, or Policy field causes auth to fail with a
generic "authentication failed" error — no diagnostic about which
field was wrong. POST a sample username/password to the API and
validate the JSON shape before declaring the server ready.
Expert heuristic: choosing identity provider and endpoint type
The right IdP and endpoint type is a function of user population,
credential source, and network exposure — not a one-size-fits-all.
Identity provider
├─ Consumer / one-off partners (small user count)?
│ └─ SERVICE_MANAGED. SSH keys per user. No password to leak,
│ no IdP infrastructure to operate. Best UX if you can
│ distribute SSH keys.
│
├─ Workforce users in Active Directory?
│ └─ AWS_DIRECTORY_SERVICE. Users sign in with DOMAIN\user +
│ AD password — no SSH keys. Requires Managed Microsoft AD
│ in the same VPC. Simple AD is NOT supported.
│
├─ External partners with their own IdP (Okta, Auth0, custom)?
│ └─ API_GATEWAY custom Lambda IdP. Your Lambda receives
│ username/password (or SSH key fingerprint) and returns
│ {Role, HomeDirectory, Policy, PublicKeys}. Maximum
│ flexibility — centralizes user mapping, MFA, audit.
│
└─ AS2 partners (B2B app-level)?
└─ Local + partner profile cert exchange. AS2 uses mutual
cert-based auth — not username/password.
Endpoint type
├─ Internet-facing SFTP for ad-hoc partner onboarding?
│ └─ PUBLIC. Acceptable for SFTP. Use security groups and IP
│ allow-lists where possible. FTPS on PUBLIC exposes TLS
│ metadata.
│
├─ Private partner B2B (regulated, internal-only)?
│ └─ VPC_ENDPOINT. Your VPC, your SGs, your Route 53. Partner
│ connects via VPN/Direct Connect/peering.
│
├─ Multi-AZ resilience for production SFTP?
│ └─ VPC with subnets in 2+ AZs. VPC_ENDPOINT preferred —
│ single endpoint serves all AZs without per-subnet ENI.
│
└─ AS2 or FTP (required private)?
└─ VPC_ENDPOINT only. FTP never on PUBLIC (blocked).
Decision rules:
- Default to SERVICE_MANAGED + SSH keys. Switch to custom IdP only when
you need password auth, MFA, or central user management.
- Default to VPC_ENDPOINT for production. PUBLIC is acceptable for
SFTP pilots but exposes metadata.
- Always pass a session policy scoping the user to their home prefix.
- Always pair
LoggingRole with the structured-logging managed policy
— without logs you have no audit trail of who uploaded what.
- FTPS requires ACM cert in the same region; SFTP does not.
- AS2 is a separate operational model — local/partner profile cert
exchange, MDN acks, no SSH key distribution.
ALWAYS tag the server with Environment and (for partner servers)
Partner — these tags propagate to Cost Explorer for chargeback.
Recent AWS features (2024-2026)
The 2024-2026 feature timeline moved verbatim to references/advanced-patterns.md.
AWS documentation
References (load on demand)
- references/worked-examples.md — full CLI boilerplate for the four common server patterns
- references/advanced-patterns.md — Step 0 non-obvious behaviors, 2026 service limits, 2024-2026 feature timeline
- references/diagnostic-commands.md — 12-command live-account pre-flight listing
- references/identity-providers-and-storage.md — identity provider and storage backend detail
- references/server-and-iam-session-policies.md — server IAM and session policy detail
Domain
AWS CloudOps / Storage — Transfer Family Server Provisioning & File
Exchange.
1---2name: transfer-family-deployer3description: Provisions AWS Transfer Family servers with secure defaults — SFTP, FTPS, and FTP protocols, server endpoint types (public vs VPC vs VPC_ENDPOINT), identity providers (Service Managed, API Gateway Lambda custom IdP, AWS Directory Service), S3 storage backend with scoped-down IAM roles and session policies, EFS-backed users, CloudWatch logging, security groups for VPC endpoints, AS2 app-level B2B messaging, managed workflows (copy, delete, tag), tags, and structured logging. Runs pre-checks (S3 bucket policy, IAM role session policy scope, ACM cert for FTPS, API Gateway invocation permissions for custom IdP, VPC subnet/security group reachability, Directory Service user population), emits create-server and create-user CLIs behind a CONFIRM gate, and verifies via describe-server. Emits READY_TO_DEPLOY | PREREQUISITES_MISSING. Use when creating SFTP/FTPS servers, configuring custom IdPs, or setting up managed workflows.4license: Apache-2.05compatibility: Agent runtime that reads SKILL.md (Claude Code, Cursor, Windsurf, Codex, Gemini). No AWS CLI required for offline plan classification. Live-account operations use aws transfer create-server, create-user, update-server, describe-server, create-access, create-workflow (AWS CLI v2, SSO or key-based credentials).6metadata:7 source: https://skillmd.com/skills/jhkchan/transfer-family-deployer8 domain: aws-cloudops9 complexity: high10 requires_llm: 'true'11 phase: '1'12 supports_pipeline: 'true'13 entry_point: 'false'14 family: Storage15 task_type: deploy16 skill_class: capability17 lifecycle_status: active18 verdict_shape: READY_TO_DEPLOY | PREREQUISITES_MISSING19 version: 0.1.020 author: Jacky Chan — AWS Community Builder21 tags: transfer-family, sftp, ftps, storage, file-transfer, deploy, vpc, as222 dependencies: aws-orchestrator23 keywords: Transfer Family, AWS Transfer, SFTP, FTPS, FTP, AS2, file transfer, service managed, custom IdP, API Gateway, Lambda IdP, Directory Service, Managed Microsoft AD, S3 backend, EFS backend, session policy, IAM role, VPC endpoint, security group, managed workflows, CloudWatch logging, structured logging24 when_to_use: Creating an AWS Transfer Family server (SFTP, FTPS, FTP, AS2), configuring an identity provider (Service Managed, API Gateway Lambda custom IdP, AWS Directory Service), scoping IAM roles for per-user S3 access, deploying a VPC-attached server with security groups, enabling structured CloudWatch logging, or setting up managed workflows for inbound/outbound file processing.25 activation_triggers: create Transfer Family server, provision SFTP server, deploy FTPS server, Transfer Family custom IdP, API Gateway Lambda identity, Directory Service SFTP, Managed Microsoft AD SFTP, session policy S3, scoped-down IAM role, VPC endpoint Transfer Family, security group SFTP, EFS-backed users, Transfer Family managed workflow, AS2 app-level messaging, Transfer Family structured logging, create-server transfer, create-user transfer, Transfer Family tags26 invocation_schema: 'Input: either (a) a Transfer Family deployment intent (create, update) with target server name, protocols (SFTP/FTPS/FTP/AS2), endpoint type (public/VPC/VPC_ENDPOINT), identity provider config, storage backend (S3 bucket or EFS), IAM role and session policy, logging config, security groups, and tags; OR (b) a server-id for live-account update or validation. Output: deterministic SERVER/VERDICT/PRE_CHECKS/STEPS/POST_VERIFY block per operation, where VERDICT is one of READY_TO_DEPLOY, PREREQUISITES_MISSING.'27---2829# Transfer Family Deployer3031## What this skill does3233Provisions AWS Transfer Family servers with secure storage defaults —34scoped-down IAM roles with session policies that confine each user to35their `home` directory, Service Managed or custom API Gateway Lambda36identity providers, FTPS / SFTP preferred over plain FTP, VPC-attached37endpoints for private connectivity, CloudWatch structured logging, and38managed workflows for inbound file processing. Runs deterministic39pre-checks before any state-changing CLI (does the S3 bucket exist and40does its policy allow the role? does the IAM role trust41`transfer.amazonaws.com`? does the ACM cert cover the FTPS endpoint?42does the API Gateway invocation role exist for the custom IdP? does the43VPC security group allow inbound on the protocol port?), emits the exact44`create-server` and `create-user` CLIs behind a CONFIRM gate, and45verifies the server via `describe-server`. Every server plan surfaces46the plain-FTP block, the unscoped-IAM-role warning, the public-endpoint47caveat, and the managed-workflow trigger ordering.4849## Quick navigation5051| Section | What it covers | When to read it |52|---|---|---|53| **Quick reference** | Verdict thresholds + pre-check priority order + protocol matrix | Before any operation |54| **Mindset** | Why session policies matter; Transfer Family silent failures; protocol trade-offs | Understanding the deployment model |55| **Pre-flight** | Server metadata gate — S3 bucket, IAM trust, ACM cert, VPC SG, IdP | Before executing any CLI |56| **Process** | Per-operation planning: create server, add user, configure workflow | When choosing which operation |57| **Common patterns** | Service Managed SFTP / custom IdP SFTP / FTPS VPC / AS2 boilerplate | Boilerplate lookup |58| **STRICT output contract** | Required SERVER/VERDICT/PRE_CHECKS/STEPS/POST_VERIFY block | Formatting the response |59| **NEVER (top 5)** | Hard rules that prevent insecure patterns | Review before deploy |60| **Expert heuristic** | Choosing identity provider and endpoint type | IdP/endpoint strategy |6162## Quick reference — verdict thresholds6364| Verdict | Trigger condition | Action |65|---|---|---|66| `PREREQUISITES_MISSING` | Any pre-check failed (S3 bucket missing, IAM role not trusting `transfer.amazonaws.com`, ACM cert in wrong region or pending for FTPS, API Gateway invocation role missing for custom IdP, VPC security group missing or wrong port, Directory Service not reachable, FTP requested on public endpoint, AS2 profile missing partner cert) | List failures, do NOT execute |67| `READY_TO_DEPLOY` | All pre-checks passed; awaiting CONFIRM gate | Emit exact CLI sequence with full server config, wait for operator yes |6869**Priority order for pre-checks (apply in this sequence, all must pass70for READY_TO_DEPLOY):**71721. **Protocol validity** — at least one of SFTP, FTPS, FTP, AS2 set. For73 `FTP` only, endpoint MUST be VPC or VPC_ENDPOINT (never PUBLIC).742. **Endpoint type** — PUBLIC (internet-facing, service-managed75 networking) or VPC/VPC_ENDPOINT (private, your networking).763. **Identity provider** — `ServiceManaged`, `API_GATEWAY` (custom Lambda77 IdP), or `AWS_DIRECTORY_SERVICE`. For `API_GATEWAY`: invocation role78 exists, the API endpoint is reachable, and the Lambda returns the79 expected JSON shape.804. **S3 backend** — bucket exists in the same region; bucket policy81 grants the IAM role `s3:ListBucket`, `s3:GetObject`, `s3:PutObject`82 on the user's home prefix.835. **IAM execution role** — trust policy allows `transfer.amazonaws.com`84 with `sts:AssumeRole` and (recommended) a `SourceArn` / `SourceAccount`85 condition locking the role to this server.866. **Session policy scope** — every `create-user` call includes a87 `Policy` (session policy) that scopes the user to their home prefix.88 Unscoped users can read/write the entire bucket.897. **Logging** — `LoggingRole` ARN provided; role has90 `logs:CreateLogStream`, `logs:CreateLogGroup`, `logs:PutLogEvents`91 on the CloudWatch log group resource.928. **FTPS ACM cert** — for FTPS protocol, ACM cert ARN in the same93 region, status `ISSUED`, cert subject matches the FTPS hostname.949. **VPC endpoint config** — for VPC_ENDPOINT: VPC ID, subnet IDs, and95 security group IDs all exist; the security group inbound rule covers96 the protocol port (22/SFTP, 21/FTP, 990/FTPS, 5082/AS2).9710. **Directory Service** — for `AWS_DIRECTORY_SERVICE`: the directory98 ID resolves via `ds:describe-directories`; the directory is in the99 same VPC as the server; the Transfer service has been granted100 access.10111. **AS2 profiles** — for AS2: local profile (with private key in102 Secrets Manager) and partner profile (with partner cert) both103 exist.10412. **Managed workflow** — for workflows: every step's Lambda/function105 ARN resolves; the workflow execution role trusts106 `transfer.amazonaws.com` and the workflow is referenced via107 `OnPartialUpload` / `OnUpload`.10813. **IAM permissions** — the operator principal holds109 `transfer:CreateServer` and `iam:PassRole`.110111Transfer Family service limits (2026) moved verbatim to [references/advanced-patterns.md](references/advanced-patterns.md).112113## Mindset114115**One-line takeaway:** the IAM role on a Transfer Family user is the116whole security boundary. A user with `s3:*` on the role and no session117policy can read and write the entire bucket — every other user's118files, system objects, bucket-level operations. The role defines119maximum scope; the session policy (`--policy` on `create-user`) defines120the user's effective scope. Three Transfer Family realities drive121this:122123- **Session policies are scoped-down IAM at runtime.** The effective124 permissions are the intersection of the IAM role policy AND the125 session policy. If the IAM role has `s3:GetObject` on `*` but the126 session policy has `s3:GetObject` on `home/bob/*`, the user can only127 read `home/bob/*`. Without a session policy, the user inherits the128 full IAM role scope.129130- **Custom IdP responses silently fail.** A custom IdP API Gateway /131 Lambda that returns malformed JSON (missing `Role`, `HomeDirectory`,132 or `Policy` fields) causes Transfer Family to reject the auth with a133 generic "authentication failed" — no diagnostic about which field134 was wrong. Pre-flight testing of the IdP response shape is135 non-negotiable.136137- **Plain FTP is unencrypted on the wire.** Username, password, and138 file contents are sent in cleartext. Transfer Family enforces this139 by requiring VPC/VPC_ENDPOINT for plain FTP — but a misconfigured140 public endpoint with FTP enabled is the worst-case silent141 regression. The skill blocks FTP-on-PUBLIC at the pre-check gate.142143## Pre-flight: server metadata gate144145Run before classification. Misclassifying these produces wrong plans.146147**Pagination:** `list-servers` returns at most 1000 servers per page.148Use `--next-token` to drain.149150**Live-account pre-flight (skip if offline plan audit):**151The 12-command live-account pre-flight listing moved verbatim to [references/diagnostic-commands.md](references/diagnostic-commands.md).152153**Malformed input:** if the server spec is missing required fields154(`Protocols`, endpoint type, identity provider type, or storage155backend), emit `VERDICT: PREREQUISITES_MISSING` with `REASON: Server156spec missing required field — Protocols, EndpointType,157IdentityProviderType, or storage backend. Cannot plan.` and158`REMEDIATION: Provide the full server config per159https://docs.aws.amazon.com/transfer/latest/userguide/create-server-cli.html.`160161| Attribute | Effect on operation |162|---|---|163| FTP on PUBLIC endpoint | Cleartext credentials on the internet. PREREQUISITES_MISSING — blocked. |164| IAM role without session policy on user | User can read entire bucket. Flag in NOTES; require session policy. |165| S3 bucket in different region | Latency and cross-region data transfer costs. PREREQUISITES_MISSING. |166| IAM role not trusting `transfer.amazonaws.com` | Server cannot assume role for the user. PREREQUISITES_MISSING. |167| ACM cert pending for FTPS | FTPS handshake fails at runtime. PREREQUISITES_MISSING. |168| VPC security group missing inbound on port 22 | SFTP connections time out silently. PREREQUISITES_MISSING. |169| Custom IdP API Gateway not deployed to stage | Auth calls return 403/404. PREREQUISITES_MISSING. |170| AS2 partner cert not uploaded | AS2 messages cannot be encrypted. PREREQUISITES_MISSING. |171| Directory Service not in same VPC as server | Auth requests time out. PREREQUISITES_MISSING. |172173## Process — operation planning (apply in order)174175### Step 0: Expert knowledge — non-obvious Transfer Family behaviors176177All 15 non-obvious Transfer Family behaviors moved verbatim to [references/advanced-patterns.md](references/advanced-patterns.md).178179### Step 1: Pre-check gate — PREREQUISITES_MISSING if any check fails180181Run ALL of the following pre-checks. If ANY fails, the verdict is182PREREQUISITES_MISSING with the failed checks enumerated in PRE_CHECKS.183Do NOT execute.184185**For ALL operations:**1861. At least one of SFTP, FTPS, FTP, AS2 in `Protocols`.1872. `EndpointType` is one of `PUBLIC`, `VPC`, `VPC_ENDPOINT`.1883. `IdentityProviderType` is `SERVICE_MANAGED`, `API_GATEWAY`, or189 `AWS_DIRECTORY_SERVICE`.1904. Storage backend is provided (S3 bucket name or EFS file system ID).1915. `LoggingRole` ARN provided and resolves via `iam:get-role`.1926. Logging role has CloudWatch Logs permissions on the log group.1937. The operator principal holds `transfer:CreateServer` and194 `iam:PassRole`.195196**For FTP protocol:**1978. `EndpointType` is `VPC` or `VPC_ENDPOINT` (FTP on PUBLIC is BLOCKED).1989. VPC security group inbound rule on port 21.199200**For SFTP protocol:**20110. If PUBLIC: NOTE that VPC is recommended for partner B2B.20211. If VPC/VPC_ENDPOINT: security group inbound rule on port 22.203204**For FTPS protocol:**20512. `Certificate` ARN provided.20613. ACM cert is in the same region as the server.20714. `describe-certificate` returns status `ISSUED`.20815. Cert subject/alt names cover the FTPS hostname.20916. If VPC: security group inbound rule on port 990 (and 21 for210 implicit FTPS control channel).211212**For AS2 protocol:**21317. `EndpointType` is `VPC` or `VPC_ENDPOINT`.21418. Local profile exists (`describe-profile`).21519. Partner profile exists with partner cert.21620. Security group inbound rule on port 5082.217218**For S3 backend:**21921. Bucket exists in the same region.22022. Bucket policy or IAM role grants `s3:ListBucket`,221 `s3:GetObject`, `s3:PutObject` on the intended prefix.22223. Bucket versioning status known (recommend Suspended or Enabled for223 audit).22424. IAM execution role trusts `transfer.amazonaws.com`.22525. Recommended: trust policy has `aws:SourceAccount` or226 `aws:SourceArn` condition locking to this account/server.227228**For EFS backend:**22926. EFS file system ID resolves.23027. EFS access point configured (optional but recommended).23128. IAM role has `elasticfilesystem:ClientMount`,232 `elasticfilesystem:ClientWrite`.233234**For API_GATEWAY custom IdP:**23529. `InvocationRole` ARN resolves via `iam:get-role`.23630. Invocation role trusts `transfer.amazonaws.com` and has237 `apigateway:Invoke` on the REST API.23831. `Url` is HTTPS, REST API deployed to a stage.23932. Pre-flight test: POST a sample username/password to the API and240 verify the response shape (Role, HomeDirectory, optional Policy).241242**For AWS_DIRECTORY_SERVICE:**24333. Directory ID resolves via `ds:describe-directories`.24434. Directory status is ACTIVE.24535. Directory is in the same region and VPC.246247**For managed workflow reference:**24836. Workflow ID resolves via `transfer:list-workflows`.24937. Workflow status is ACTIVE.25038. Workflow steps' Lambda/function ARNs all resolve.25139. Workflow execution role trusts `transfer.amazonaws.com` and has252 `lambda:InvokeFunction` on each step's Lambda.253254**For VPC/VPC_ENDPOINT:**25540. VPC ID, subnet IDs, security group IDs all resolve via256 `ec2:describe-*`.25741. Security group inbound rules match the protocol ports.25842. (VPC_ENDPOINT only) the endpoint service name resolves.259260### Step 2: READY_TO_DEPLOY — emit deployment plan261262If all pre-checks pass, emit `VERDICT: READY_TO_DEPLOY` with the exact263CLI sequence and the CONFIRM gate. The plan includes:264265- The exact `aws transfer create-server` CLI with the full config266 (Protocols, EndpointType, IdentityProviderType, LoggingRole,267 Certificate for FTPS, VPC/subnet/SG for VPC, tags).268- The follow-up `create-user` CLIs for each Service Managed user with269 their SSH public key, IAM role, HomeDirectory, and session Policy.270- The follow-up `create-access` CLI for S3 bucket access mapping271 (when the user's IAM role is the access entry).272- The follow-up `create-workflow` CLI (if managed workflow configured).273- The CONFIRM gate prompt.274275### Step 3: Execute behind CONFIRM gate276277- **MANDATORY CONFIRMATION GATE.** Before any state-changing CLI278 (`create-server`, `update-server`, `delete-server`), emit:279 `CONFIRM: About to <operation> Transfer Family server <id-or-name>280 in account <account> region <region>. This will <consequence>.281 Proceed? (yes/no)`. Do NOT execute until the operator confirms.282- Snapshot the current server config before modification:283 `aws transfer describe-server --server-id <id> --output json >284 /tmp/server-<id>-backup-$(date +%s).json`.285- Execute the CLI with the full server config.286287### Step 4: Post-verification288289After the operation finishes, run post-verification:2902911. `describe-server --server-id <id>` returns `State: ONLINE` and the292 expected config (Protocols, IdentityProviderType, EndpointType).2932. For PUBLIC servers: DNS resolution of294 `s-<id>.server.transfer.<region>.amazonaws.com` succeeds.2953. For VPC/VPC_ENDPOINT: the ENI or VPC endpoint is in the expected296 subnet.2974. For Service Managed users: `describe-user --server-id <id>298 --user-name <user>` returns the user with the SSH key, role, and299 home directory.3005. For custom IdP: trigger a sample auth via the API Gateway and301 confirm the Lambda returns the expected JSON shape.3026. For managed workflows: trigger a sample upload to the303 `OnUpload`-mapped directory and confirm the workflow executes.304305## Common server patterns (boilerplate)306307All four boilerplate CLI sequences (Service Managed SFTP/S3, custom IdP via API Gateway, Directory Service/FTPS/AS2 short forms, managed workflow OnUpload) moved verbatim to [references/worked-examples.md](references/worked-examples.md).308309## STRICT output contract310311### Required output structure312313Every response MUST begin with this block — no preamble, no314conversational opening:315316```text317SERVER: <description-or-name>318VERDICT: READY_TO_DEPLOY | PREREQUISITES_MISSING319TARGET: <description-or-name> (server-id: <id> for updates)320PRE_CHECKS:321 - [PASS] <check description>322 - [FAIL] <check description> — <reason>323STEPS:324 1. CONFIRM: About to <operation> server <name> in account <account> region <region>. This will <consequence>. Proceed? (yes/no)325 2. <exact CLI command — no placeholders>326POST_VERIFY:327 - [PASS] <verification description>328 - [FAIL] <verification description> — <reason>329PROTOCOLS: SFTP | FTPS | FTP | AS2 (combinations)330ENDPOINT: PUBLIC | VPC | VPC_ENDPOINT331IDP: ServiceManaged | APIGateway | DirectoryService332STORAGE: S3 (bucket: <name>) | EFS (fs: <id>)333SESSION_POLICY_SCOPE: <home-prefix-per-user> | (none — UNSCOPED, blocked)334WORKFLOWS: <count> attached335NOTES: <security posture, IAM scope, protocol caveats>336```337338### FORBIDDEN output patterns339340- NEVER start with "Let me analyze…" or "I'll create…" — the VERDICT341 block is the FIRST line, always. No conversational preamble.342- NEVER use lowercase verdict values — emit `READY_TO_DEPLOY` or343 `PREREQUISITES_MISSING` (not `ready`, `prerequisites`).344- NEVER omit PRE_CHECKS — every pre-check run must appear with `[PASS]`345 or `[FAIL]` and a specific reason for each failure. An empty346 PRE_CHECKS block is non-compliant.347- NEVER emit a plan with placeholder values (e.g., `<server-id>`,348 `<account-id>`) in a READY_TO_DEPLOY plan — every field must be349 populated with actual values from the input.350- NEVER omit the CONFIRM gate as the first STEPS entry for any351 state-changing operation.352- NEVER claim success without verifying the server is ONLINE (via353 `describe-server`).354- NEVER silently allow FTP on PUBLIC endpoint — block it explicitly355 with a [FAIL] pre-check row naming the cleartext credential risk.356- NEVER create a user without a session policy — unscoped users can357 read the entire bucket. If the input omits it, the skill inserts a358 default scoped to the home prefix and flags in NOTES.359360### Perfect example output361362```text363SERVER: prod-sftp-inbox364VERDICT: READY_TO_DEPLOY365TARGET: prod-sftp-inbox366PRE_CHECKS:367 - [PASS] Protocols valid: SFTP368 - [PASS] Endpoint type: PUBLIC (acceptable for SFTP; VPC preferred for partner B2B)369 - [PASS] Identity provider: SERVICE_MANAGED370 - [PASS] S3 bucket prod-sftp-inbox exists in us-east-1371 - [PASS] IAM role TransferUserS3Role trusts transfer.amazonaws.com with SourceAccount condition372 - [PASS] IAM role has s3:ListBucket, s3:GetObject, s3:PutObject on bucket373 - [PASS] Logging role TransferLoggingRole resolves with logs:* permissions374 - [PASS] Operator principal holds transfer:CreateServer and iam:PassRole375STEPS:376 1. CONFIRM: About to create-server prod-sftp-inbox in account 111111111111 region us-east-1. This will CREATE a new Transfer Family server with SFTP protocol, Service Managed IdP, and CloudWatch logging. Proceed? (yes/no)377 2. aws transfer create-server --description prod-sftp-inbox --protocols SFTP --endpoint-type PUBLIC --identity-provider-type SERVICE_MANAGED --logging-role arn:aws:iam::111111111111:role/TransferLoggingRole --tags Key=Environment,Value=prod378 3. aws transfer create-user --server-id <returned-id> --user-name alice --role arn:aws:iam::111111111111:role/TransferUserS3Role --home-directory /prod-sftp-inbox/alice --ssh-public-key-body "ssh-rsa AAAAB3..." --policy '{session policy scoping to /alice/*}'379POST_VERIFY:380 - (pending execution)381 - describe-server returns State=ONLINE382 - describe-user returns alice with SSH key, role, home directory, and session policy383PROTOCOLS: SFTP384ENDPOINT: PUBLIC385IDP: ServiceManaged386STORAGE: S3 (bucket: prod-sftp-inbox)387SESSION_POLICY_SCOPE: per-user home prefix388WORKFLOWS: 0 attached389NOTES:390 - PUBLIC endpoint exposes SFTP to the internet — VPC endpoint preferred for partner B2B.391 - Session policy scopes alice to /prod-sftp-inbox/alice/* — without it she could read the whole bucket.392 - Tags Environment=prod propagate to Cost Explorer for chargeback.393```394395## NEVER (top 5)396397These are the highest-impact, most-frequent failure modes in Transfer398Family deployments. Violating any one is a security or availability399regression.4004011. **NEVER enable FTP on a PUBLIC endpoint.** Plain FTP sends402 username, password, and file contents in cleartext on the wire.403 Transfer Family requires VPC/VPC_ENDPOINT for FTP for this reason.404 A misconfigured public FTP server leaks credentials at the TCP405 layer — block at pre-check.4064072. **NEVER create a user without a session policy.** The IAM role408 defines the user's MAX scope. Without a session policy, the user409 inherits the full role scope — typically every user's files, every410 prefix, and potentially bucket-level operations. Always pass411 `--policy` scoping the user to their home prefix. The skill inserts412 a default if the input omits it.4134143. **NEVER use an IAM execution role that trusts415 `transfer.amazonaws.com` without a `SourceAccount` / `SourceArn`416 condition.** A bare trust policy lets any AWS account's Transfer417 Family server assume the role via confused-deputy. Lock the trust418 to your account (or specific server ARN) via the condition.4194204. **NEVER deploy FTPS without verifying the ACM cert status is421 ISSUED.** A pending or rejected cert causes the FTPS handshake to422 fail at runtime — clients see generic TLS errors with no diagnostic423 pointing back to ACM. Verify in the same region as the server and424 confirm the subject matches the hostname clients connect to.4254265. **NEVER configure a custom IdP API Gateway without pre-flight427 testing the Lambda response shape.** A missing `Role`,428 `HomeDirectory`, or `Policy` field causes auth to fail with a429 generic "authentication failed" error — no diagnostic about which430 field was wrong. POST a sample username/password to the API and431 validate the JSON shape before declaring the server ready.432433## Expert heuristic: choosing identity provider and endpoint type434435The right IdP and endpoint type is a function of user population,436credential source, and network exposure — not a one-size-fits-all.437438```439Identity provider440 ├─ Consumer / one-off partners (small user count)?441 │ └─ SERVICE_MANAGED. SSH keys per user. No password to leak,442 │ no IdP infrastructure to operate. Best UX if you can443 │ distribute SSH keys.444 │445 ├─ Workforce users in Active Directory?446 │ └─ AWS_DIRECTORY_SERVICE. Users sign in with DOMAIN\user +447 │ AD password — no SSH keys. Requires Managed Microsoft AD448 │ in the same VPC. Simple AD is NOT supported.449 │450 ├─ External partners with their own IdP (Okta, Auth0, custom)?451 │ └─ API_GATEWAY custom Lambda IdP. Your Lambda receives452 │ username/password (or SSH key fingerprint) and returns453 │ {Role, HomeDirectory, Policy, PublicKeys}. Maximum454 │ flexibility — centralizes user mapping, MFA, audit.455 │456 └─ AS2 partners (B2B app-level)?457 └─ Local + partner profile cert exchange. AS2 uses mutual458 cert-based auth — not username/password.459460Endpoint type461 ├─ Internet-facing SFTP for ad-hoc partner onboarding?462 │ └─ PUBLIC. Acceptable for SFTP. Use security groups and IP463 │ allow-lists where possible. FTPS on PUBLIC exposes TLS464 │ metadata.465 │466 ├─ Private partner B2B (regulated, internal-only)?467 │ └─ VPC_ENDPOINT. Your VPC, your SGs, your Route 53. Partner468 │ connects via VPN/Direct Connect/peering.469 │470 ├─ Multi-AZ resilience for production SFTP?471 │ └─ VPC with subnets in 2+ AZs. VPC_ENDPOINT preferred —472 │ single endpoint serves all AZs without per-subnet ENI.473 │474 └─ AS2 or FTP (required private)?475 └─ VPC_ENDPOINT only. FTP never on PUBLIC (blocked).476```477478**Decision rules:**479- Default to SERVICE_MANAGED + SSH keys. Switch to custom IdP only when480 you need password auth, MFA, or central user management.481- Default to VPC_ENDPOINT for production. PUBLIC is acceptable for482 SFTP pilots but exposes metadata.483- Always pass a session policy scoping the user to their home prefix.484- Always pair `LoggingRole` with the structured-logging managed policy485 — without logs you have no audit trail of who uploaded what.486- FTPS requires ACM cert in the same region; SFTP does not.487- AS2 is a separate operational model — local/partner profile cert488 exchange, MDN acks, no SSH key distribution.489490ALWAYS tag the server with `Environment` and (for partner servers)491`Partner` — these tags propagate to Cost Explorer for chargeback.492493## Recent AWS features (2024-2026)494495The 2024-2026 feature timeline moved verbatim to [references/advanced-patterns.md](references/advanced-patterns.md).496497## AWS documentation498499- **AWS Transfer Family User Guide** — https://docs.aws.amazon.com/transfer/latest/userguide/what-is-aws-transfer.html500- **Create server (CLI)** — https://docs.aws.amazon.com/transfer/latest/userguide/create-server-cli.html501- **Service Managed users** — https://docs.aws.amazon.com/transfer/latest/userguide/configure-sftp-users.html502- **Custom IdP (API Gateway + Lambda)** — https://docs.aws.amazon.com/transfer/latest/userguide/configuring-custom-idp.html503- **Directory Service SFTP** — https://docs.aws.amazon.com/transfer/latest/userguide/directory-service-users.html504- **SFTP session policies** — https://docs.aws.amazon.com/transfer/latest/userguide/session-policy.html505- **FTPS cert configuration** — https://docs.aws.amazon.com/transfer/latest/userguide/protocols.html506- **AS2 profiles** — https://docs.aws.amazon.com/transfer/latest/userguide/as2-profiles.html507- **Managed workflows** — https://docs.aws.amazon.com/transfer/latest/userguide/working-with-workflows.html508- **Structured logging** — https://docs.aws.amazon.com/transfer/latest/userguide/monitoring.html509510## References (load on demand)511512- [references/worked-examples.md](references/worked-examples.md) — full CLI boilerplate for the four common server patterns513- [references/advanced-patterns.md](references/advanced-patterns.md) — Step 0 non-obvious behaviors, 2026 service limits, 2024-2026 feature timeline514- [references/diagnostic-commands.md](references/diagnostic-commands.md) — 12-command live-account pre-flight listing515- [references/identity-providers-and-storage.md](references/identity-providers-and-storage.md) — identity provider and storage backend detail516- [references/server-and-iam-session-policies.md](references/server-and-iam-session-policies.md) — server IAM and session policy detail517518## Domain519520AWS CloudOps / Storage — Transfer Family Server Provisioning & File521Exchange.