Enterprise Resource Planning Blogs by Members
Gain new perspectives and knowledge about enterprise resource planning in blog posts from community members. Share your own comments and ERP insights today!
Showing results for 
Search instead for 
Did you mean: 

1. Introduction

SAP S/4HANA is SAP’s next generation business suite designed to help you run simple in a digital and networked world. This new suite is built on advanced in-memory platform, SAP HANA, and offers a personalized user experience with SAP Fiori.

Deployable in the cloud or on-premise, SAP S/4HANA is built to drive instant value across lines of business and industries with the ultimate in sophistication: simplicity.

This document is divided into 2 parts it helps the user create a low cost S/4HANA demo system using SAP Cloud Appliance Library (CAL) on Amazon’s AWS Cloud. Methodology described in this document could be applied in creating demo systems of any type.

Part 1: Gives detailed steps on how to create a S/4HANA instance on AWS.

Part 2: Gives detailed steps on how to reduce the Operational costs of the S/4HANA instance.

2. SAP Cloud Appliance Library (CAL)

SAP’s Cloud Appliance Library (shot name CAL) can is used to quickly provision test and demo systems on standard cloud infrastructure providers like Microsoft’s Azure, Amazon Web Services. In this document we will concentrate only on Amazon Web Services (AWS).

User can access CAL from the URL http://cal.sap.com and login or register in it. When the user logs in for the first time he will need to agree to SAP’s terms and conditions.

3. Amazon Web Services (AWS)

Before we provision S/4HANA system on CAL we need to have an account in either Amazon Web Services or Microsoft’s Azure. As mentioned earlier we are going to be using AWS.

User can access AWS from the URL http://aws.amazon.com and login or register in it. Please note Amazon would charge the user based on the usage so we need to be careful to stop/delete instances and other components when they are no longer needed.

4. Provisioning S/4HANA on AWS

This section provides detailed steps on how to provision S/4HANA on AWS using CAL. Before proceeding to this section user needs to have a valid account in both CAL and AWS.

4.1. Extract Access Key and Secret Key from AWS

Logon to AWS account and click on user name at the top right which expands as a drop down menu. Select Security Credentials from the Menu.

Now you will get an information box where you need to click Continue to Security Credentials.

Now expand Access Keys (Access Key ID and Secret Access Key) and click on Create New Access Key to generate a new key pair. Download the Key pair for future use but please keep it safe.

4.2. Create AWS Account in CAL

Now Logon to CAL (http://cal.sap.com) and click on Accounts Tab you will be able to see the list of cloud accounts already created.

On the top right click on Create Account to open Create Account wizard enter the name and description.

Now click next and select Amazon Web Services from the Cloud Provider drop down and provide the Access Key and Secret Key

Now click next and next again and click finish. You should see the entry in the Accounts table.

4.3. Activate S/4HANA solution in CAL

Now click on Solutions tab and in the search text at the extreme right type Fiori and click on try now for the entry “SAP S/4HANA, on-premise edition – Fully Activated”.

You will be presented with the Terms and Conditions dialog scroll down and click on Accept.

After clicking on accept it will apply the agreement

Try Now link will change to Activate. Click on Activate link now. Screen will grey out for some time.

Now Activate link will change to Create Instance link. Click on this link to display Create Instance wizard.

Leave the values to defaults and click on Next. (Make a note of the region)

Leave the values to default again and click next. Here set the master password as per the password requirements as described in the wizard and click next.

In the next screen select Manually activate and suspend in the Scheduling Options drop down and click Next.

In the Summary screen review all the settings and click on Finish.

You will get a Private Key dialog where you need to Click on Store followed by download. Do not forget this step as you will need this private key to logon at the OS level.

Another dialog comes up informing it will take around 50 minutes to activate the instances.

4.4. Check and verify the activation process.

Logon to AWS and select the appropriate region as specified on the previous sub section will creating the instance and click on EC2

Now click on Instances.

You will see the instances will gradually get created and the Instance State will become green.

Once the instance named “SAP_S4HANA(SAP ERP 607 on SAP HANA SP09)” is green you can access the system at the OS level of the S/4HANA system.

To access the OS level from windows you need Putty and Puttygen executables which can be downloaded from URL http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Before accessing the OS from putty we need to set the ip address as public IP of the instance (as shown above)  for the host vhcalhdbdb in the hosts file located in the directory C:\Windows\System32\drivers\etc

Now open Putty and create and entry for SAP_S4HANA with the host name vhcalhdbdb as shown below

Now open Puttygen to convert the private key file from pem to ppk format.

Select Conversions-> Import Key

Now select the pem file you downloaded earlier

Now click on Save private key a warning dialog appears just click Yes.

Now click on Save private key a warning dialog appears just click Yes.

Now specify the file name and click Save.

Now expand SSH->Auth and specify the ppk file

Now go back to Sessions and click Save.

Now click on Open you will be presented with a Alert dialog as show below. Just click Yes.

And specify the user id as root and you will be logged on to the OS without asking for password as you have provided a valid private key file.

After roughly 50 mins you will see the system is up and running. Both the HANA DB and SAP ERP are up and running and also the XS Engine url http://vhcalhdbdb:8002 is available.

Also you can configure the HANA studio to connect to the new HANA database (as SYSTEM/<master password>) and you will notice all the processes are running fine without any issue.

Also create a new SAP GUI connection to ECC and you can logon to SAP with the below connection parameters.

You will also notice in CAL the instance status in green now

Finally invoke stopsap in erpadm and HDB stop as hdbdm.

Now stop all the 3 instances by selecting all the 3 instances and select Instance State->stop from Actions button.

Now if you notice the size on the S/4HANA box is r3.8xlarge which is pretty powerful system with 32 CPUs and 244 GB RAM!!!. And the hourly costs for running such a system is pretty high its 2.8$ / hr which makes it unaffordable for many of us even to run it for 3 hrs a day would cost 250$ a month!!.

Next section would give you a workaround in greatly reducing the operating costs by almost 7 to 10 times.  Please note that this technique is valid only for AWS.

Labels in this area