Currently Being Moderated

How to create a SAP HANA Developer Edition in the cloud


How much will this cost?

 

SAP won't charge you anything for the license, but you will be responsible for operating your own cloud provider service such as Amazon Web Services  (AWS) or Microsoft Azure. To get an idea about associated cost, use the AWS pricing calculator here or the Azure pricing calculator here.

 

  • 8 vCPU's, 68.4GB RAM (AWS)
  • 8 cores, 56 GB memory (Azure)

 

Create a HANA developer edition environment

 

Prerequisites

 

  • SAP Community Network (SCN) account - if you don't have one yet, you can register free of charge.
  • SAP Cloud Appliance Library account - CAL provides a central location to manage SAP cloud instances. Create an account here.
  • AWS account - if you don't have one yet, register here (look for the button Sign Up at the top). You will need a credit card for payment.
  • Azure account - if you don't have one yet, register here then here.

 

 

Step 1 - SAP HANA Studio and SAP HANA Client

  • Download the latest version of the SAP HANA Studio either from the SAP Service Marketplace or from the community.
  • Accept the License Agreement and start the download by selecting your platform.

  • Once the archive is completely downloaded, unpack it and install

     

Step 2 - Create your instance

  • Search for our "SAP HANA, developer edition" within the solutions areas of the CAL system.

  • One you've found the instance through the search, you will want to "activate" it. Activating an instance makes it available for your account to use it.

Screen Shot 2014-03-21 at 2.52.23 PM.png

  • You will then have the ability to "Create Instance" which will then generate an instance automatically via your chosen account type Amazon EC2 (AWS) or Microsoft Azure. The wizard that starts will take you through a few simple steps and then you will have your instance up and running.
Screen+Shot+2014-03-24+at+1.18.29+PM.png
  • For Amazon EC2 (AWS) or Microsoft Azure. The wizard that starts will take you through a few simple steps and then you will have your instance up and running.

 

  • In the first step of the wizard you will be able to choose the region you wish to create your system and if you would like a static IP address or simply the random IP assigned each time the server is started. You can also give your system a descriptive name.

Screen+Shot+2014-03-24+at+1.19.08+PM.png

  • In step 2, all of the appropriate ports will be automatically added and you can choose your preferred instance size.  Developer editions only support one instance size.
Screen Shot 2014-03-24 at 1.19.23 PM.png
  • In step 3, you will assign a password for the "SYSTEM" and "hdbadm" user(s).
Screen Shot 2014-03-24 at 1.19.52 PM.png
  • In step 4, you can set a schedule for your instance to be available. 

    This can help you save money by turning off the instance (which reduces costs) while you are not available.  See the Control Costs section (below) for more details.



Screen Shot 2014-03-24 at 1.20.26 PM.png
  • Step 5, an optional step, provides cost forecasting.

    (This feature is not yet available for Azure.)

Screen Shot 2014-03-24 at 1.20.58 PM.png
  • Step 6, the final step, gives you a recap of the previous steps and allow the creation process to start.
Screen+Shot+2014-03-24+at+1.21.20+PM (1).png
  • Once the process starts you will be prompted to download your "Key Pair" which will allow you to access your system via SSH, if you want to do that.


(This feature is not yet available for Azure.)



Screen Shot 2014-03-24 at 1.21.37 PM.png
  • It will take approximately 10 to 25 minutes for your system to be set up, running, and ready for you to access.
Screen Shot 2014-03-24 at 3.26.02 PM.png

 

Step 3 - Connecting to your instance

You have to options for connecting to your new server.

  • Simply enter the IP address of your instance into your web browser http://IP ADDRESS and you will find a neatly prepared landing page full of great information, links to tools within your server and some great content to help you get started.
  • Open your SAP HANA Studio and add your server using "SYSTEM" and the password you gave.
    • There are also additional users created for you to check out, we recommend you explore those users and what they can do as well. This way you are not using "SYSTEM" for everything.

 

 

Optional - Logon to the Linux OS

Sometimes you may want to connect to your AWS box on the OS level. For example to change the default password of the hdbadm OS user (see below) or to start/stop your SAP HANA, developer edition server.

 

