Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
franciscoalmeida
Explorer
0 Kudos
BI in the cloud: minimum size AWS instances to get you started

When considering building Business Objects BI prototype or development systems in AWS instances, a frequently asked question is about the minimum or cheapest virtual machine instance (Amazon calls them EC2 instances) size that can be used in these scenarios.

The quick, easy and expensive answer is the r3.2xlarge instance. But there are other options, as exposed below.

The deployment of BI systems on AWS instances is only partially covered by the Supported Platforms (“PAM”) document. The rest of the story is determined by SAP Note 1656099, which requires the following, as minimum requirements:

The following resource requirements should be fulfilled:

    For BI version 4.0, EC2 Instance Types with a SAP performance rating of 7,400 SAPS or higher should be used.

    The SAP BusinessObjects BI 4 Sizing Estimator requirements should be met.

    The SAP BusinessObjects BI 4 Sizing Companion Guide requirements should be met.


The complex problem of sizing EC2 instances in larger deployments, which requires one to take into account virtualization, the peculiarities of AWS instances, along with SAP’s sizing estimator application and its BI 4 Sizing Companion Guide, are tackled in another article. Here, the objective of the discussion is to determine the minimum size for smaller deployments, where the generic 7,400 SAPS is more likely to be a problem than the other factors.

This minimum requirement of 7,400 SAPS has no mathematical conversion to the metrics used by Amazon and EC2 instances (the ECUs). SAP Note 1656099, however, let us infer an average ratio of 295 SAPs to ECU. So anything below 25 ECUs is not recommended, and we believe it is a valid assumption that any instance on or above that criteria should have a comparable or at least acceptable performance. Also, 16 GB RAM is another minimum requirement clearly documented in the PAM document.

Now we can take these factors into account and visit the Amazon pricing tables to mash up a comparison table. We chose to use the Sidney, Sao Paulo and US California AWS regions to compare whether or not location makes any difference. The “Meets Par” field conditions are satisfied when the ECU is equal to or greater than 24 and RAM, 16. The green instances are the ones that met both requirements. Finally, the “SAP validated” field denotes whether or not SAP states explicit support for the instance and associates SAPS values with them (in SAP Note 1656099):

EC2 instancevCPUECU

RAM

GiB

StorageOptimizationSidneySao Paulo

US

California

Meets

Par

SAP

Validated

m3.medium133.751 x 4 SSDGeneric$0.10$0.10$0.08NN
m3.large26.57.51 x 32 SSDGeneric$0.20$0.19$0.15NN
m3.xlarge413152 x 40 SSDGeneric$0.39$0.38$0.31NN
m3.2xlarge826302 x 80 SSDGeneric$0.78$0.76$0.62YN
c4.large283.75EBS OnlyCPU$0.15NA$0.14NN
c4.xlarge4167.5EBS OnlyCPU$0.30NA$0.28NN
c4.2xlarge83115EBS OnlyCPU$0.61NA$0.55NN
c4.4xlarge166230EBS OnlyCPU$1.22NA$1.10YN
c4.8xlarge3613260EBS OnlyCPU$2.43NA$2.21YN
c3.large273.752 x 16 SSDCPU$0.13$0.16$0.12NY
c3.xlarge4147.52 x 40 SSDCPU$0.27$0.33$0.24NY
c3.2xlarge828152 x 80 SSDCPU$0.53$0.65$0.48NY
c3.4xlarge1655302 x 160 SSDCPU$1.06$1.30$0.96YY
c3.8xlarge32108602 x 320 SSDCPU$2.12$2.60$1.91YY
g2.2xlarge8261560 SSDGPU$0.90NA$0.70NN
r3.large26.5151 x 32 SSDMemory$0.21NA$0.20NY
r3.xlarge41330.51 x 80 SSDMemory$0.42NA$0.39NY
r3.2xlarge826611 x 160 SSDMemory$0.84NA$0.78YY
r3.4xlarge16521221 x 320 SSDMemory$1.68NA$1.56YY
r3.8xlarge321042442 x 320 SSDMemory$3.36NA$3.12YY
i2.xlarge41430.51 x 800 SSDStorage$1.02NA$0.94NN
i2.2xlarge827612 x 800 SSDStorage$2.04NA$1.88YN
i2.4xlarge16531224 x 800 SSDStorage$4.07NA$3.75YN
i2.8xlarge321042448 x 800 SSDStorage$8.14NA$7.50YN
hs1.8xlarge163511724 x 2048Storage$5.57NANAYN

Table 1 (prices based on Linux, on-demand instances)

As the table suggests, there are two clear entry-level instances:  m3.2xlarge and r3.2xlarge.

It is interesting to see how the determination of a suitable EC2 instance may vary greatly depending on which region one is. In the most dramatic case, Sao Paulo simply does not have the option of the r3.2xlarge.

The Sidney region has both instances available and m3.2xlarge is cheaper, but the difference is so small ($0.056 per hour or $490 per year) that one would probably prefer to go with the r3.2xlarge and its additional 31 GiB of RAM, and the fact that SAP supports it explicitly.

The conclusion might be different for an Organisation in the US, as the difference between the instances amounts to $0.164 per hour or $1,436 per year, which could tip the scales towards the cheaper option.

The entry-level EC2 instance is then, a function of the location you are in, combined with your choice between performance (and SAP’s validation) versus costs.

If an Organisation still finds this too expensive for a non-production system, for example, they could consider throwing in some capital expense funds upfront and get a reserved instance (as opposed to an on-demand one) with a reduced per-hour rate.

Another alternative is to organise its servers to turn off out of business hours, so that an r3.2xlarge instance would cost only $1,747 per year (8hx5daysx52weeks), as opposed to $7,338 (24hx7daysx52 weeks) per year if it was running continuously (Sidney prices, Linux OS).

Yet another path that was taken by smaller Organisations was to leverage the flexibility inherent to AWS and start with an EC2 that does not quite match the minimum requirements, and get their Developers to check whether or not they can live with that performance with minimum development disruption, and only increase to the minimum size (26 ECUs, 16 RAM) when they cannot. This approach requires some configuration intervention on the BI side, since one would need to reconfigure the java heap sizes for services on the host, so they should either have a long-term contract with a Consultant or in-house expertise.

There are Organisations running development BI 4.1 on an m2.2xlarge instance (previous generation), which has only 13 ECUs. That instance is very similar to the current generation’s r3.xlarge, so that anecdotal evidence suggests one should get away with that instance for development, at the annual cost of only $873 (Sidney prices, Linux OS).

This cost-based aggressive strategy goes very well with AWS, but it is important to highlight that this configuration is below the minimum recommended pre-requisites by any measure or scale, so one should not be surprised if SAP declines to support these environments – especially regarding performance-related issues.

It can now be summarized that the minimum size of AWS instance one can choose to deploy BI 4.x varies according to the location the Organisation is based in, budget, the importance of performance, the availability (and costs) of BI expertise, and the risk exposure threshold for experimenting with unsupported options. The quick and easy answer (r3.2xlarge instance) is so because it ticks all boxes: metrics, PAM, SAP Note 1656099 plus that extra RAM you can use for your adaptive processing servers.

Labels in this area