Part of Datorkirurgen AB – IT experts across Sweden

Many groups today run parts of their environment in Amazon AWS and other parts in Microsoft Azure. Sometimes this is due to an acquisition, and sometimes different departments have chosen different clouds over time. Therefore, migration from AWS to Azure is becoming more common in Swedish groups.

When management wants to consolidate the environment, migration from AWS to Azure is often a natural step, especially when the group already uses Microsoft 365, Entra ID and Microsoft licences. At the same time, such a move is a large technical project that requires careful planning.

Create a storage account in Azure during a migration from AWS to Azure
Create a storage account in Azure during a migration from AWS to Azure. A new storage account in Azure. Already here, the choice of region and redundancy decides cost and security.

Reasons to move – and reasons to stay

There are good reasons to consolidate the environment in Azure. Identities, security and licences become easier to manage when everything connects to Entra ID and Microsoft Defender, and Microsoft agreements can give discounts on existing Windows Server and SQL Server licences.

At the same time, some AWS services have no direct equivalent in Azure, or they work differently. For example, this applies to certain database services, serverless functions and network solutions.

Therefore, we always start by asking what you want to achieve. Is the goal lower cost, easier management, better security or fewer suppliers? The answer shapes the whole project. Sometimes the answer is to move everything, and sometimes to move most of it and keep certain parts in AWS. We help you with both.

How we carry out a migration from AWS to Azure

Inventory and dependencies

First, we map the environment in AWS. This covers virtual servers in EC2, databases in RDS, storage in S3, networks, security groups, IAM roles, DNS in Route 53 and all integrations with other systems.

Above all, we need to find the dependencies. An application that seems stand-alone may call a database, a queue and an external service, and all of them must work after the move.

Landing zone in Azure

Next, we build a landing zone in Azure. It consists of subscriptions, resource groups, networks, firewall rules, policies and role-based access.

We build the landing zone as code in Terraform or Bicep. In this way, the environment becomes documented and reviewable, and we can rebuild it if something goes wrong.

Choosing geo-redundant storage in Azure
Choosing geo-redundant storage in Azure. With geo-redundant storage, a copy of the data exists in another region if the primary region has a problem.

Moving servers

After that, we move the servers. For many virtual servers, we use Azure Migrate, which replicates the servers from AWS to Azure while they keep running.

When the replication is complete, we run a test round in Azure. Then we plan a short maintenance window for the actual switch, often an evening or a weekend. If something unexpected happens, we can go back to the server in AWS, since it remains until everything is verified.

Moving data and databases

We can copy storage in Amazon S3 directly to Azure Blob Storage with AzCopy. For very large volumes of data, we run the copy in several passes, so that the last run only takes the changes.

We move databases with Azure Database Migration Service or with the database’s own replication tools. For Linux servers with MariaDB, MySQL or PostgreSQL, we often choose replication, so that the outage stays as short as possible.

Connecting resources in Azure Storage Explorer during a migration from AWS to Azure
Connecting resources in Azure Storage Explorer during a migration from AWS to Azure. Azure Storage Explorer connects to accounts, containers and file shares during the move.

Identities and permissions

An often overlooked part is permissions. Roles and policies in AWS IAM do not work the same way as role-based access in Azure.

Therefore, we translate the permissions and take the opportunity to remove what is no longer needed. Each service gets a managed identity with least privilege, instead of stored access keys.

The Azure portal with storage and Entra ID
The Azure portal with storage and Entra ID. Even the Azure portal sometimes shows temporary errors. Therefore, we document every step and can always go back.

Security and cost after the move

When everything works in Azure, we do not simply switch off the AWS environment. First, we make sure that backups exist, that we have saved the logs and that no systems still point to the old addresses.

After that, we review the costs. Without follow-up, the cloud invoice is often higher than expected in the first months. In fact, the right server sizes, reserved instances and automatic shutdown of test environments often make a big difference.

At the same time, we turn on Microsoft Defender for Cloud and connect the logs to your monitoring. If you need connections between several clouds during the transition, we build encrypted VPN tunnels between AWS and Azure.

Microsoft also describes the tool in the Azure Migrate documentation.

Why groups hire us for migration from AWS to Azure

We work daily in both AWS and Azure, as well as in Oracle Cloud and Google Cloud. Therefore, we see which services fit best where, without being tied to a single cloud.

Our prices start at €400 per hour excluding VAT. In addition, we are happy to offer a fixed price for a pre-study or the whole migration. Read also about how we build custom-built websites in the cloud, or contact us via the form on our home page.

Frequently asked questions about migration from AWS to Azure

Planning a migration from AWS to Azure

  • Why do groups move from AWS to Azure?
  • Should we move everything or only certain parts?
  • How long does a migration from AWS to Azure take?
  • What is a landing zone in Azure?
  • Why do you build the environment with Terraform or Bicep?
  • Can we use existing Microsoft licences in Azure?
  • Which AWS services lack an equivalent in Azure?
  • How do you find dependencies between systems?
  • Do we need a pre-study?
  • Can we run AWS and Azure in parallel for a period?

Technology during the move

  • How do you move virtual servers from EC2?
  • What is Azure Migrate?
  • How do you move data from Amazon S3 to Azure Blob Storage?
  • How do you move databases from RDS?
  • How long will the outage be?
  • What happens to DNS in Route 53?
  • How do you translate permissions from AWS IAM?
  • What is a managed identity in Azure?
  • How do you connect AWS and Azure during the move?
  • Can you move Linux servers with MariaDB?

Security, cost and cooperation

  • How do you protect data during the migration?
  • How do we lower the costs in Azure after the move?
  • When can we shut down the AWS environment?
  • Is monitoring with Microsoft Defender for Cloud included?
  • Can you also move to Oracle Cloud or Google Cloud?
  • Do you work together with our development department?
  • Do you also work at weekends?
  • What does a migration from AWS to Azure cost?
  • Do you also offer a fixed price?
  • How do we get started once we have decided?
Website developed by Datorkirurgen AB · Privacy policy