Kloudeal Journal · Enterprise Technical Guide
Migrating databases to AWS requires demonstrating that applications can work with the destination and that data retains its meaning. Copying tables is a part of the project. Connections, permissions, scheduled tasks, recovery, and operational responsibility also change. A completed transfer can coexist with an application that takes too long, an integration that has stopped running, or a report that interprets dates differently.
The practical recommendation is to separate three decisions: destination platform, transfer method, and when the destination becomes the valid source. RDS and Aurora are not migration tools. DMS is not a substitute for a compatibility check. Replicating changes can reduce the work of the final window, but it requires technical conditions and tests that demonstrate that the change can be closed.
This guide presents a business methodology for SQL Server, MySQL and PostgreSQL. The examples and matrices are illustrative, not results attributed to clients. The capabilities are compared with official documentation. Tests should be tailored to the environment’s engine, versions, volume, and applications before committing to an outage date or time.
Start with the application and data owner
The first inventory relates databases to applications, managers and processes. An instance can host systems with different windows, and an application can depend on multiple engines. If your project treats each server as an isolated unit, you can move a database and leave a critical dependency on the source without sufficient connectivity.
The functional owner defines what operations must continue. Invoicing, ordering, monthly closing, and reporting do not necessarily have the same tolerance for interruptions. It is convenient to describe specific cases, with input and expected result. “The application opens” is too weak evidence to accept a system that must record transactions and maintain relationships between data.
Identify processes that read or write outside the main application: nightly imports, supplier integrations, connected spreadsheets, queues and analytical tools. They may use separate credentials, connection pools or server names. Updating the ERP connection does not establish that those dependencies have changed. Assign an owner, test and transition decision to each one, and include it in the cutover checklist. This gives the team a way to confirm that activity has stopped at the source and resumed through the intended destination.
It is also agreed what integrity means for the business. It can include economic totals, order statuses, relationships between headers and lines, or availability of associated documents. These checks complement the technical row checks. A purposeful migration combines supported structure, consistent content, and operations that drive successful business results.
Technical inventory before choosing a destination
The inventory records engine, edition, version, size, growth, number of tables and load distribution. Also extensions, procedures, functions, triggers, tasks, users and operating system dependencies. The list allows you to separate what belongs to the database from what the instance executes through external components.
Activity matters as much as volume. A large repository with few writes may move differently from a smaller database that changes continuously. A period is observed that represents normal work and known peaks. The estimate should not be based solely on an early morning sample if the most demanding process occurs during the monthly close.
Special features need examples. A large column, a table without a suitable key, a procedure with dynamic SQL, or an integration that queries another server deserve targeted review. The goal is to discover elements that change the method or effort. An automatic report can help, but exceptions must be translated into tasks and owners.
| Inventory Item | Why does the project condition? | Useful evidence |
|---|---|---|
| Engine and version | Determine routes and compatibility | Actual configuration and applicable documentation |
| Writing rhythm | Affects replication and final window | Representative Period Metrics |
| Database code | May require conversion or adaptation | Classified objects and evidence |
| External dependencies | They can stay out of destination | Map of integrations and owners |
| Large or special data | They may have specific treatment | Samples and method setup |
| Operation and recovery | They change after the transfer | Restoration procedures and tests |
RDS, Aurora and operational responsibility
The choice of destination must respond to application and operation requirements. RDS allows working with specific engines under the corresponding managed model. Aurora offers editions compatible with MySQL and PostgreSQL, whose compatibility must be checked against real versions and features. Sharing a protocol or engine family does not imply that all behaviors are identical.
A managed service modifies the distribution of tasks. The team still needs managers for queries, indexes, access, data, monitoring, and recovery testing. It is not advisable to sell the migration as a complete removal of administration. The scope should explain which operations the service facilitates and which the company continues to maintain.
The SQL Server feature matrix in RDS includes unsupported or limited capabilities. For example, FILESTREAM and certain operating system access dependencies require attention. A destination that accepts a database restore may still not offer a feature that the application used on the original server.
In an illustrative scenario, an application runs a process that reads local files from a database task. The analysis must decide whether to adapt the process, retain an external layer, or choose another architecture. That decision has its own cost and tests. It should not appear after copying the data as a surprise attributed to the client.
Homogeneous and heterogeneous: two different efforts
A homogeneous migration keeps the same engine family, which can reduce transformation work. It may still change the version, edition, platform or authentication model. Review retired features, extensions and destination behaviour, then test representative queries and business processes. The label same engine does not establish full compatibility. Record the cases that need adaptation and the evidence supporting the chosen route, so the application owner can assess the remaining work before approving the migration window.
A heterogeneous migration changes engines and may require adapting code, types, functions, and application. Schema conversion and data transfer are separate deliverables. The team must identify what can be automated and what requires intervention. Counting converted objects without weighing their importance can hide the fact that a single pending function blocks the main process.
DMS Schema Conversion allows you to evaluate and convert schemas into supported migration paths. Its documentation expressly distinguishes schema conversion and data movement. The results need review of pending actions and tests. A conversion report does not certify that the entire application retains meaning and performance.
The budget should distinguish evaluation, conversion, functional adaptation, transfer and stabilization. This way the buyer knows what decision he makes when changing the engine. An opportunity to reduce licence dependency may be reasonable, but you need to weigh the expected savings against the effort and risk of transformation. The homogeneous alternative is also valued when it provides a more controlled first step.
Choose the method based on proven conditions
Not all migrations need DMS. A native copy, restore or export can be provided when the path is supported and the window supports the intended work. The choice should compare completeness, time, automation, repeatability and evidence. A complex tool adds little value if the problem is solved with a supported and tested procedure.
DMS can combine initial loading and change capture in supported scenarios. That combination needs to prepare endpoints, permissions, network, and source logs. The documentation of automated migration to Aurora distinguishes full load, load with CDC and CDC, with requirements and limits. The particular method determines when the destination can be used.
Use the pilot to measure initial loading time and its impact on the source, destination and application. Test how the method behaves when a connection fails and how a table can be resumed or reloaded. Keep the task configuration and recovery steps with the results. A short cutover window is a poor time to discover that resolving one failure requires copying the largest data set again. Include investigation and validation time in the estimate as well as the observed transfer time.
| Proposed method | When it deserves evaluation | Acceptance question |
|---|---|---|
| Native copy supported | Sufficient window and motor path supported | Can it be repeated and validated within the expected time? |
| Initial loading with DMS | Need for controlled transfer | What tables and objects are actually included? |
| Initial loading with CDC | Active source and supported capture path | Can a coherent end point be reached and demonstrated? |
| Conversion and transfer | Engine change | What code and processes require adaptation? |
CDC: Prepare the source and monitor its capacity
Capturing changes depends on the engine and configuration. It should not be presented as a function that is activated the same for every database. Versions, permissions, log generation and retention duration are reviewed. A task that receives changes today may fail after an interruption if the source deletes information that it still needed to read.
For PostgreSQL, the DMS source documentation describes logical replication and slots. These can retain WAL while changes await consumption, so space monitoring is required. A migration that seeks continuity should not put the source at risk through an accumulation that no one controls.
For SQL Server, the source endpoint guide details CDC conditions and limitations. Among other cases, the identity property of a column is not migrated through that method and certain functions need separate treatment. The inventory must relate those constraints to the tables and operations that the application actually uses.
The plan includes those responsible for the source throughout the transition. If delay appears, the team distinguishes high generation of changes, network limitation and ability to apply at destination. Increasing resources without identifying the cause may not solve it. It also defines who intervenes if a stopped task continues to retain logs and brings the server closer to a space problem.
Schemas, indexes and code that do not travel as rows
A database contains more than tables with data. Target preparation should review indexes, constraints, views, procedures, sequences, identities, jobs, and permissions. The chosen method can treat each class of object differently. The proposal must explain what the tool copies and what is deployed using its own scripts or procedures.
The converted code needs tests of inputs and results. Date functions, rounding, concatenation, and handling of empty values can affect business without producing an obvious error. A procedure that ends correctly may generate a different total. It is advisable to select cases with known boundary values and data, in addition to common operations.
After loading, check sequences and identity values by creating a controlled test record through the application. The new identifier must be valid and preserve the expected relationships. Historical rows being present does not demonstrate that the next transaction will work. Review constraints deferred during loading and verify that they are active and satisfied in the final design. Keep the test outcome with the integrity checks so acceptance covers both existing data and the operations users will perform after cutover.
An illustrative example is an ordering system whose main table is copied correctly, but whose numbering depends on an external process. The functional test creates a new order and confirms number, lines, taxes and communication with the warehouse. This operation integrates objects and dependencies that a historical row comparison would not detect.
Network, security and migration credentials
The connection needs to be resolved from the components that move and consume data. The project checks name, path, port and authentication of each endpoint. Also the access of applications to the destination. A technician who can connect from his computer does not demonstrate that the migration service or a remote process can do so.
Migration credentials need a defined purpose and lifetime. Review the permissions required by the documented procedure and remove them when they are no longer needed. Keep passwords out of the general inventory. Review error reports as well, so that connection strings and sensitive data are not circulated outside the authorised team.
Encryption requires proof of connection and trust. The company defines how it validates certificates, distributes configuration, and renews components. An encrypted connection with validation disabled may not achieve the expected result. The acceptance must collect the applied configuration and test it from representative clients, without publishing secrets in screenshots or commercial documentation.
The AWS architecture needs to be prepared before the change. The guide of AWS Landing Zone and Control Tower explains how to organise accounts, governance and those responsible. The AWS security for business expands the context of identity and evidence. These components should facilitate the migration and subsequent operation.
Validate data without confusing counts with integrity
Use DMS validation only within the scenarios it supports and account for its use of source, destination and network resources. Review the documented key requirements and other limitations against the actual tables. Record which sets the feature can validate and which need another check, with an owner for the alternative. A table outside the tool’s validation scope should remain visible in the acceptance plan rather than disappearing behind an overall successful task status.
Business checks should be prepared before the window. Totals are selected by period, relevant states and relationships between objects. If they are executed while the source is still changing, differences must be interpreted and a point of comparison established. A different figure does not in itself prove loss, but neither should it be accepted as normal without investigation.
A count may detect an incomplete table and not discover an incorrect field. It is advisable to combine the number of records, targeted samples, relevant aggregates and functional tests. The comparison must consider anticipated transformations. If you change the representation of a data type, the result is verified according to the accepted rule and not by a meaningless binary equality.
The report records included, excluded, validated and pending by set. An authorisation-excluded table is not a migrated table. A check that cannot be executed needs an alternative and responsible person. This transparency allows the project to be closed with knowledge of its limits and avoids converting a global percentage of progress into a guarantee on all data.
Read queries for targeted checks
The following examples use illustrative tables that must be replaced with those of the project. They are read-only SQL queries that support the basics of SELECT, COUNT, SUM, GROUP BY, and LEFT JOIN. For PostgreSQL you can check the syntax in its query documentation. They require authorised read access and have not been run in your environment.
The first query counts rows of an inventoried set. The second compares an aggregate of business by state. The third looks for lines without a header. The meaning depends on the actual model: there may be a legitimate relationship that allows null values or historical data with different rules. A useful query is designed with the application owner and documents what result would be an exception.
SELECT COUNT(*) AS filas
FROM pedidos;
SELECT estado, COUNT(*) AS pedidos, SUM(importe_total) AS importe
FROM pedidos
GROUP BY estado;
SELECT COUNT(*) AS lineas_sin_cabecera
FROM lineas_pedido l
LEFT JOIN pedidos p ON p.id = l.pedido_id
WHERE p.id IS NULL;A read query can consume resources or wait for locks on a large table. It should be rehearsed and run in an agreed window. The report preserves engine, query, timing, scope and result. If the comparison is performed on snapshots or frozen data, it is also logged. These details allow a difference to be explained without repeating the entire migration.
Performance: measure the process the business uses
Capacity equivalency is not obtained by copying the number of processors from the old server. The destination can have different storage architecture and limits. A baseline of load, query latency, and major operations is needed. The design considers growth and spikes, without setting aside huge resources just because they haven’t been tested yet.
Representative queries are executed with sufficient data and appropriate profiles. A test with a small table can hide an inefficient plan that appears when loading the history. Statistics and indexes are also reviewed depending on the engine. If you change platforms or versions, the team retains relevant results and plans to investigate deviations.
The distance between application and database matters. Moving just the database to AWS can increase latency for numerous small queries from a local server. The problem may be in the conversation between components and not in the capacity of the engine. The pilot must test the application from its final location or represent that dependency explicitly.
In a hypothetical scenario, a report takes longer after the move while basic transactions are working correctly. The team separates connection, execution and transfer time. It then compares queries, indexes, and returned volume. Changing instance size may be a temporary measure, but acceptance needs to know if the cause remains and what it will cost to maintain the solution.
Prepare a window with a single valid writer
The final procedure defines when writes are stopped, how the application of pending changes is checked, and what evidence allows it to continue. It also identifies automatic processes that could continue writing even if users have closed the application. A nightly task or external integration can maintain activity and make it difficult to set the transition point.
The team prepares new connections before the window and tests their distribution. Configurations in files, secret managers, pools and services can be updated by different mechanisms. The change should include reboots or refreshes when the client needs them. Saving a new address does not prove that all existing connections have stopped using the source.
Initial acceptance uses a reduced set of operations: access, read, transaction creation, and checking its effects. It is then expanded to critical integrations and processes. Each step has a person responsible and a planned time. If a condition fails, the team knows whether to investigate, stop opening to users, or apply the return procedure.
| window stage | Condition to advance | Evidence |
|---|---|---|
| Preparation | Destination and connections tested | Pilot results |
| Write control | Origin processes stopped according to scope | Activity checks |
| Copy Closure | Pending changes applied and exceptions reviewed | Reports and validations |
| Client change | Applications point to the intended destination | Testing by component |
| Opening | Business operations pass | Functional acceptance |
| Tracking | Incidents and metrics have owners | Stabilization record |
Rollback, recovery and post-change data
Going back to the old address does not return transactions created at the destination. Rollback needs to decide what information is preserved and how it is reconciled. The extent to which a simple return can be made is defined before opening writes. Afterwards, the alternative may require more complex procedures or correcting the destination without abandoning the transition.
The plan should avoid two active systems writing independently without design. If there is a real need for double write or two-way synchronisation, it is treated as a specific architecture with its conflict rules. A conventional migration task is not assumed to maintain coherence in both directions.
Recovery in the destination environment requires its own test. High availability, backups and restoration address different situations. The project must demonstrate that the service and its data can be recovered within the agreed objectives. A configured backup without a tested restoration provides less assurance than a documented procedure supported by measured results and timings.
Decommission the source after acceptance and after confirming retention requirements. Review applications that have not yet moved, evidence, historical lookup requirements and financial commitments. Remove temporary migration access and components as well. Keeping a server indefinitely “just in case” adds cost and exposure, while removing it without checking dependencies can make a historical incident impossible to investigate.
Total cost, proposal and operational handover
The cost combines destination service, transfer, storage, tools, overlap and adaptation work. Also licences when applicable. A seemingly inexpensive alternative may require transforming a lot of code, while another reduces the initial scope and maintains a dependency that must be modernised later. The comparison should express both paths with their conditions.
Separate assessment from execution when important information is still missing. An assessment can identify compatibility gaps, dependencies and transfer requirements that make an estimate more reliable. Gigabytes or user counts alone do not establish duration. Use the pilot to measure changes, connectivity, loading and validation effort, and state the assumptions that remain. If a significant exception changes the scope, explain its effect before committing to the production window rather than preserving an estimate that no longer reflects the work.
The delivery includes inventory, configuration, procedures, responsible parties and tests. The operations team knows how to respond to alerts, update access and restore data. You also know service limits and pending tasks. The project does not end when the specialist stops running DMS: it ends when the environment works and the company has the capacity to maintain it.
The Kloudeal methodology helps organise scope, testing and acceptance. An assessment should start with engines, versions, applications, volume and tolerable window. From there a route is chosen and migration and modernization are distinguished. The goal is to move a reliable process, not just move tables to a new location.
What questions to ask before accepting an offer
Ask who will adapt the application, maintain its connections and authorise the final cutover. The infrastructure provider may prepare AWS while the ERP vendor owns connection settings and queries. An unclear boundary can leave both teams considering their part finished while a necessary task remains unassigned. Include those responsibilities in the scope, name the people who will test the result and agree how an unresolved dependency affects the cutover decision. Review that allocation before the window, while there is time to arrange the required support.
Also ask how a table that fails validation will be handled and what happens if the window ends before resolving it. The helpful response describes evidence, responsibilities, and options, without promising that any errors will be resolved automatically. It is important to distinguish a copy defect from data that was already inconsistent in the source environment. Each case may have a different solution and authorisation.
Finally, request what documentation the team that will manage the destination will receive. Configuration, recovery, alerts, and exceptions must allow you to continue after the migration. A report with the number of gigabytes moved does not replace that capacity. The most appropriate offer is the one that explains a verifiable result and the conditions to achieve it, with a clear boundary between transfer, adaptation and subsequent operation.
Sources and scope of the documentation
Official documentation reviewed on October 13, 2026: SQL Server functions in RDS, DMS Schema Conversion, migration to Aurora, SQL Server and PostgreSQL endpoints, DMS validation and PostgreSQL queries. The queries are illustrative and read-only. Acceptance plans and scenarios are proposed criteria, which must be adapted and tested on the real environment.
Validate a business transaction through the application
A database acceptance test should connect technical checks to an application task. Choose a representative transaction, record its expected outcome and identify the accounts and integrations involved. Run it against the test destination using the intended application configuration. Check the resulting data, dependent processes and response time under agreed conditions. A successful connection or a matching table count alone does not show that the business process works.
Keep the application result beside the migration and replication reports. Investigate differences by separating data integrity, schema behaviour, permissions and performance. For the cutover, document which environment accepts writes at each stage and who decides whether the service is ready. The recovery test should then demonstrate the agreed way to restore a usable service. Recording these decisions makes the handover useful to application owners and database administrators, and gives them a shared basis for resolving issues after the transfer.
Data and applications
Do you need to move your databases to AWS without improvising the change?
Tell us the database engines, versions, applications and available migration window. We can review compatibility, choose a move strategy, and define data, performance, and recovery tests before executing the transition.

