Skip to main content
Welcome, Solutions Architects — Michael Foster here. This lesson focuses on tightening the security posture for AWS migration and transfer services. These services are highly managed by AWS, so your responsibility centers on configuration, access control (IAM), logging, and encryption rather than implementing the underlying mechanics yourself. Some recommendations repeat across services; prioritize sections that introduce new controls or service-specific guidance.
The dominant controls for migration and transfer services are IAM (access control), encryption (in transit and at rest), and centralized logging (CloudTrail / CloudWatch / S3). Treat managed services as configurable “black boxes”: AWS secures the internals, and you secure the integration points and configurations.

Migration Hub

What it is:
  • Migration Hub aggregates migration status and metadata from other AWS migration services (Application Migration, Systems Manager, DMS, Mainframe Modernization, etc.).
  • It is a visualization and orchestration dashboard — it does not perform migrations itself.
Primary security focus:
  • Who can view or modify migration status (IAM permissions).
  • Audit administrative activities (CloudTrail).
Recommendations:
  • Apply least-privilege IAM policies to limit actions to only the roles or personas that need visibility or control.
  • Enable AWS CloudTrail to capture Migration Hub API calls and administrative events.
  • Integrate CloudWatch or downstream logging for any additional operational telemetry your organization requires.
A screenshot of the AWS Migration Hub dashboard showing summary dials, bar and line charts of application migration status, and a left navigation menu. The left side also displays explanatory text reading "Migration Hub gathers data from other tools and displays it."
Logging and monitoring: Migration Hub exposes relatively few APIs; rely on CloudTrail for API-level tracking and CloudWatch for operational metrics where available.
An infographic describing options for logging and monitoring in AWS Migration Hub, listing choices such as AWS CloudTrail, custom application logging, relying on the Migration Hub dashboard, and Amazon CloudWatch. It’s presented as a numbered, colorful set of rounded boxes.

Application Discovery Service (ADS)

What it is:
  • ADS discovers on‑prem servers and applications (agent-based, agentless, or VMware vCenter integration) and uploads inventory/relationship metadata to AWS.
  • Because ADS sees inventories and topology, it is sensitive — protect it accordingly.
Agents and data flow:
  • Agents (optional) run on-premises and collect configuration, usage, and network topology data, then transmit that data to ADS.
  • Ensure secure network connectivity and encryption for agent uploads.
Access control:
  • ADS uses IAM roles and policies for authorizing agents and users — ADS does not maintain a separate user directory.
  • Use tightly scoped IAM roles for agents and human operators.
Logging and monitoring:
  • Enable CloudTrail to log API calls related to ADS.
  • Configure CloudWatch and any service-specific logs explicitly — logging is not always automatic.
Recommendations:
  • Restrict ADS access using IAM and monitor for anomalous inventory access.
  • Ensure agent upload channels are encrypted and routed through approved network controls.
An infographic about AWS Application Discovery Service that asks how agents work and lists their roles. It summarizes four points describing agents as (typically optional) on‑premises software modules that collect and send configuration and usage data, map network topologies, and help plan migrations to AWS.
An infographic asking how AWS Identity and Access Management (IAM) integrates with Application Discovery Service to manage permissions and access control. It lists four numbered points explaining that IAM grants agents necessary permissions, uses roles and policies to control actions, doesn’t use a separate Discovery Service user directory, and provides network-level access for secure on‑premises connections.
A diagram of AWS Application Discovery Service showing on-premises "Discovery Agents" sending encrypted data over the Internet to a cloud "Discovery DB" belonging to the AWS service. The connection is labeled "Encrypted Data" between the data center agents and the AWS Discovery DB.
An infographic slide asking which logging options are available for AWS Application Discovery Service. It lists four numbered choices about CloudWatch logging, manual configuration, AWS CloudTrail integration, and a dedicated logging agent.

Application Migration Service (MGN)

What it is:
  • AWS Application Migration Service enables lift-and-shift migrations by installing lightweight agents, continuously replicating source servers to AWS, testing and performing cutover.
  • MGN replaces older Server Migration Service workflows.
Security controls:
  • IAM for permissions (agents, replication, console/API actions).
  • CloudWatch for runtime telemetry and CloudTrail for API-level auditing.
  • Ensure recovery targets (EBS volumes, EC2 instances) are encrypted if your security policy requires it.
