How-to setup an ABAP based backend system using Amazon Web Services and the SAP Cloud Appliance Library
You need to have an active Amazon Web Services (AWS) account for the Elastic Cloud Computing (EC2) module!
Registering for a CAL account
- Navigate to https://cal.sap.com/ and login using your free SAP HANA Cloud Platform Developer Edition account.
- Create a CAL account by clicking on the
Create Accountlink in the top-right corner.
- On the first wizard page (
Define General Properties) provide a
Namefor your account (e.g. “SAP HCP Backend”). Click on
- Now, we need to select our
Cloud Provider. At the time of writing, the only available option is
Amazon Web Services. Please also provide your AWS
Secret Key. Click on
- On the third wizard page (
Select Account Users) you can maintain (additional) users for this account. Your user should be registered by default. Click on
- The next (optional) step is to provide information for the
Cost Forecast. By default, the region
us-east-1is enabled by default. Click on
Setting up a CAL-based solution
- Switch to the
Solutionstab and scroll down to the bottom of the list. Activate the entry
SAP NetWeaver Application Server ABAP 7.4 on SAP MaxDB - Trial Editionby clicking on the corresponding
- Now, you can create an instance by clicking on
Create instancebutton of the selected solution and provision it to AWS EC2.
Creating an instance of a CAL-based solution
- On the first page of the
Create Instancewizard you are asked to define the general properties of the to-be created instance. Provide a
Namefor your instance (e.g. “NW App Server 7.4 Public”.) Your
Accountinformation should be filled in already as well as the default
Regionto be used. The most important setting is the
Access Fromvalue, which can either be
Corporate Network(VPN). Within the scope of this tutorial we’ll stick t the default (public) access level. Proceed by clicking
- On this wizard page you can configure the virtual machine settings. Leave the
Virtual Machine Sizeas is as well as the other settings. (We will go back to this page later on and make some required changes, but let’s take it step-by-step). Click on
- On the thrid wizard page we have to define our master password. Maintain one and then proceed to setp 4 by clicking on
- Here you can define the scheduling configuration. While it generally sounds like a good idea to setup a schedule to (re-)start and stop your instance, we opt for manual (de-)activation and proceed by clicking
- We step through the remaining wizard pages without making any changes and finally confirming the creation process by clicking on
Finish. (When you do this for the first time it may take up to 35 min to setup the solution.)
- You’ll be prompted to store and/or download the generated license key (PEM file).
Create instancewizard dialog the selected solution will be provisioned to your AWS EC2 account and from that moment on you are generating costs!
- Once the instance is up and running it will be listed in the
Instancestab. If you click on the link in the
Instance Namecolumn you can open up a pop-up window to take a look at (and edit) the individual settings. One of the most important information being displayed is the IP address of your instance.
192.168.0.1as an example. You need to replace this with the real IP address of your AWS system! Similarly, we refer to the key certificate issued to connect to the system as
NW AppServer 7.4.pem. If you have chosen a different name, please substitute it respectively in the command line scripts below.
Setup the SAP Cloud Connector via SSH
- Connect to your instance running on AWS via ssh:
- Download the (productive) Linux version of the SAP Cloud Connector from the tools page. Now we need to copy this file to our instance, then unzip and install it (via the
- Once the cloud connector is up and running it will start a lightweight web server listening to port
8443. However, this port is not yet exposed to the outside world, hence we need it as a ‘custom port’ to the virtual machine of our instance.
- Navigate to the CAL console again and click on the name of your instance in the
Instance tab. This will open up a pop-up window.
- Switch to the
VIRTUAL MACHINEtab and click on the
Editbutton in the lower rigth corner.
- Now add a custom
Access Pointmapped to
Service 'HTTP' and
Port '8443'. Click on
- Confirm the changes by clicking on
Save. The settings are instantly applied.
- Connect to the cloud conenctor by opening the respective url:
http://192.168.0.1:8443. The default username/password combination is
For further information about how-to configure the cloud connector for your respective scenario please consult the official documentation:
SAP HANA Cloud Platform – Initial Configuration of Cloud Connector
Connecting to our ABAP system via SAP Gui (for Java)
You may want to access your ABAP instance via SAP Gui. If not (or if you are already familiar with using the SAP Gui) then you can safely skip this last section.
The simplest way to get access to the SAP Gui is by copying it from the AWS instance:
Simply extract the ZIP file and run the installation script as explained section 4.1.1 in the following guide: Getting Started with SAP NetWeaver Application Server ABAP 7.4 SPS02 on SAP MaxDB – Trial
Once installed the last remaining set is to setup a corresponding connection configuration. On a MAC the respective configuration file is located in the following file:
The configuration file may look as follows:
Although SAP offers trial editions for free your will still have to cover the costs for running these trial editions on AWS!
- : SAP NetWeaver Application Server ABAP 7.4 – Trial Edition
- : Amazon Web Services
- : SAP Cloud Appliance Library (CAL)
- : Alternative AWS Deployment for SAP Trials provided as Virtual Appliance
- : Virtual Private Cloud with VPN Access for SAP Trials provided as Virtual Appliance
- : Getting Started with SAP NetWeaver Application Server ABAP 7.4 SPS02 on SAP MaxDB – Trial