Currently Being Moderated

SAP HANA Developer Edition on Amazon Web Services (AWS)


How much will this cost?

 

SAP won't charge you anything for the license, but you will be responsible for operating your own AWS account. To get an idea about associated cost, use the AWS pricing calculator here (pre-configured for 4 hours of daily usage on the smallest available size).

 

  • 8 vCPU's, 68.4GB RAM

 

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.

 

 

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.

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

  • 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-24+at+1.18.29+PM.png
  • You will then have the ability to "Create Instance" which will then generate an instance automatically via your Amazon EC2 (AWS) account. 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.19.08+PM.png
  • 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.23 PM.png
  • All of the appropriate ports will be automatically added and you can choose your preferred instance size.
Screen Shot 2014-03-24 at 1.19.52 PM.png
  • Then you will need to assign a password based on the listed criteria to the "SYSTEM" / hdbadm user(s).
Screen Shot 2014-03-24 at 1.20.09 PM.png
  • The next step of the wizard are two optional areas available via CAL that we found to be extremely useful. The first option is to set a protection against accidental termination.
Screen Shot 2014-03-24 at 1.20.19 PM.png
  • The second is one that many in the community asked for and we are happy to be able to include. You can now set a schedule of when you want your instance to actually be available.
Screen Shot 2014-03-24 at 1.20.26 PM.png
  • Next step is also an optional step around cost forecasting.
Screen Shot 2014-03-24 at 1.20.58 PM.png
  • The final step will give 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 need be.
Screen Shot 2014-03-24 at 1.21.37 PM.png
  • From this point you will need to wait anywhere from 10 to 25 minutes for your system to be up and 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 of your AWS instance

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.

 

The following blog has step by step instructions to connect to Linux Box in Amazon EC2 using the popular ssh client for Window puTTY: http://www.techrepublic.com/blog/datacenter/connect-to-amazon-ec2-with-a-private-key-using-putty-and-pageant/5085


Overview of steps contained in the blog:

  • Download putty.exe and puttygen.exe
  • From the Key pair (*.pem) file downloaded from Amazon EC2, create a private key file for putty using puttygen.exe


After setting up PuTTY and Pageant:

  1. 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.
  2. 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!

From Linux or Mac OS-X, in terminal window, you simply need to run: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.)


Note:

  • 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?