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.
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.
1st you have to login to your AWS instance
Open EC2 Management Console
Click Security Groups UNDER Network and Security -> Check SAP HANA Security Group
Click INBOUND TAB (located below SAP HANA Security Group )
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
Thanks a lot..that helps
Thanks for sharing this
Thanks for sharing ! Worked like a charm 🙂
Thanks for Sharing I spend 5 hours before I found your post. Very helpful
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.
hi brother ,
did you managed to solve your issue or still pending
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 for sharing - it does help me seeing my first xsjs 😉
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.
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.
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:
Great blog Kavashgar... very usefull
Thanks Christiano 🙂
Thanks! Needed this right now 🙂 .
I needed this. The documentation you refered to is now http://help.sap.com/hana_platform
Thank you for helping