Mobilize  - Migration Lens

Mobilize 

As you start planning for your migration in the mobilize phase, you need to consider planning for optimizing resource utilization and cost management. To achieve this, use existing automation tools to streamline migration processes effectively. Additionally, minimize data transfer to conserve bandwidth and mitigate data egress costs, ensuring a cost-effective transition. Right-sizing replication servers is essential to prevent bottlenecks without unnecessary over-provisioning. Furthermore, establish robust cost and usage governance through IAM policies and define a customized cost allocation strategy tailored to your organization's financial management needs. These practices collectively contribute to a smooth and cost-efficient mobilization of your migration efforts.

MIG-COST-02: Are you using automation efficiently for your migration?

AWS and our partners offer a wide variety of tools and services to help perform your migration. Use these tools efficiently to reduce infrastructure and operational costs during the migration. 

MIG-COST-BP-2.1: Leverage existing tools to automate your migration

This BP applies to the following best practice areas: Cost-effective resources

Implementation guidance

Suggestion 2.1.1: Understand the capabilities of each tool available, and select the one best suited to your situation. 

AWS and our partners offer a range of tools to help migration. For instance, AWS Application Migration Service can help with ongoing replication, planning, testing, and cutover for lift and shift server migrations. AWS Migration Hub or Cloud Migration Factory can provide additional planning and reporting functionality on top of Application Migration Service. Some tools are purpose-built for specific workloads, such as Database Migration Service (DMS) and Kubernetes Migration Factory. There are also many other tools offered by AWS partners.

MIG-COST-BP-2.2: Minimize the number of applications and the amount of data that is migrated

This BP applies to the following best practice areas: Cost-effective resources

Implementation guidance

Suggestion 2.2.1: Only migrate what needs to be migrated and minimize ongoing replication. 

In the analyze and mobilize phases, you may have discovered some applications that are still running but are no longer needed. Those are easy targets to retire to limit how much you're migrating. Consider discarding archival data that is beyond its useful retention period. Non-production servers for applications that are not in active development may also be retired. 

Additionally, ongoing replication, such as change data capture (CDC) that Application Migration Service or AWS DMS uses, can consume a lot of bandwidth when the rate of change in the source server is high. Too much simultaneous replication may require additional bandwidth to avoid network issues. If migrating from another cloud service provider (CSP), you may incur unnecessary data egress costs when you have unnecessary replication. You can reduce bandwidth requirements by limiting the time your servers are actively replicating, as well as how many you are replicating simultaneously, especially the source servers with a high rate of change.

MIG-COST-BP-2.3: Right-size your replication servers to prevent bottlenecks without over-provisioning

This BP applies to the following best practice areas: Cost-effective resources

Implementation guidance

Suggestion 2.3.1: Monitor your replication server performance and adjust their size as needed. 

You can monitor Application Migration Service and DMS replication server performance in CloudWatch. A replication server with too little performance causes a bottleneck that can increase costs elsewhere, such as operations. A replication server with too much performance can itself cost more than it needs.

MIG-COST-03: Have you established standards to measure, monitor and create accountability to manage the cost of operating in the cloud?

AWS provides tools and services for measuring, monitoring and creating accountability for your cloud spend. Your organization should establish a financial attribution model for the migrated resources. Creating a financial accountability model allows departments to cross-charge departments for shared resources.

MIG-COST-BP-3.1: Plan and set up cost and usage governance of AWS resources with help of IAM policies

This BP applies to the following best practice areas: Expenditure and usage awareness

Implementation guidance

Suggestion 3.1.1: To effectively manage the costs of your migration, it's essential to have robust control over your AWS resource usage.

Before embarking on mass migrations, establish access control standards in AWS by creating and enforcing policies that are closely tied to migration objectives. These policies can be attached to AWS Identity and Access Management (IAM) principals, including roles or policies, as well as AWS resources. AWS offers various policy types to provide the flexibility needed for cost management within the migration process.

Identity-based policies should be employed to define permissions for IAM roles. For instance, you can attach a policy to an IAM role, specifying that the role is permitted to launch specific instance types or access particular services. These identity-based policies play a crucial role in setting permissions boundaries, which facilitate governance aimed at cost control.

Additionally, resource-based policies should be applied to relevant AWS resources involved in your migration. For example, these policies can be attached to S3 buckets, Amazon SQS queues, VPC endpoints, and AWS Key Management Service encryption keys, aligning security and access controls with migration goals. This keeps cost management tightly integrated with your migration strategy and implementation.

For more detail, see the following:

MIG-COST-BP-3.2: Define a cost allocation strategy that meets your organizations specific financial management process

This BP applies to the following best practice areas: Expenditure and usage awareness

Implementation guidance

Suggestion 3.2.1: Migration cost can be optimized by creating a cost awareness culture in your organization. 

A good way to start this shift is by information teams on how their decisions impact cost. Cost allocation is foundational to making informed decisions to best support business outcomes. To do this, you need to define a cost allocation strategy that speaks to your specific financial management process, and ties cost and resources usage data to the business needs and outcomes.

Set up resource tagging for cost allocation. Create your resource tags, and then activate your cost allocation tags in the Billing and Cost Management console. There are user-defined and AWS-generated cost allocation tags. Based on the types of services you need to tag and the level of customization you require, you can use one of these two cost allocation tags or a hybrid of both. AWS Cost Categories allows you to logically group accounts and resources with attributes, such as tags, to better map your cost and usage information to your organizational structure.

Use four step process to design chargeback for shared services (for example, central compute savings plans, or enterprise support cost at billing account). 

  1. Decide on the cost units to chargeback to.

  2. Calculate the total cost of the shared services.

  3. Choose a distribution logic (equitable or proportional).

  4. Gather the data to chargeback accurately.

For more detail, see Chargeback | AWS Cloud Financial Management.

MIG-COST-BP-3.3: Design a strategy to monitor, track and analyze your AWS cost and usage as you move resources to AWS

This BP applies to the following best practice areas: Expenditure and usage awareness

Implementation guidance

Suggestion 3.3.1: Implement appropriate management, tracking and measurement for your migration cost.

You can use Amazon CloudWatch to collect and track metrics, monitor log files, set alarms, and automatically react to changes in your AWS resources. You can also use Amazon CloudWatch to gain system-wide visibility into resource utilization, application performance, and operational health.

With Trusted Advisor, you can provision your resources following best practices to improve system performance and reliability, increase security, and look for opportunities to save money. You can also turn off non-production instances, and use Amazon CloudWatch and autoscaling to match increases or reductions in demand.

AWS Cost Explorer has an easy-to-use interface that lets you visualize, understand, and manage your AWS costs and usage over time.  You can get started quickly by creating custom reports that analyze cost and usage data. Analyze your data at a high level (for example, total costs and usage across all accounts), or dive deeper into your cost and usage data to identify trends, pinpoint cost drivers, and detect anomalies.