Quantcast
Channel: SCN : Blog List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 676

Using Spot Instances with SAP HANA on AWS Cloud

$
0
0

===================================================================================================================

Update: Nov 16, 2013: I was notified by the SAP CAL Product Owner that accessing SAP CAL software deployed in AWS using non-CAL software is a violation of SAP CAL Developer License Agreement. I have modified this blog to remove all references to SAP CAL.

 

Nov 10, 2013: Original Blog published.

===================================================================================================================

 

AWS - Amazon Web Services

SAP CAL -- SAP Cloud Appliance Library

 

I wrote a blog about using AWS Spot Instances when I took the openSAP class back in May-July 2013.

Blog: http://scn.sap.com/community/developer-center/hana/blog/2013/06/23/preventing-the-deletion-of-ebs-volumes-during-the-termination-of-aws-spot-instances

 

AWS console has improved since I wrote the above blog -- some of the tasks that could only be performed using CLI (Command Line Interface) could now be performed using the console. Hence the need for this blog.

 

 

Step I: Create the SAP HANA Developer Edition Instance in AWS:

 

You may deploy the SAP HANA Developer Edition to AWS from this blog page: http://scn.sap.com/docs/DOC-28294

 

You will see the Instance below (SAP HANA Server) in AWS.

 

11-10-2013 1-06-14 PM.jpg

 

EBS Volumes:

 

11-10-2013 1-26-27 PM.jpg

 

 

Step II: Create Images (AMI - Amazon Machine Image):

 

 

You may stop the HANA instance before taking the image to reduce your AWS charges.

 

11-10-2013 1-38-22 PM AMI.jpg

11-10-2013 1-47-14 PM Create Image.jpg

 

11-10-2013 1-51-22 PM Close.jpg

 

11-10-2013 2-02-59 PM Base Snapshots.jpg

 

Step III: Terminate the AWS HANA normal instance:

 

This will stop AWS from charging for the instances and associated EBS Volumes.

 

11-10-2013 3-11-14 PM AWS Terminated.jpg

Step IV: Create Spot Instances:

 

11-10-2013 3-22-26 PM Craete Spot.jpg

 

11-10-2013 3-30-57 PM spot size.jpg

 

11-10-2013 3-41-26 PM Spot price.jpg

11-10-2013 3-49-32 PM Review 1.jpg

 

11-10-2013 3-51-38 PM Review 2.jpg

 

You can create a new key pair, if you don't have one already for the step below.

11-10-2013 3-57-30 PM Spot Keypair.jpg

 

11-10-2013 3-59-40 PM Spot Info.jpg

 

11-10-2013 4-03-16 PM spot fulfilled.jpg

11-10-2013 4-10-23 PM spot instance.jpg

 

Display EBS volumes and take a screenshot of the page and save it -- this is needed later in Step VIII.

 

11-10-2013 4-18-30 PM snap ebs.jpg

 

11-10-2013 4-20-01 PM snap ebs 2.jpg

 

Step V: Allocate and Assign Elastic IP for the Spot Instances:

 

11-10-2013 4-28-58 PM EIP 2.jpg

 

11-10-2013 4-31-52 PM EIP Associate.jpg

 

11-10-2013 5-18-36 PM after EIP 2.jpg

 

[Could not fit all my Images into one blog. Continued in this blog: http://scn.sap.com/community/developer-center/hana/blog/2013/11/11/using-aws-spot-instances-with-sap-cal--part-ii]


Viewing all articles
Browse latest Browse all 676

Trending Articles



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