Application rehosting - AWS Prescriptive Guidance

Application rehosting

Organizations can rehost their existing VMware virtual machines, datastore storage, and virtual networks to the AWS Cloud, where business applications can operate efficiently. The following topics provide guidance for rehosting your existing VMware workloads to AWS services across compute, storage, and network components.

Rehosting virtual machines to the AWS Cloud

Amazon Elastic Compute Cloud (Amazon EC2) instances and VMware vSphere virtual machines (VMs) differ fundamentally in their architecture and storage approach. vSphere VMs store data as file sets such as Virtual Machine Disk (VMDK). Amazon EC2 instances use Amazon Machine Images (AMIs) and Amazon Elastic Block Store (Amazon EBS) volumes.

Organizations can migrate to AWS by using AWS Application Migration Service, which supports VM migration from any supported operating system to Amazon EC2.

The following key elements highlight the architectural and operational differences between vSphere VMs and Amazon EC2 instances:

  • File format – In vSphere, virtual machines are organized as a collection of files. These files include the .vmx file that handles configuration settings and .vmdk files that contain the virtual disk data. Also included are various auxiliary files (.nvram, .vmsd, .vmsn, and .vmss) that manage different VM states and functions. In contrast, Amazon EC2 doesn't rely on specific file formats. Instead, Amazon EC2 uses Amazon Machine Images (AMIs) as templates that contain all the necessary information and configurations needed to launch instances.

  • Storage – In vSphere, the complete virtual machine environment—including the operating system, applications, and data—is consolidated within .vmdk virtual disk files. The .vmdk files are stored in datastores and managed through vSAN volumes. Amazon EC2, however, uses a more modular approach where the instance's root volume is created from an AMI snapshot and stored as an Amazon EBS volume. This approach provides the flexibility to attach additional EBS volumes or instance store volumes as needed.

  • Portability – AMIs from the existing instance can be copied or shared across different AWS Regions or AWS accounts.

  • Scalability – Amazon EC2 offers dynamic scaling capabilities. Its auto scaling features can automatically adjust the number of instances based on demand, enabling seamless scaling up or down in response to workload requirements.

  • Snapshots and backups – Amazon EC2 takes a volume-centric approach, allowing for independent creation of EBS volume snapshots, which can then be used to create new volumes or AMIs. Integrated AWS services complement this Amazon EC2 capability, such as AWS Backup for comprehensive backup management.

  • Management – AWS provides multiple management options including the graphical AWS Management Console, the AWS Command Line Interface (AWS CLI), AWS SDKs, and infrastructure as code (IaC) through AWS CloudFormation. These options offer greater flexibility in how users interact with and manage their resources.

For containerized workloads, VMware provides vSphere with Tanzu Platform, which enables you to run and manage containerized applications alongside traditional virtual machines in your existing infrastructure. AWS provides multiple container services that help you deploy, manage, and scale containers in the cloud.

The following recommendations can help you identify which AWS container service aligns most closely with your workload requirements:

  • Amazon Elastic Container Registry – Use Amazon ECR with any AWS container orchestration service to store your container images. For more information, see the Amazon ECR documentation.

  • Amazon Elastic Container Service – Use Amazon ECS to break monolith apps into microservices, migrate to the cloud, or run batch processing workloads. For more information, see the Amazon ECS documentation.

  • Amazon Elastic Kubernetes Service – Use Amazon EKS to run Kubernetes on AWS, build hybrid applications across the cloud and on premises, or deploy machine learning (ML) models. For more information, see the Amazon EKS documentation.

  • AWS Fargate – Use Fargate with Amazon ECS to launch serverless containers or build a platform as a service (PaaS). For more information, see the Fargate documentation.

  • Amazon Elastic Compute Cloud – Use Amazon EC2 with any of the AWS management services for the maximum control over your launch type. For more information, see the Amazon EC2 documentation.

For more detailed information about AWS containers and suitable options for your organization, see Containers on AWS.

Rehosting datastores to the AWS Cloud

You can migrate VMware vSphere datastores, which function as storage repositories for virtual machine files and other data, to AWS storage services.

When moving data to the cloud, it's important to understand where you're moving it, the potential use cases, the type of data you're moving, and the network resources available. Your organization can choose from among several AWS services, based on your storage needs and workload characteristics:

  • For persistent block storage, consider Amazon Elastic Block Store (Amazon EBS).

  • For scalable file storage, consider Amazon Elastic File System (Amazon EFS).

  • For object storage, consider Amazon Simple Storage Service (Amazon S3).

For block-level storage, you can migrate VMware VMFS and vSAN datastores to Amazon EBS, which provides persistent storage volumes for EC2 instances. You can migrate existing Server Message Block (SMB) or Network File System (NFS) servers to Amazon FSx to reduce operational overheads, take advantage of elastic scaling, and increase availability. Amazon FSx is compatible with NetApp ONTAP, Windows File Server, Lustre, and OpenZFS. For modern file sharing services that don't require configuration of SMB or NFS, Amazon EFS is a serverless, fully elastic, fully managed file storage solution.

