How to create a SAP HANA Developer Edition in the cloud
Tags:
OLD VERSIONThis document is now out of date.For the latest information about getting an SAP HANA Developer Account on AWS or Azure, please see to the new tutorial on our new SAP HANA Developer Center. |
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
| |
Step 2 - Create your instance | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
(This feature is not yet available for Azure.) | |
| |
Step 3 - Connecting to your instanceYou have to options for connecting to your new server.
|
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
- Using the key-pair file (*.pem) downloaded from Amazon, create a private key file for putty using puttygen.exe. (More details here.)
- 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.
- 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
- su – hdbadm: 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