1. Home
  2. Training Library
  3. Compute (PAS-C01)

Migrating SAP HANA on AWS to an EC2 HMI


Course Introduction
AWS Compute Fundamentals
What is Compute?
Amazon EC2
PREVIEW28m 26s
EC2 Auto Scaling
ELB & Auto Scaling Summary
7m 37s
Start course
2h 40m

In this section of the AWS Certified: SAP on AWS Specialty learning path, we introduce you to the various Compute services currently available in AWS that are relevant to the PAS-C01 exam.

Learning Objectives

  • Identify the various Compute services available in AWS
  • Define the different families within AWS Compute services
  • Identify the purpose of load balancers and Elastic Load Balancing
  • Understand how Auto Scaling can enable your Compute resources to scale elastically based on varying levels of demand
  • Identify supported EC2 instance types for SAP on AWS


The AWS Certified: SAP on AWS Specialty certification has been designed for anyone who has experience managing and operating SAP workloads. Ideally you’ll also have some exposure to the design and implementation of SAP workloads on AWS, including migrating these workloads from on-premises environments. Many exam questions will require a solutions architect level of knowledge for many AWS services, including AWS Compute services. All of the AWS Cloud concepts introduced in this course will be explained and reinforced from the ground up.


Migrating SAP HANA on AWS to an EC2 High Memory instance. At some point in your SAP HANA journey you will probably need to migrate to a High Memory EC2 instance. There are a number of ways that this can be accomplished. So, let's take a few minutes to go over the basics of each of them. The first option I want to explore is how to resize your instances that are running with host or dedicated tendency. The big advantage of this type of migration is that you get to keep your IP addresses, your host name, and your EBS volumes. 

These items will all remain the same after the migration helping to reduce administrative burdens. In general, the migration is very simple but if you want detailed instructions, please take a look at the AWS docs here. The first step is just confirmation that you are running a supported operating system version. If you are not, you will have to upgrade to a supported version before resizing. Since, High Memory EC2 instances are based on the Nitro System, EBS volumes will be presented as NVMe block devices.

This means if you have any amount point entries within etc/fstab with references to block devices like dev/xvd, these will need to be labeled and mounted by label before migrating. Make sure your instance does not exceed the maximum supported EBS volumes of the new instance that you might be migrating to. Next, you want to create a backup of your source system, then you'll want to stop the source instance. If your instance is running with dedicated tenancy, you'll need to modify the instance placement to host tendency. 

Now, you can modify the instance placement of your source instance to the target High Memory dedicated host. Next, you will change your instance type to the actual desired High Memory instance type and then you can start up your instance. You may need to increase the memory of your storage sizes for the SAP HANA data, log, shared, and backup volumes. And now, you can start up your SAP HANA database and validate. And finally, you will need to complete any  SAP HANA specific post migration activities, AWS post migration activities, and configure SAP HANA systems for high availability.


About the Author
Learning Paths

Stuart has been working within the IT industry for two decades covering a huge range of topic areas and technologies, from data center and network infrastructure design, to cloud architecture and implementation.

To date, Stuart has created 150+ courses relating to Cloud reaching over 180,000 students, mostly within the AWS category and with a heavy focus on security and compliance.

Stuart is a member of the AWS Community Builders Program for his contributions towards AWS.

He is AWS certified and accredited in addition to being a published author covering topics across the AWS landscape.

In January 2016 Stuart was awarded ‘Expert of the Year Award 2015’ from Experts Exchange for his knowledge share within cloud services to the community.

Stuart enjoys writing about cloud technologies and you will find many of his articles within our blog pages.