This whitepaper explores how GenAI is reshaping cloud migration and application modernization, addressing long-standing challenges, and unlocking new efficiencies. Additionally, we will discuss industry-leading AI frameworks, real-world applications, and a structured approach for enterprises to harness the full potential of GenAI in their cloud transformation journey.
Digital transformation has become a strategic investment for organizations worldwide over the last decade. The business case for cloud migration and application modernization depends on achieving cost savings, improved scalability, increased agility, and enhanced performance, thereby enabling businesses to quickly adapt to changing market demands and innovate at faster speed.
Key aspects of business case:
Today modernization and migration engagements have become key tenets to drive business growth and streamline operations. A sizeable budget is allocated by global organizations to ensure seamless execution of transformation projects. Maximizing ROI is one of the crucial factors for these transformation engagements.
Key Strategies for Maximizing ROI:
While the organizations have been at the forefront and ensuring the above strategies are part of the modernization projects, there are challenges at every stage of execution.
Some of the key challenges of cloud migration and modernization are:
The details of these challenges will be discussed in the section below. To address some of these challenges a technological advancement in the form of “AI” is playing an impactful role in transformation engagements.
With the advent of Generative AI (GenAI), organizations now have an unprecedented opportunity to accelerate and streamline cloud migrations by automating key processes, reducing manual effort, and enhancing decision-making.
For organizations on the path of cloud migration and application modernization, integration of AI and Gen AI based frameworks has become imperative to ensure business remain agile and future ready.
Gen AI is now a key part of cloud migration. More than automation, it provides intelligence and vision into complex processes.
AI is playing a transformative role in application modernization. AI is leveraged to create smart and adaptable applications in ever changing business requirements.
The below section explains the lifecycle of cloud migration and application modernization engagements and role of AI and Gen AI in solving some of the challenges and overall impact created in execution of these engagements.
The Cloud Migration strategy presents a significant step for any organization’s IT department since this involves relocation of existing workloads to the cloud. It provides an opportunity to revamp the legacy software to build a new cloud native workload there by leveraging all the benefits provided by cloud.
It is important for the organization to have a detailed blueprint to ensure smooth transition.
Figure 1: Cloud Migration Steps
Breakdown of Steps:
Define Business Goals: Clearly define the reasons for considering cloud migration and expected outcome in terms of cost, scalability, new products etc.
Approval from sponsors: Senior leadership support and approval are key to success given the budget allocation required for large scale migration engagements.
Perform Cloud Readiness Assessment: Evaluation of current infrastructure, applications, and data to determine the feasibility of migration and potential challenges.
Select Migration Strategy: Based on the application assessment migration disposition is performed based on “6 Rs” framework.
Figure 2: Cloud Migration Framework
Implement Patterns: Design and implement cloud-based patterns, frameworks replacing on-prem features with cloud-native features, standardization of Cloud Infrastructure.
Migration of workloads, data: Migrate applications to cloud using the migration framework. Migrate the data ensuring data integrity. Implement measures for vulnerability management of applications deployed in cloud. Ensure security measures are in place to protect data and application in cloud.
Testing: Test the migrated applications and cloud infrastructure to ensure behavior and performance is as per the acceptance criteria.
Document: Create detailed documentation of migration stages detailing the rationale for strategy, design patterns, application workflow in cloud, network diagrams.
Optimize the performance of applications: Monitor and optimize the application performance in cloud. Implement cost-saving measures in the cloud environment by leveraging FinOps tools.
Automation opportunities: Identify areas to automate the tasks to improve efficiency. Leveraging Terraform to building Infrastructure as Code (IaC).
Monitor: Implement tools for continuously monitoring the application and infrastructure. This is important to manage the overall health of the migration program.
Proactive Improvements: By utilizing the monitoring tools look for areas of overall improvement in the application ecosystem.
Application modernization presents organizations with an opportunity to overhaul the entire legacy ecosystem encompassing application architecture and underlying platform infrastructure. The bulk of work is done in migrating the monolithic applications to microservices based architecture. The tangible benefits are in the form of improved velocity for new feature delivery, replatforming the application from on-premises to cloud by using microservices and DevOps based release cycle. The decision to migrate to cloud post application modernization solely depends on the business value.
The key to modernization success is based on the following steps:
Figure 3: Application Modernization Steps
Breakdown of Steps:
Define Modernization Strategy: Clearly define the reasons for considering cloud migration and expected outcome in terms of cost, scalability, new products etc.
Assess As-Is State: Senior leadership support and approval is key to success given the budget allocation required for large scale migration engagements.
Create a roadmap: Create a detailed roadmap involving timeline, engineers, tools and frameworks required for modernization projects.
Build Digital Skillset: Shift in mindset is critical for the success of engagement. The team should be open to reskill. Engineers need to be provided with opportunities to upskill in the digital space like DevOps, Cloud etc.
Microservices Architecture: Migrate and build new systems by utilizing microservices based architecture to create a scalable, robust, reliable application ecosystem. Focus on creating future ready applications.
Containerization: Implement containerization methodology which is now the industry standard in modern application landscape. Containerization significantly improves the overall software development and deployment lifecycle.
Continuous Integration and Delivery (CI/CD): Implement DevSecOps based principles for automated build, test and deployment of applications. The entire process is streamlined with the help of automation.
Monitoring: Monitor the overall performance of the modernized application and maintain overall health.
Governance: Establish policies and procedures for managing modernized applications.
The lifecycle steps discussed above for both Cloud Migration and Application Modernization overlap and provide a standard template which is implemented by organizations embarking on their Digital Transformation journey.
AI is playing a pivotal role in cloud migration and application modernization space by automating complex tasks, enhancing decision-making, and optimizing costs leading to faster and efficient transformations. AI in conjunction with cloud computing is significantly lowering the barriers involved in legacy migrations to cloud.
Look at AI benefits:
Figure 4: AI Benefits
As organizations embark on their migration and modernization engagements, there are several challenges encountered during the journey.
The challenges can be categorized under the following high-level areas:
Legacy system comprehension: Understanding the legacy systems has always been a challenge given the nature of code base, architectures, outdated technologies, lack of documentation and unavailability of original developers of application. This makes it difficult to modernize and upgrade the system.
Lack of planning: Organizations need to have solid strategy for migration or modernization engagements. Lack of planning can lead to technical hurdles and budget overruns.
Migration and Transformation: Migration of data from on-prem or legacy to cloud can be a highly complex and time-consuming activity.
Managing security vulnerabilities: Legacy code may have known security vulnerabilities due to older versions of technology used in application. They can pose serious threats while moving to cloud.
Integration: As part of application modernization implementation and integration of DevOps and latest technologies can be difficult especially due to lack of skilled engineers.
Budget and Effort: The cost encountered for migration and modernization can be expensive and time consuming, this has led organizations to prioritize during critical times and thereby put the project on hold due to lack of funds.
Generative AI plays a transformative role in migration and modernization engagements by addressing some of the current challenges in execution. There is a paradigm shift with integration of Gen AI which has improved the overall experience from discovery to execution and monitoring.
Current Challenges | Role of Gen AI |
---|---|
Legacy system comprehension |
|
Migration and Transformation |
|
Managing security vulnerabilities |
|
Budget and Effort |
|
Integration |
|
Generative AI is disrupting the SDLC. This statement holds true because of the numerous benefits in the form of automations provided by Gen AI and AI models; however, the role of human-in-the-loop is irreplaceable. The human factor is required to ensure accuracy, reliability and adhere to ethical and regulatory standards.
Some aspects of human-in-the loop:
The next section covers in detail how Gen AI and AI Models are leveraged in each phase of migration and modernization life cycle.
The section will cover generative AI and AI capabilities leveraged across the migration lifecycle.
Cloud migration can be primarily divided into 4 phases:
Figure 5: Cloud Migration Phases
Activities | Role of AI/Gen AI | AI powered Tools | Benefits |
---|---|---|---|
Discover on-premises application architecture components and dependencies | Generative AI provides an approach to collect infrastructure, application data and map out dependencies and relationships Generate visualizations and documentation |
|
|
Generate legacy application documentation | Gen AI by leveraging LLM (Large Language Models) can be used to understand the legacy code base and generate documentation |
|
|
Discover legacy application business logic | LLMs* can delve into the legacy code and discover patterns and help in understanding complex business logic and workflows | Custom built tool can be developed to extract the pattern with help of LLM and Gen AI |
|
Transformation Planning | Create a wave plan for migrating and modernizing workloads to cloud |
|
|
*LLMs in combination with RAG based approach provides required intelligence to scan through the code and enable developers to understand the workflow.
*Infosys Mainframe Scan is an Application Discovery, Reverse Engineering and Data Lineage tool with cool IDE feature to Modernize Mainframe. It accelerates the application transformation of your hybrid cloud environment. Improves business alignment in deriving requirement and reduces Application development and Maintenance cost. Discovering hidden issues within the Application increases the stability of the system.
Activities | Role of AI/Gen AI | AI powered Tools | Benefits |
---|---|---|---|
Convert Monoliths to microservices |
|
|
|
Generate target database/schema model |
|
Database Migration Service
|
|
Generate OpenAPI documentation |
|
Gen AI tool kit using LLM |
|
Generate HLD/LLD |
|
|
|
Cloud Infrastructure readiness |
|
|
|
*Infosys Database Migration solution manages life cycle activities of database migration with end-to-end automation capability. It has brought together indigenously developed deep learning models, proven Infosys products and open-source utilities into one platform. It helps in process simplification with a rich UI, and it facilitates accelerating over all database and data migration augmented with various AI / ML models, connectors, accelerators and utilities.
Activities | Role of AI/Gen AI | AI powered Tools | Benefits |
---|---|---|---|
Migrate monolith to microservice based templates |
|
|
|
Implement new features/use cases |
|
|
|
Migrate source database to target |
|
Database Migration Service
|
|
Conduct Code Reviews |
|
|
|
*Infosys Code Migrator is an Infosys IP tool which helps in accelerating the Organizations code conversion from one technology to another. This platform supports both rules based & Gen AI based code migrations.
Activities | Role of AI/Gen AI | AI powered Tools | Benefits |
---|---|---|---|
Generate unit test cases |
|
|
|
Generate API test cases |
|
|
|
Generate functional test cases |
|
|
|
Test Execution and Management |
|
|
|
Activities | Role of AI/Gen AI | AI powered Tools | Benefits |
---|---|---|---|
Generate Docker files for containerization |
|
|
|
Generate CI/CD scripts Generate CI/CD pipelines |
|
|
|
Security |
|
|
|
Documentation |
|
|
|
Deployment playbooks |
|
|
|
Activities | Role of AI/Gen AI | AI powered Tools | Benefits |
---|---|---|---|
Monitoring |
|
|
|
Logging |
|
|
|
Proactive Incident Resolution |
|
|
|
Optimization |
|
|
|
The above-mentioned AI tools are a small subset from ever increasing list of frameworks and tools that are being developed by various organizations. Organizations have also started building in-house solutions by leveraging LLMs in combination with the Retrieval Augmented Generation (RAG) framework.
The integration of AI into DevSecOps has streamlined cloud migration by safeguarding data, applications and infrastructure in cloud environments. AI in DevSecOps has brought a significant shift towards automating security tasks, proactive vulnerability detection and compliance checks to maintain robust security in complex environments.
Some of AI-driven solutions in DevSecOps
Some of the industry’s leading DevSecOps tools powered by AI:
Gen AI is playing a crucial role in FinOps and thereby creating a paradigm shift in cloud cost management. As organizations over the years have been upgrading cloud infrastructure and building new applications in cloud, financial management is critical for maximizing ROI and business value of cloud. Gen AI is making FinOps more valuable by automating tasks, analyzing and summarizing data from multiple sources and enabling proactive and cost-effective cloud resource management.
Cloud providers have started integrating Gen AI with FinOps tooling for the engineers to ask questions in natural language to query the data. It enables streamlining processes, identify spending patterns and provide insights into cloud spending.
Some of the Gen AI use cases in FinOps are:
Gen AI has significant potential to transform FinOps into a proactive cost management model and help organizations drive maximum value for investments.
This section will cover some industry leading AI based frameworks that have enabled organizations to streamline cloud migration and modernization through automation.
Features | Description |
---|---|
Discover on-premise infrastructure | AWS Service collects server and database configuration information. |
Identify server dependencies | Application Discovery Service uses agents to record network activity of server. The data collected from inbound and outbound activity can be used to identify server dependencies. |
Measure server performance | Measuring memory usage and network performance of the applications and associated processes. This information is used as a baseline while migrating to AWS. |
Migration Plan | Generate a migration plan for Application Migration Service including rightsizing of instances and network configuration. |
Features | Description |
---|---|
Map on-premise environment | Collect all the on-premises information related to application, databases, and hosted infrastructure. Analyze the data and generate cost estimate for migration to Azure. |
Create a plan | Generate a plan with cost effective resources required in Azure by assessing on-premises infrastructure. |
Features | Description |
---|---|
Automated Discovery | Detects all supported operating systems, services, databases and software automatically |
Topology and Dependency Mapping | Identifies connections, topology, and dependency for applications |
Architecture Assessment | Current and proposed architecture analysis based on 5Rs – Rehost, Replatform, Refactor, Retire and Retain |
Application Insights and resource utilization | Application utilization, infrastructure information. Memory and network utilization across environment |
Features | Description |
---|---|
Code Completion | Tool provides templates, suggestions for code completion etc. |
Code Refactoring/Fix | Provide suggestions for implementing code refactoring, potential improvements. Propose a fix for bugs in code. |
Copilot Chat | Provide guidance and support for coding tasks. |
Code Review | Provides suggestions as part of code review to support developer write high quality code. |
Pull request summaries | AI-generated summaries of the changes that were made in a pull request, which files they impact, and what a reviewer should focus on when they conduct their review |
Knowledge Bases | Tool has a feature which enables developers to create a repository of documentation which can be used as a context while working with Copilot. |
Code documentation | Generate code documentation for multiple languages |
Automated Test Generation | Assist in developing unit and integration tests |
Features | Description |
---|---|
Code Generation | Generates real-time code suggestions ranging from snippets to full functions |
Transform workloads | Legacy code bases to modern versions of languages.
|
Code Refactoring/Fix | Amazon Q can identify and fix bugs. Refactor for improved maintainability. |
Inline Chat | Provide conversational support, allowing users to ask questions and suggestions.. |
Code Review | Amazon Q Developer automates code reviews, allowing you to detect and resolve code quality issues such as logical errors, anti-patterns, code duplication, and security vulnerabilities in your applications. |
Deployment-ready IaC | Amazon Q Developer can help generate deployment-ready infrastructure as code (IaC) for AWS CloudFormation, AWS Cloud Development Kit (AWS CDK), or Terraform |
Automated Documentation | Generate in-depth documentation within source code including data-flow diagrams. |
Automated Test Generation | Q Developer can iteratively generate unit tests |
Features | Description |
---|---|
Code Assistance | Tool based on demand generates code blocks. Auto completes the code. |
Code transformation | Provides features like fixing code issues and helping developers by giving code explanations. |
Natural Language Chat | Get answers on coding questions, receive guidance on coding practices. |
Local codebase | Gemini Code Assist generates code that’s more relevant to the application by grounding responses with context from local codebase and current development session. Perform large-scale changes to the codebase, including adding new features, updating cross-file dependencies, helping with version upgrades, comprehensive code reviews, and more. |
Automated Test Generation | Generate unit test cases for code. |
Features | Description |
---|---|
Automatic Issue Detection | Identify code issues, security vulnerabilities and code style violations |
Suggestions | Codacy uses Generative AI to provide smart suggestions and recommendations for improving code |
Suggest Fixes | Suggest specific fixes or refactoring patterns |
Features | Description |
---|---|
Autonomous Test Creation | Test plans, test cases and workflows are automatically build using plain English text. |
Diagnosis and Triaging | Identify potential test issues and offer actionable solutions |
Autonomous Maintenance | Tests dynamically adapt to application changes, minimizing maintenance efforts and ensuring continued reliability. |
Report and Document | Tool can auto generate test case metrics and coverage reports. |
Automated Test Generation | Generate unit test cases for code. |
Features | Description |
---|---|
Test Creation |
|
Test Execution |
|
Test Validation |
|
Test Analysis |
|
Features | Description |
---|---|
Continuous Integration |
|
Continuous Delivery |
|
Infrastructure as Code Management |
|
Incident Response |
|
Some of tools that use Generative AI in Observability
Features | Description |
---|---|
Anomaly Detection | Gen AI can effectively identify patterns in huge sets of data and provide warnings. |
Root cause analysis | Identify the cause of the problem by performing analysis on the data |
Predictive Maintenance | Proactively scheduled maintenance tasks by analyzing previous data that led to failures. |
Gen AI provides great opportunities for the organization with impact across productivity, growth, and cost. However, it is important to follow well defined steps to integrate Gen AI into migration and modernization projects.
Key steps to integrate Gen AI
Figure 6: Steps to Integrate Gen AI
The overall success of cloud migration and modernization engagements also depends on a few other strategic factors that need to be applied across the life cycle of projects.
Generative AI offers considerable advantages for migrations and modernizations; however, it also has challenges that need to be addressed.
Agentic AI is an emerging technology that can act autonomously by making independent decisions and executing tasks with minimal human intervention. The ability to automate complex workflows, real time decision making makes the system more efficient and fosters innovation.
Role of Agentic AI in Cloud Modernization:
Digital transformation has become a strategic imperative for organizations worldwide which has led to significant improvements in scalability, agility, and cost-effectiveness, they have also introduced complex technical challenges across the migration and modernization lifecycle. With the advent of Generative AI (GenAI), organizations now have an unprecedented opportunity to accelerate and streamline cloud migrations by automating key processes, reducing manual effort, and enhancing decision-making. This paper presents a detailed view on the capabilities of Gen AI in each phase of migration lifecycle. The impact of some of the leading Gen AI and AI based tools in modernization projects. Transformation brought by AI-driven automation in DevSecOps has also been discussed in this paper.
Throughout the preparation of this whitepaper, information and insights were drawn from a range of reputable sources, including research papers, articles, and resources. Some of the key references that informed the content of this whitepaper include:
These references provided the foundation upon which the discussions, insights, and recommendations in this whitepaper were based.
To keep yourself updated on the latest technology and industry trends subscribe to the Infosys Knowledge Institute's publications
Count me in!