Set up SAP HANA, express edition on Amazon Web Services (XS Advanced)

You will learn

This tutorial will walk you through the setup process of SAP HANA, express edition, and the XS Advanced applications platforms from an Amazon Marketplace Image in Amazon Web Services

Warning: Please read carefully before starting!

Before, you get started, please be aware that using SAP HANA, express AMI on AWS is not covered by the AWS Free tier, and therefore charges for both the EC2 instance and the provisioned EBS volumes used by this instance will incur.

Also, with the EBS volumes types in use, even if your EC2 instance running your SAP HANA, express edition is stopped, charges will be incurred for the provisioned EBS volumes. Only detaching and deleting the EBS volumes will prevent charges. However, this will make your SAP HANA, express edition no longer usable.

Note: When creating a new account with AWS, a background validation and verification process is started. This process can take up to 2 hours.

During this process, some AWS services, like the AWS Marketplace, will not be available.Therefore, you will need to wait for the completion of the validation process before being able to proceed with the SAP HANA, express edition creation.

Using the search bar at the top, enter SAP HANA, express edition and press Enter or click on the search icon.

After you perform the search, you will be presented with two options. The right one will depend on what you are looking to do.

This tutorial covers the database + XS Advanced application option.

SAP HANA, express edition:

The core database server includes the in-memory database, to which you can connect using different drivers and connectors for different languages (JDBC, ODBC, ADO.NET, driver for Python, Node.js modules, etc.).

The database server plus the XS Advanced platform includes the database server and the micro-services oriented, polyglot development platform.

It includes the SAP Web IDE for SAP HANA, the administration cockpit among other applications like SHINE, Enterprise Architecture Designer and Smart Data Streaming. OData V2 and V4 support, Node.js and Java runtime environments are also included.

Use the external IP address collected from the Amazon Web Services EC2 console to map it in your computer hosts file.

Warning:You will need administration permissions on your computer to do this.

On Windows:

If your user is not an administrator but has administrator rights, right-click on Notepad and choose Run as Administrator.

If you are an administrator user, proceed to the next point.

Open the file or navigate with Windows explorer. You need to edit the file called hosts in the directory C:\Windows\System32\drivers\etc.

On Mac:

Open a terminal ( Finder -> Applications -> Terminal) and type

sudo nano /etc/hosts

Add the external IP address followed by the name of the host, hxehost like this:

xxx.xxx.xxx.xxx hxehost

Save and close the text editor.

Note: If Notepad asks you to create a new file, it means that you do not have enough permissions to save the file and that you didn’t start your program as Administrator.Creating a new file will not alter the configuration as intended.

You can now use your browser to call SAP Web IDE for SAP HANA using link https://hxehost:53075.

Log in with user XSA_DEV and the password you provided during the initial setup script.

Note: You may get a message stating that your connection is not private. This is generally expected because you are using a self-signed certificate.

You can use address https://hxehost:39030 to see additional links such as the Administration Cockpit.

Make sure you use user XSA_ADMIN in different browsers or incognito mode to avoid authorization errors.

Warning: When using the SAP HANA, express edition AMI from AWS, you will be charged for both the EC2 instance and the provisioned EBS volumes used by this instance.

Therefore, even if you suspend your EC2 instance running your SAP HANA, express edition instance, you will still be charged for the provisioned EBS volumes.Only detaching and deleting the EBS volumes will prevent that but your SAP HANA, express edition will no longer be usable.