Recommendations:
  • Use least-privilege IAM roles for replication and cutover operations.
  • Send MGN logs to CloudWatch and ensure those logs are stored in encrypted log storage.
  • Enable encryption for recovery EBS volumes (KMS-managed keys) where applicable.
A horizontal diagram showing the AWS Application Migration Service workflow, with icons and steps: Map environment, Install agent, Replicate to AWS, Perform tests, and Execute cutover. The central box highlights that the service accelerates and simplifies migration by converting source servers to run natively on AWS.
For broader migration patterns (database replatforming, containerization), combine MGN with DMS, App2Container, etc. Maintain CloudWatch and CloudTrail observability throughout the workflow.
A schematic diagram of an AWS migration workflow showing portfolio assessment tools at the top and migration paths from an on‑prem datacenter to AWS. It maps lift‑and‑shift, database replatforming and containerization using services like AWS MGN, AWS DMS and App2Container to targets such as EC2, RDS and Amazon Containers (EKS/ECS/Fargate), with monitoring via CloudWatch and CloudTrail.
An infographic slide posing the question "What logging capabilities does AWS Application Migration Service provide?" with four numbered answer choices. The first (highlighted) option says it provides real-time logging of actions and changes stored in Amazon CloudWatch.

Database Migration Service (DMS)

What it is:
  • DMS migrates relational and non-relational databases. It supports full loads and continuous replication using Change Data Capture (CDC).
Security considerations:
  • Databases typically contain sensitive data — protect endpoints and the transport layer.
  • DMS supports SSL/TLS for in-transit encryption and AWS KMS for encryption at rest.
Key points:
  • Modes: Full load, CDC (continuous replication).
  • Logging: Task logs and table-level logs are available for troubleshooting and auditing.
  • Storage: DMS can publish logs to CloudWatch and export replication or change logs to S3 for long-term archival.
Recommendations:
  • Configure target databases (RDS, Aurora, S3, etc.) with encryption-at-rest via KMS.
  • Enable SSL/TLS for endpoint connections; verify certificate and cipher requirements.
  • Export DMS task and change logs to encrypted S3 buckets for retention and compliance.
A simple architecture diagram showing AWS Database Migration Service (DMS) linking a PostgreSQL instance to a MySQL instance. It also shows DMS sending task logs to Amazon CloudWatch and time-travel logs to Amazon S3.
Accessing logs:
  • Task logs are available in the DMS console under each migration task, or via DMS APIs.
  • Use logs to identify errors, warnings, and actions (for example, CREATE TABLE statements applied on the target).
Example: a DMS task replication log might show the resulting CREATE TABLE on the target:
Benefits of exporting DMS logs to S3:
  • Create encrypted, long-term audit trails for troubleshooting and compliance.
  • Reconstruct schema and data operations for a given time window.
  • Analyze replication behavior historically.
An infographic explaining the features and benefits of "time travel logs" in AWS Database Migration Service (DMS). It lists numbered points such as reverting a database to a previous state during migration, encrypting logs in Amazon S3, storing logs for troubleshooting, and using logs for predictive analysis.
DMS supports robust encryption in transit (SSL/TLS) and at rest (KMS). For continuous replication, enable CDC to capture and replicate DML operations incrementally.
A cloud architecture diagram showing replication from Google Cloud SQL into Amazon RDS using AWS DMS, with source and target endpoints and a replication instance inside an AWS VPC (public and private subnets). The diagram notes that all data is encrypted and at-rest encryption can be enabled.
A dark-themed diagram illustrating Change Data Capture (CDC), showing DML operations (Insert, Update, Delete) and transaction logs feeding into a CDC process that replicates changes. The right side shows an example Orders table with sample rows where inserts, updates, and deletes are highlighted.

Elastic Disaster Recovery (DRS)

What it is:
  • Elastic Disaster Recovery performs continuous, block-level replication of servers into AWS to support rapid failover and recovery on AWS.
Architecture and controls:
  • Replication agents compress and encrypt block-level data in transit.
  • Replication servers stage EBS volumes in your AWS account, and recovery instances are launched from those staged EBS volumes.
  • Network controls (security groups, subnet isolation) should limit access to replication and recovery resources.
