Lesson 3 of 9 Modernization Patterns

Choosing Target Data Platforms

This lesson explains how to choose the most managed storage or database service that supports a workload's protocol, engine and access needs, since data is usually the hardest part of a workload to move.

Learning outcomes

After completing this lesson, you will be able to:

  • Map each storage type to an AWS target.
  • Choose database targets by acceptable change.
  • Explain the constraints that rule out targets.

Storage by need

Each on-premises storage type has a natural AWS target. Block storage attached to one server maps to EBS. Shared NFS file systems for Linux map to EFS. SMB shares integrated with Active Directory map to FSx for Windows File Server. NetApp storage, or anything needing several protocols, maps to FSx for NetApp ONTAP, which can replicate from on-premises NetApp with SnapMirror. ZFS workloads map to FSx for OpenZFS, and HPC scratch storage to FSx for Lustre. Objects, archives and data lakes map to S3 and its storage classes. The following table summarises the mapping.

NeedService
Block storage for one instanceEBS
Shared NFS for LinuxEFS
SMB shares with Active DirectoryFSx for Windows File Server
Multi-protocol, NetApp replicationFSx for NetApp ONTAP with SnapMirror
ZFS; HPCFSx for OpenZFS; FSx for Lustre
Objects, archives, data lakeS3 and its storage classes

Databases by need

Database targets depend on how much change is acceptable. RDS runs the same engine as a managed service, removing patching, backups and failover from the team's work. Aurora gives MySQL and PostgreSQL applications higher availability and performance. When Oracle or SQL Server needs operating system access, for custom agents or settings, RDS Custom for SQL Server provides it while keeping automation; RDS Custom for Oracle is being retired, so Oracle that needs OS access runs on EC2. To leave commercial licences, Aurora PostgreSQL is the target, and Babelfish lets SQL Server applications connect with few changes. Key-value or document access at scale moves to DynamoDB or DocumentDB. The following table summarises the targets.

NeedService
Managed relational, same engineRDS
Managed MySQL or PostgreSQL with higher availability and performanceAurora
SQL Server needing operating system accessRDS Custom for SQL Server
Oracle needing operating system accessOracle on EC2 (RDS Custom for Oracle ends support in March 2027)
Leaving commercial licencesAurora PostgreSQL, with Babelfish for SQL Server applications
Key-value or document access at scaleDynamoDB, DocumentDB

Self-managed databases on EC2 are a last resort when no managed option fits.

Constraints that shape the choice

Several constraints rule out particular targets and often decide the answer. The protocol comes first: Windows applications that use SMB cannot use EFS, which serves only NFS. Unsupported engine features or extensions may require RDS Custom for SQL Server or a database on EC2. Performance requirements, such as very high IOPS or throughput, may need io2 Block Express volumes or a particular FSx file system.

Replication tools already in use on premises, such as NetApp SnapMirror or a database's native replication, often decide the target, because they allow a migration with very little downtime: an estate that uses SnapMirror can replicate directly into FSx for NetApp ONTAP and cut over in minutes.

Scenario questions

Choosing a target database

Exam skills 4.1.4 · 1.5.3

Choose the target data platform when constraints apply.

Log in to try this activity Interactive activities are free with an account.
Worked example

Choosing targets for four data stores

The same migration includes four data stores. The architect matches each to the most managed service that supports its protocol, engine and replication needs:

Data store                                 Constraint                        Target
-----------------------------------------  --------------------------------  ----------------------------------
Departmental file server (SMB)             Active Directory permissions      FSx for Windows File Server,
                                                                             Multi-AZ
NetApp filers with nightly SnapMirror      Minimal-downtime cutover          FSx for NetApp ONTAP via SnapMirror
Oracle database with a custom OS agent     Needs OS access                   Oracle on EC2      
PostgreSQL for a web application           Standard engine, high uptime      Aurora PostgreSQL

The file server shows that modernisation is not always about code: a managed service that preserves AD permissions removes patching and backups without changing how users work. The NetApp case shows how an existing replication tool can decide the target, because SnapMirror makes the cutover a short final sync.

Check yourself

When should a MySQL or PostgreSQL database move to Aurora rather than stay on RDS?

Show answer

When it needs higher throughput, faster failover, up to 15 low-lag replicas or global replication, at a somewhat higher price.

Exam Tips

Remember for the exam

  • Windows SMB file shares with Active Directory point to FSx for Windows File Server.
  • A NetApp migration with replication points to FSx for NetApp ONTAP with SnapMirror.
  • SQL Server needing access to the operating system points to RDS Custom for SQL Server; Oracle with that need runs on EC2.
  • A shared Linux file system for many instances is EFS.
  • Prefer managed databases; self-managed databases on EC2 are a last resort.