Skip to Content
Author's profile photo Former Member

Avoid Bill shock! Applicable to HAN instance hosted in AWS

We were clearly informed about terms and conditions governing usage of EC2 by Amazon Web Services when setting up our trial account , Usually most of us when we see I agree button , or accept button , we used to proceed without reading terms and conditions. This could happen due to our negligence only.

Many of us don’t aware that HANA 30 days developer instance hosted in Amazon Web Services(AWS) , could give us bill sock if we just created HANA instance and let it run whole day even after we stopped practicing tutorials. Most of the new HANA learners enrolled in open SAP could be new to cloud computing platform and the way it works and hosting providers billing system works.

In order to avoid bill shock when you use HANA instance hosted in AWS, use following techniques suggested by Amazon itself to limit your usage and stop the instance when not being used.

AWS User login to your amazon AWS services account and go to management console then click on EC2

Launch your running instance , right click on your instance and click stop or Terminate


Setting up CloudWatch

I don’t want to re-invent the wheel as instructions were clearly stated in Amazon website

Use following link to Stop or Terminate EC2 Instances That are Unused or Underutilized.

Create alarm with cloudWatch that stops and terminate instance when your system is idle for certain period of time

Please share best practices if you are using other cloud hosting providers so that other community brothers could avoid similar mistakes

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Sreedhar Badhe
      Sreedhar Badhe

      In addition to stopping the instance, you need to detach the volumes associated with the instance.  Amazon charges you for volumes which are attached to the instance and are with the status of "in-use".

      In order to do this, go to volumes, select all the in-use volumes and detach them.



      Author's profile photo Bill Ramos
      Bill Ramos

      Hi Sreedhar,

          I'm not sure that detaching the drives is such a good idea - especially with a HANA One instance where the drives are Raid0 configured. Reattaching them doesn't seem predictable. It might work with the Dev edition - but I would make sure to at least take a backup to a separate volume. I'd like to get Juergen's take on this before anyone takes this approach.



      Author's profile photo Sreedhar Badhe
      Sreedhar Badhe


         I agree with you.  This procedure should not be applied for production servers. 



      Author's profile photo Former Member
      Former Member


      I discoverd the AWS for SAP demo N4H the Hard Way...  Amazon charged me today 1600$ for 1 month including usage lasting only 10 mn... I just logon once.

      Is there a way to be refund ?

      It seems dozen of SCN members testing this solution are paying hundreds of dollars just because there is no warning when SAP push a SUSE (SAP HANA) image to your free Amazon cloud.

      BR, JM