Encryption considerations:
  • In-transit encryption for replication is typically enabled by default.
  • At-rest encryption for staged EBS volumes depends on EBS/KMS settings for the recovery target — configure KMS keys or enable EBS encryption on the recovery side.
  • Ensure the KMS key policy grants the required recovery roles minimal necessary permissions.
Recommendations:
  • Use security groups and VPC controls to isolate replication traffic.
  • Enable and verify EBS encryption for recovery volumes, and manage KMS keys per organizational policy.
  • Test failover processes and validate that encryption, IAM, and network controls function as expected during recovery drills.
An infographic showing the AWS Elastic Disaster Recovery workflow with icons for stages: Set up, Test, Operate, Failover (and Failback). It illustrates continuous data replication and launching recovery instances on AWS to recover on-premises or cloud applications.
A technical architecture diagram showing AWS disaster-recovery replication: on-prem disks use AWS Replication Agents to continuously send compressed, encrypted block-level data to replication servers. The data is staged in user VPC subnets as EBS volumes and used to launch recovery instances in recovery subnets.
An infographic slide asking how to ensure EBS volumes used by AWS DRS for EC2 replication are encrypted, with four numbered answer options. The options mention enabling AWS KMS in DRS, encrypting source instances so DRS preserves encryption, using AWS CloudHSM, or using a third-party encryption tool.

Mainframe Modernization

What it is:
  • AWS Mainframe Modernization provides tools to analyze, refactor, convert, and run mainframe workloads on AWS. It integrates analyzers, converters, compilers, transfer utilities, and runtime environments.
Security checklist:
  • Enforce least-privilege IAM policies for all modernization tools and environments.
  • Use TLS for data in transit and ensure cipher suites meet compliance requirements (e.g., PFS if required).
  • Encrypt data at rest on target managed databases and file stores (KMS).
  • Review security controls of integrated services (object storage, CI/CD, monitoring) to ensure end-to-end compliance.
Recommendations:
  • Establish secure CI/CD pipelines with minimal privileges for build/deploy steps.
  • Use monitoring and logging (CloudWatch, CloudTrail) for the modernization lifecycle and include log archival to encrypted S3.
An infographic about security considerations for modernizing mainframe systems with AWS Mainframe Modernization, showing a scenario and the question. It lists four numbered options including relying solely on AWS, implementing strong IAM and encryption, using default settings, and focusing only on physical security.
A diagram titled "AWS Mainframe Modernization" showing an architecture for migrating mainframe workloads into the AWS Cloud, with components like Analyzer, Converter, Developer, Compiler, Transfer and Runtime inside the Mainframe Modernization Service. It also shows supporting services (object store, source control, CI/CD, build, deploy, security, monitoring, scheduler) and application data targets (managed database and managed file storage).

Data Transfer Services

DataSync

What it is:
  • AWS DataSync copies files from on-premises storage to AWS (EFS, FSx, S3) using a lightweight on-prem agent and TLS.
Security considerations:
  • Data in transit is encrypted by default (TLS between agent and AWS).
  • Destination configuration determines data-at-rest encryption (e.g., S3 SSE, EFS encryption).
Recommendations:
  • Verify the target (S3, EFS, FSx) is configured for encryption at rest (SSE‑S3, SSE‑KMS, or EFS/FSx native encryption).
  • Consider additional network-level protection (VPN, Direct Connect) and evaluate MACsec where supported.
  • If moving data to S3, enable server-side encryption or require client-side encryption for highly sensitive data.
Operational note:
  • DataSync supports direct transfers to EFS or FSx without needing Storage Gateway as an intermediary.
An architecture diagram showing AWS DataSync transferring data from on-premises storage (via a DataSync agent) over TLS to AWS. Destination services shown include Amazon EFS, Amazon S3, and several Amazon FSx file systems.

Transfer Family (SFTP / FTPS / AS2)

What it is:
  • AWS Transfer Family provides managed endpoints for SFTP (SSH), FTPS (FTP over TLS), and AS2. It stores files in Amazon S3 and integrates with IAM and CloudWatch.
Security guidance:
  • Never use plain FTP — it transmits credentials and data in cleartext.
  • Choose cryptographic policies that balance regulatory requirements and interoperability; overly strict policies may break partner integrations.
  • For AS2: consider using a VPC endpoint, write files to S3, and enable CloudWatch logs and S3 server-side encryption to capture transfer activity and protect stored files.
