AWS Transform Adds Tool to Convert .NET Applications from Azure to AWS
Amazon Web Services has released a new capability to automate the migration of .NET applications built with Microsoft Azure's SDK. The feature translates code to use corresponding AWS services, aiming to simplify the process of moving workloads between the two cloud platforms.
AWS Transform generally supports converting three services: Azure Functions, Azure Blob Storage, and Azure Queue Storage to their AWS equivalents.12
Conversion of database code from Azure Cosmos DB to Amazon DynamoDB is currently offered under preview status.12
The code conversion capability is available across eight AWS regions in North America, Europe, and Asia-Pacific.2
Story
AWS Introduces Automated Code Conversion for Azure-Based .NET ApplicationsAmazon Web Services announced it has added a new capability to its AWS Transform service, which is now generally available.12 This feature is designed to convert .NET applications originally written using the Microsoft Azure Software Development Kit (SDK) into code that functions with the AWS SDK.12 The primary issue the tool addresses is that .NET applications constructed with the Azure SDK rely on services specific to the Azure ecosystem.1 Consequently, these applications cannot run in an AWS environment without undergoing modifications to their source code.1 This incompatibility directly affects developers whose existing software depends on Azure SDK components when seeking to move workloads to AWS.1 The general release of this translation capability means teams can now use AWS Transform to convert their application code.12
The new function within AWS Transform automates this process by performing code transformations that substitute Azure-specific services with their corresponding AWS counterparts.1 A component known as the .NET modernization agent is responsible for detecting the Azure service code and translating it.2 The process begins when a developer uploads their application's source code into the AWS Transform service.2 The tool then analyzes the code to identify where the Azure SDK has been used.2 By utilizing the .NET modernization agent to identify proprietary Azure code, the service automates the discovery of dependencies within the uploaded application.2
After its analysis, AWS Transform generates an assessment report along with a detailed modernization plan.2 This plan outlines the available migration choices, presenting them to the developer for consideration.2 Developers are given the opportunity to review the suggested conversion options before any changes are made.2 They can choose to accept the recommendations as they are or modify them before initiating the modernization task.2 This assessment structure ensures that developers retain direct control over every recommended conversion before any modifications are performed.2
Once the developer approves the plan, AWS Transform executes the conversion by replacing the detected Azure service code.2 The original code is updated with calls to the corresponding AWS SDK services.2 Following the replacement, the service includes a verification step to ensure that the specified modifications are present in the resulting code.2 This provides a check that the automated changes were applied as intended.2 By verifying that the updated code contains the expected AWS SDK calls, the tool confirms that the modernization step completed as planned.2
The service's generally available features include support for several key service-to-service conversions.2 It can transform serverless applications built on Azure Functions into functions that run on AWS Lambda.12 For object storage, the tool facilitates the migration of data from Azure Blob Storage to Amazon S3.12 Additionally, it handles the conversion of messaging systems from Azure Queue Storage to the Amazon Simple Queue Service (SQS).12 These conversions provide a direct migration path for developers using serverless execution, object storage, and message queues on Azure.12
AWS Transform also provides a conversion path for databases, specifically from Azure Cosmos DB to Amazon DynamoDB.12 However, this particular database conversion capability is currently offered in a preview status, not as a generally available feature.2 In situations where the tool encounters code that cannot be mapped to an equivalent AWS service, it employs a different strategy.1 It inserts ToDo comments, stub code, and a Markdown file titled "Next Step" to provide explanations for manual intervention.1 Because this database translation remains in preview, developers must rely on the generated Markdown documentation and stub code to guide any manual adjustments.12
A practical example of the tool's use would be an application with a serverless function on Azure Functions that depends on Azure Cosmos DB for its data.2 Using AWS Transform, this component could be converted into an AWS Lambda function.2 The newly created Lambda function would be rewritten to utilize Amazon DynamoDB as its database service.2 This demonstrates a direct migration of a common serverless architecture from the Azure cloud to the AWS cloud.2 This example highlights how a complete serverless application architecture can transition its compute and storage logic from Azure to AWS.2
This new feature is aimed at developers and organizations that have built applications on the .NET framework for the Microsoft Azure platform.1 It is particularly relevant for those who are considering or actively planning to move their software workloads from Azure to AWS.1 By automating a significant portion of the necessary code-level adjustments, the tool seeks to lower the manual effort involved in such a cloud-to-cloud migration.12 The structured process, from assessment to developer-approved code modification, offers a managed pathway for the transition.2 Consequently, engineering teams can evaluate their migration options thoroughly before committing to altering their codebase.2
The AWS Transform service, with its new Azure-to-AWS conversion feature, is currently provided in eight AWS regions.2 In North America, it is accessible in the US East (N. Virginia) and Canada (Central) regions.2 For users in Europe, the service is available from the data centers in Frankfurt and London.2 The service is also deployed in four Asia-Pacific regions: Mumbai, Tokyo, Seoul, and Sydney.2 This availability across the eight designated AWS regions allows organizations in these locations to run the modernization service.2
Impact
Spreading outward, level by level- Level 1Automated code modernization
The .NET modernization agent in AWS Transform scans uploaded source code to detect Azure SDK calls and automatically replaces them with corresponding AWS SDK code.12
Fact - Level 2Migration assessment and developer oversight
Developers can review, accept, or modify conversion plans in an assessment report before execution, while unsupported code is flagged with stubs, ToDo comments, and Markdown guides.12
Fact - Level 3Cross-cloud workload migration
By replacing proprietary Azure services with AWS alternatives, organizations can migrate legacy .NET applications to AWS with reduced manual reprogramming effort.
Analysis
Sources
What each source supportsWritten by AI from the sources listed below: every fact was checked word for word against its source, and inference is marked apart. How we write