Quantcast
Channel: SCN : All Content - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6745

Step by Step Tutorials - Connect SAP HANA developer edition on AWS (OS level)

$
0
0

NOTICE

The Chinese versionof this document was published on 2014.04.10. This document is a translation and the content may not be the latest.

 

 

 

In the previous step-by-step tutorial Step by Step Tutorials - Some basic operations with SAP HANA developer edition on AWS, some basic operations with SAP HANA developer edition on AWS are introduced, e.g., start/stop/reboot/terminate SAP HANA developer edition. They are more related with AWS EC2 itself. In this tutorial, we will learn how to use puttygen and putty on Windows to connect SAP HANA developer edition on AWS at OS level.

 

Prerequisites

1. Start your SAP HANA developer edition

 

Use puttygen and putty to connect SAP HANA developer edition

When we use SAP HANA developer edition on CloudShare, you are told the password of the root user directly. See Step by Step Tutorials - Connect SAP HANA developer edition on CloudShare (OS level) In contrast to CloudShare, AWS uses "Key Pair" to let users connect EC2 instance. In the tutorial Step by Step Tutorials - Get SAP HANA developer edition on AWS we downloaded the private key, the pem file, but unfortunately putty does not support pem format. So, we need to use puttygen to convert pem file to ppk format private key which is supported by putty. Now let's start!

 

1. Download putty and puttygen from PuTTY Download Page

1_.png

 

2. Run puttygen, choose "Conversions" -> "Import key" to import pem file

2_.png

 

3. Choose and open the pem file

3_.png

 

4. Imported the pem file successfully

4_.png

 

Notice:

a. The absolute path of pem file cannot contain Chinese; otherwise the following error will appear.

5.PNG

 

b. Step 2 to step 4 can be replaced with the following steps.

 

b.1 Run puttygen -> Click "Load"

6_.png

 

b.2 Change file type to "All Files" (default is PUTTY Private Key Files with file extension .ppk) -> Choose and open the pem file

7_.png

 

b.3 Imported pem file successfully. A notice will prompt saying "You need to use the Save private key command to save it in putty's own format"

8_.png

 

5. Click "Save private key" to save it in ppk format

9.png

 

6. Click "Yes"

10.PNG

 

7. Change file type to "PUTTY Private Key Files" -> Choose path -> Input the file name -> Save

11_.png

 

8. So far, we have successfully imported pem file and generated ppk file

12_.png

 

9. Run putty -> Input the host name or IP address of your SAP HANA developer edition (In this example, we use the public IP address)

Since we will login as root, we use root@<Public IP>. For instance, the public IP is 10.10.10.10, then we input root@10.10.10.10

13_.png

 

10. Click "Auth" in the blue box

14.png

 

11. Click "Browse" to choose ppk file

15_.png

 

12. Choose and open ppk file which is generated in step 8

16_.png

 

13. Click "Session"

17_.png

 

14. Input some description in the "Saved Sessions" text field -> Save the session and next time you do not need to input the session info again

18_.png

 

15. You can find the session is successfully saved in the red box. Choose it and click "Open"

19_.png

 

16. The following alert will appear at the first time, click "Yes"

20_.png

 

17. So far, we have successfully used root user to login. Have a lot of fun... We can see the OS is SUSE Linux Enterprise Server 11 SP2.

21_.png

 

18. You can use the command "top" to see the overall info. 35014 / 1024 = 34.2GB, that's the memory size of instance type m2.2xlarge. You can also find several processes related with SAP HANA which means SAP HANA server is already started.

22_.png


Viewing all articles
Browse latest Browse all 6745

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>