Do not use unencrypted protocols (plain FTP). Validate cryptographic policies with your partners — incompatible ciphers or key sizes will prevent successful transfers.
Cryptographic policy example and partner interoperability:
Screenshot of a "Cryptographic algorithm options" settings panel showing a dropdown list of security policies, with "TransferSecurityPolicy-PQ-SSH-Experimental-2023-04" highlighted. Other policy names (e.g., TransferSecurityPolicy-2023-05) are visible in the list.
Transfer Family security planning (business case example):
An infographic slide (© KodeKloud) describing a financial services company planning to use AWS Transfer Family and asking what to consider for server security policies. It shows a question at the top and four numbered answer/options below, including using custom security policies that align with regulations.
AS2 workflow (recommended configuration):
  • Partner posts an AS2 payload over HTTP(S) to a Transfer Family AS2 endpoint (optionally via VPC endpoint).
  • Transfer Family writes the file to S3, publishes transfer events to CloudWatch, and returns an MDN (Message Disposition Notification).
A technical diagram showing an AS2 file-transfer workflow using AWS Transfer Family: a partner AS2 server sends inbound HTTP/AS2 payloads to an AS2 server with a VPC endpoint, which writes files to a configured S3 bucket and sends logs to CloudWatch while returning MDN responses. Numbered steps indicate the flow from partner admin to transfer-family customer.
An infographic slide describing a global retail company's consideration of AWS Transfer Family for AS2 document exchanges. It lists four numbered recommendations/considerations (including using AWS Transfer Family with Amazon S3) beneath the main question.

Snow Family (Storage)

What it is:
  • Snow Family appliances (Snowball Edge, Snowcone, Snowmobile) are hardened, tamper-resistant devices for offline data transfer and edge compute.
  • Snowball Edge exposes an S3-compatible endpoint locally and is suitable for hostile or disconnected environments.
Security features:
  • Device-level policies and integration with AWS account IAM control access.
  • Data at rest is encrypted on the device; communication with the cloud uses encrypted channels.
  • Devices include tamper-evident seals and maintain auditing for custody.
Operational recommendations:
  • Manage devices with OpsHub for key exchange and device unlocking.
  • Verify model capabilities (usable capacity, NVMe options) for your transfer size and workload.
  • For large moves (tens of TB and up), Snow appliances can be more secure and practical than network transfers.
A network diagram titled "Snow Family (Storage)" showing an on-premises source and a staging workstation connected over a local area network to a Snowball Edge device (S3-compatible endpoint) with 10GE links. It illustrates data flow between NAS/object storage, the LAN, and the Snowball Edge appliance.
A presentation slide titled "Snow Family (Storage)" showing a comparison table for AWS Snowball Edge storage‑optimized devices (80 TB and 210 TB) with specs like storage type, vCPUs, capacity, dimensions and weight.
Operational notes:
  • Check current AWS product specs before planning capacity.
  • Follow OpsHub and AWS guidance for secure device handling and chain-of-custody.

Summary: Controls & Quick Reference

Most migration and transfer services are managed by AWS; your responsibilities commonly include:
  • IAM: enforce least privilege for service roles and human operators.
  • Encryption: verify TLS in transit and enable encryption at rest (KMS) on targets (S3, EBS, RDS, EFS, FSx).
  • Logging & audit: enable CloudTrail for API auditing, CloudWatch for real-time logs, and export service logs / task logs (e.g., DMS) to encrypted S3 for long-term retention.
Quick checklist by service: Final recommendations
  • Treat managed migration/transfer services as configurable endpoints. Verify destination encryption, apply tight network controls (security groups, VPC endpoints, VPN/Direct Connect), and use CloudTrail/CloudWatch/S3 for unified auditing and retention.
  • Test end-to-end migration workflows (including encryption and IAM) in a staging environment and capture logs for troubleshooting before performing production cutovers.
  • Maintain a documented runbook for recovery and failover procedures that includes key rotation, KMS policies, and steps to validate encryption and access after failover.
This concludes the migration- and transfer-focused security guidance. Additional concise guidance is available for other managed services and configuration considerations.

Watch Video