Skip to Content
Author's profile photo Former Member

Solution to : Issue setting up HANA XS Engine with AWS

Those new to HANA native application development using HANA XS might have faced such issue. Specially those who practice with AWS 30 day trial account.

Actually I went though following situation and managed to fix this, ope this helps other newbies

I assume that you have access to HANA AWS instance and setup HANA Studio on your local machine and installed Client libraries

If not PM me I will guide you about how to do initial setup.

Scenario:

1. I was following hana_dev_en.pdf (gogole it you will find) book , started with tutorial from Page 67. everything was fine until I tested my first HANA XS app on browser Page 77

I couldn’t execute the output using browser

— after Google I found the solution , it was due to port 8000 configuration in AWS EC2 Management console.

Step 1

1st you have to login to your AWS instance

Step 2

Open EC2 Management Console

Step 3

Click Security Groups UNDER Network and Security -> Check SAP HANA Security Group

Step 4

Click  INBOUND TAB (located below SAP HANA Security Group )

Step 5

In the port range type 8000 and CLick ADD RULE button

and CLick Apply Rule Changes Button

We are done.

Now lets test whether HANA XS Engine is accessible or not ( bY default it is UP and running with HANA BOX uncless you stopped the XS Services manually)

open your browser (new tab) type http://imdbhdb:8000/  (in my case I edited host file on my windows box to point “imdbhdb” to my AWS Elastic IP ) and press Enter  Now you should be able to see a page with SAP Logo next to XSEgine. that means your configuration is successful.

you can also use your AWS Elastic IP followed by port number 8000

See the attached steps involves in adding inbound PORT(8000)

Hope this helps someone

Regards,

Kavashgar M

Assigned Tags

      16 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Andy Silvey
      Andy Silvey

      Hi Kavashgar,

      nice blog.

      Andy.

      Author's profile photo Former Member
      Former Member

      Thanks a lot..that helps

      Author's profile photo Former Member
      Former Member

      Thanks for sharing this

      Author's profile photo Steven De Saeger
      Steven De Saeger

      Thanks for sharing ! Worked like a charm 🙂

      Author's profile photo Former Member
      Former Member

      Thanks for Sharing I spend 5 hours before I found your post. Very helpful

      Author's profile photo Former Member
      Former Member

      Hi

      Thanks for sharing, before starting the hana xs server, i want to configure the hana server with hdbadm password and SYSTEM password. Basically i want to get into administration console. If i just type the elastic ip in the browser, it returns me a server error page.

      Can some one guide me on how to configure the hana server.

      My instance is deployed on aws. In my security group, i have ports open for http(80)  22(ssh) 443(https) 8000.

      i also have my server defined in my hosts file with my elastic ip pointing to hana server.

      I am on Rev 48 version on hana server.

      Thanks

      Althaf.

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      hi brother ,

      did you managed to solve your issue or still pending

      Regards,

      Kavashgar M

      Author's profile photo Former Member
      Former Member

      Hi

      I wanted to create db user, through managemnt console( I am able to create a new user in hana studio). If i use the hana server on amazon market place, after the server  is started, when i type the elastic ip in the browser, it allows me to change the user, create a new password for hdbdadm and system users.

      I am still not able to do it with hana developer edition.

      Thanks

      Althaf.

      Author's profile photo Former Member
      Former Member

      Thanks for sharing - it does help me seeing my first xsjs 😉

      Author's profile photo Former Member
      Former Member

      Hi ,

             I am not getting error while connecting to XS engine. Previously i use hana instance under rev48. Now i updated this rev56. But still my HANA studio is under rev48. I did all the process you mentioned above. But, still i am getting error in the browser. Kindly guide me.

      Thanks,

      vijaykrishna

      Author's profile photo Former Member
      Former Member

      Hi There,

      I had the same situation: XSEngine did work but HANA Studio caused an error. it seems the hostname "idbhdb" is causing the problem.

      With Rev 48 it was important to have just that name in order to be able to run the admin parts, but with Rev 56 it seems causing the issue. I switched my to "hanaserver" inside the hosts table and run now all (HANA Studio as well as the XS Engine) with that and this seems to do the trick.

      Cheers Stephan

      Author's profile photo Former Member
      Former Member

      Hi Vijay,

      What error do you see in the browser?

      did u download the hana studio rev 56 and the client?

      Here is the detailed description of the upgrade process:

      http://scn.sap.com/docs/DOC-30980

      Althaf.

      Author's profile photo Christiano José Beltrão Magalhães
      Christiano José Beltrão Magalhães

      Great blog Kavashgar... very usefull

      regards,

      Christiano.

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Thanks Christiano 🙂

      Author's profile photo Fred Verheul
      Fred Verheul

      Thanks! Needed this right now 🙂 .

      Cheers, Fred

      Author's profile photo Former Member
      Former Member

      Hello Kavashgar,

      I needed this. The documentation you refered to is now http://help.sap.com/hana_platform

      Thank you for helping

      Cheers,

      Robin