The following table highlights storage options that are optimized for specific circumstances. Use it to help determine the option that's appropriate for your use case.

Storage type

What is it optimized for?

AWS storage services or tools

Block

Applications that require low-latency, high-performance durable storage attached to single Amazon EC2 instances or containers, such as databases and general-purpose local instance storage.

Amazon EBS

Amazon EC2 instance store

File system

Applications and workloads that require shared read and write access across multiple Amazon EC2 instances or containers or from multiple on-premises servers. Examples include team file shares, highly available enterprise applications, analytics workloads, and ML training.

Amazon EFS

Amazon FSx

Amazon FSx for Lustre

Amazon FSx for NetApp ONTAP

Amazon FSx for OpenZFS

Amazon FSx for Windows File Server

Amazon S3 File Gateway

Amazon FSx File Gateway

Object

Read-heavy workloads such as content distribution, web hosting, big data analytics, and ML workflows. Well-suited for scenarios where data needs to be stored, accessed, and distributed globally over the internet.

Amazon S3

Cache

Fully managed, scalable, and high-speed cache on AWS for processing file data that's stored in disparate locations. Examples include on-premises NFS file systems, and/or in cloud file systems (FSx for OpenZFS or FSx for ONTAP), and Amazon S3.

Amazon File Cache

Hybrid/Edge

Deliver low-latency data to on-premises applications and provide on-premises applications access to cloud-backed storage.

AWS Storage Gateway Tape Gateway

AWS Storage Gateway Volume Gateway

The following table provides a detailed look at your online and offline options.

Migration options

When speed is the priority

When bandwidth is important

AWS storage services or tools

Online

Online is optimized for frequent updates to data. Use it for time-critical or ongoing workloads.

Consider scheduling your transfer during off hours when you have sufficient bandwidth.

AWS DataSync

AWS Transfer Family

FSx for ONTAP SnapMirror

Storage Gateway

Offline

Suitable for one-time or periodic uploads—and when data can be static in transit.

This choice makes sense when you need to use only the minimum available bandwidth—and you prefer the predictability of physical moves.

AWS Snowball

For more information about storage options, see the AWS Decision Guide Choosing an AWS storage service.

Rehosting virtual networks to the AWS Cloud

VMware virtual networking capabilities can be redesigned for AWS by using Amazon Virtual Private Cloud (Amazon VPC). You can manage the IP address usage of the resources running in your VPCs by using Amazon VPC IP Address Manager (IPAM). Amazon VPC provides logically isolated virtual networks with configurable subnets, routing tables, and security groups for traffic control and additional protection through AWS Network Firewall and Web Application Firewall. Amazon VPC doesn't require configuration of port groups or VLAN tagging unlike existing on-premises VMware vSwitch. The AWS approach makes management simpler while maintaining functionality. For more information, see How Amazon VPC works.

With AWS Transit Gateway, you can connect VPCs, AWS accounts, and on-premises networks to a single gateway. Transit Gateway acts as a cloud router, managing traffic between VPCs and on-premises networks through a central hub. With this capability, you can design and implement networks at scale.

AWS offers services and tools to help organizations maintain network monitoring and visibility, such as Amazon CloudWatch, AWS CloudTrail, Reachability Analyzer, Amazon VPC Lattice, and VPC Flow Logs. Organizations can use these integrated services and tools to get the required insights from application networking.

For VMware NSX specific use cases, AWS offers a different approach by managing the underlying network infrastructure, eliminating the need for complex network virtualization management. To address sophisticated networking requirements, you can deploy AWS networking and security services either individually or in combination. With this flexibility, organizations can redirect their focus from infrastructure maintenance to business-driven objectives.

The following table provides an overview of AWS networking and content delivery services that are optimized for specific scenarios.

Service category

What is it optimized for?

AWS networking and content delivery services

Network foundations

Getting started with AWS networking services and connecting your VPCs securely.

Amazon VPC

AWS PrivateLink

AWS Transit Gateway

Global and hybrid connectivity

Help to ensure private, secure, and global network connectivity.

AWS Client VPN

AWS Cloud WAN

AWS Direct Connect

AWS Site-to-Site VPN

Edge networking and content delivery

Low latency, reliable traffic routing to and from your workloads.

Amazon CloudFront

AWS Global Accelerator

Amazon Route 53

AWS Data Transfer Terminal

Application networking

Help to ensure that your workloads are highly available, adapt to demand, and can communicate with each other.

Amazon API Gateway

Amazon VPC IPAM

Amazon VPC Lattice

Elastic Load Balancing

Network security and remote access

Protect your workloads against malware, DDoS, SQL injection, and cross-site scripting attacks.

AWS Firewall Manager

AWS Network Firewall

AWS Shield

AWS Verified Access

AWS WAF

For more information, see the AWS Decision Guide Choosing an AWS networking and content delivery service.