Finding a Secure Shell (SSH) client for your Operating System

Mac or UNIX variant

Both Macintosh and UNIX computers come with a program called ssh, which can connect directly to Amazon AWS or Microsoft Azure.  Follow the connection instructions below for your specific platform.

 

Windows

To connect from Windows, you can use the popular ssh client for Windows called puTTY.  The blog TechRepublic - Connect to Amazon EC2 with Putty and a private key pair has excellent instructions on puTTY.  To summarize, download puTTY to your local machine, and install it so you can run it from the command line.

 

Connecting to the Linux OS

Connecting to the underlying Linux OS in the cloud instances is different for each provider.  Follow the instructions for the cloud provider you have chosen to host HANA.

 

Amazon AWS

To connect to Amazon AWS, you must use the key-pair that was provided by Amazon when the instance was created.

 

Connecting to AWS from Windows

  1. Using the key-pair file (*.pem) downloaded from Amazon, create a private key file for putty using puttygen.exe.   (More details here.)
  2. Open PuTTY on your computer, and enter the Elastic IP Address for your instance in the Host Name (or IP address) field. Click the 'Open' button.
  3. When the connection is opened, enter ‘root’ as the user. You can now change the default password for the hdbadm OS user with the command passwd hdbadm. Your new password must be entered twice, and it will be checked to ensure it is sufficiently secure. Once you have entered an appropriate password twice, then you are finished!

 

For more detailed instructions, check out the Amazon AWS guide to Connect Your Amazon EC2 Instance.

 

Connecting to AWS from Mac or Unix

 

From Linux or Mac OS-X, in terminal window, run this command:ssh -i <hanakey>.pem <externalIP> -l root

(replace <hanakey>.pem with the name of your key-pair file, and <externalIP> with the Elastic IP address of your instance.)


For more detailed instructions, check out the Amazon AWS guide to Connect Your Amazon EC2 Instance.


Microsoft Azure


To connect from Windows, open puTTY, and enter the IP address.  The user name is azureuser, and the password is your master password.


To connect from Mac or Unix, use this command:  ssh azureuser@<instance_IP_address>
(Replace <instance_IP_address> with the IP address of your Azure instance.)


For more detailed instructions, check out Connecting to Microsoft Azure with SSH.

 

A few notes

  • Some corporate firewalls may not allow SSH to Amazon cloud.  You may have to work with your IT organization to resolve this.
  • User hdbadm owns sap software in the Linux instance. To restart the database without restarting the entire Linux instance, switch to user hdbadm and perform stop and start operations using the following commands
    • suhdbadm: To switch user
    • ./HDB stop: Command to stop HANA DB
    • ./HDB start: Command to start HANA DB
  • The default password of user hdbadm is HANAabcd1234. You should change this password using the Linux command passwd hdbadm after creating your instance. Enter your new password (described above) when HANA Studio prompts you for the <SID>adm logon to perform administrative tasks.

 

Control Costs

 

You will be responsible for operating your AWS account and you will have to pay for the hosting costs. In order to control your costs, we suggest you stop our instance when you are not using it. Starting your instance just takes a few minutes, so you can fire it up when you need it. To stop your instance, find it in the AWS console, right click the instance and choose "Stop" from the context menu. To start it again, choose "Start" from the same context menu.

 

Be aware that AWS also charges you very little money for stopped instances - if you want to stop using your HANA instance on AWS, and you don't want to pay any more monthly bills, make sure to terminate your instance. It will then be permanently deleted. To terminate your instance, choose "Terminate" from the context menu.

 

AWS also provides tools to monitor your usage, so there are no surprises when you get your monthly bill - from your "My Account / Console" menu on the top right corner of the screen on http://aws.amazon.com, choose "Account Activity" and you will see your activity for the current month.

 

 

Where to get help

 

If you read your license agreement carefully, you know that the SAP HANA Developer License is free of charge (except your hosting cost on AWS), but comes with no SAP product support.

 

If you question please check our FAQ

Comments

Delete Document

Are you sure you want to delete this document?