Refactoring is the “rebuild” strategy:
more effort than rehosting, but better cloud fitness and often lower operational risk in the long term.
In the context of cloud migration, the strategy refers to adapting code or architecture without completely redeveloping the application. The goal is to modernize existing systems so they can be operated stably and efficiently in a cloud environment.
Core functions of the application are retained while technical structures are revised to enable better utilization of cloud resources.
Refactoring is employed when pure migration to the cloud is insufficient to achieve desired improvements. Many applications were originally developed for traditional on-premise infrastructures and are not optimized for cloud operation.
Through refactoring, companies can:
Compared to rehosting, refactoring pursues a more comprehensive approach:
Application is moved to the cloud with virtually no changes
It is particularly suitable when companies aim for more than just an infrastructure change.
During refactoring in cloud migration, the following adaptations are made, among others:
These measures are carried out in a controlled and incremental manner to minimize risks.
It offers several advantages over unchanged migration:
Thus, refactoring represents a middle ground between rapid migration and complete redevelopment.
Despite the advantages, refactoring involves additional effort. It requires:
For this reason, this strategy is typically employed specifically for applications where the additional effort pays off in the long term.
Refactoring is an effective strategy within cloud migration when applications are not only to be moved to the cloud but also sustainably improved. Through targeted adaptations, cloud benefits can be better utilized without incurring the effort of complete redevelopment.