This document provides an overview of best practices for deploying business critical workloads on AWS. It discusses key benefits of running SAP, Oracle, and Microsoft applications on AWS, including high availability, high performance, security and agility. The document dives deep into architectures for fault-tolerant SAP deployments, including multi-AZ database replication, message server deployment, and backup strategies using Oracle Secure Backup. It also covers monitoring of applications using CloudWatch and pushing logs to CloudWatch Logs. Live demos are shown for EC2 auto recovery, OSB backups to S3, and alert log monitoring with CloudWatch.
3. What You Will Learn
• Walkthrough the best practice for deploying business
critical applications
• Dive deep into fault tolerant and high performance
architectures
• Learn about AWS tools that will make you successful in
deployment and management
• See live demos you can put into practice
4. Tainui Group – Helaman Tangiora
• Tainui Group deploying SAP ECC production on AWS
• Share insights into their business drivers that led to
choosing AWS
• Highlight key benefits of running business applications in
the AWS cloud
6. What is a Business Critical Application
Any applications that is core to running your business
• Enterprise Resource Planning
• Customer Relationship Management
• Data Warehouse & Reporting
• Human Capital Management
• Procurement
• Warehousing & Logistics
• Many more
7. Business Applications on AWS
Vendor Applications
SAP Business Suite, Netweaver, BusinessObjects, B1, HANA
Oracle eBusiness, PeopleSoft, Siebel, JDE, Database 11g/12c
Microsoft SharePoint, Exchange, Dynamics, SQL Server
IBM Websphere, DataStage
Infor LN, M3, Syteline, Lawson
AWS customers run many business applications
Companies of all sizes from SMB to large enterprises run business
applications
10. SAP on AWS – Key Benefits
Fully tested & certified by SAP Support
Leverage multi-AZ for production workloads
Wide choice of EC2 & EBS volume options
S3 provides 99.999999999% durability
Enterprise-level security
Pricing, capacity management and operations
Certified Solution
High Availability
High Performance
Durability
Security
Agility & Flexibility
11. • SAP Business Suite
• SAP Business All-in-One (A1)
• SAP Netweaver
• SAP HANA Platform
• SAP BusinessObjects BI
• SAP Mobile Platform
• SAP Business One
• SAP Rapid Deployment Solutions
SAP Solutions Certified on AWS
SAP Note 1656099 has latest information regarding SAP products and
platform supported on AWS
Solutions
12. SAP Supported Platforms on AWS
Operating System
• SUSE 11
• Red Hat 6
• Window Servers 2008
Database
• SAP HANA
• Sybase ASE 15.7
• MS SQL Server 2008
• IBM DB2 9.7
• SAP MaxDB 7.8
Version numbers for OS & DB are minimum levels
All higher versions are fully supported
13. Customer Network
Public Subnet
Users
On-Premises
Systems
SAP Router
Solution
Manager
Private Subnet
Internet
Availability Zone A Availability Zone B
VPC
VPN or
Direct Connect
Amazon
CloudWatch Amazon S3
Backups
DB ReplicationSAP
DEV
SAP
QAS
SAP
DR
SAP
PRD
BackupsMonitor
SAP OSS
SAP High Level Architecture on AWS
Private Subnet
NAT
16. • Use SAP QuickSizer
• Choose an EC2 instance type based
on your SAPS and memory
• Choose an EBS volume type based
on your IOPS and storage size
SAP System Sizing
17. • AWS perform SAP SD Benchmarks on EC2 instances &
publish SAPS rating (SAP Note 1656099)
• SAPS ratings are available for C3, C4 and R3 instance
families
• General Purpose and Provisioned IOPS EBS volumes
have predictable and consistent IO performance
Choosing Right EC2 & EBS Options
18. Compute Optimized (Application)
Name vCPU
Memory
(GiB)
I/O Perf
SAPS
(2-tier)
c4.8xlarge 36 60 10 Gigabit 37,950
c4.4xlarge 16 30 High 19,030
c4.2xlarge 8 15 High 9,515
c4.xlarge 4 7.5 High 4,758
c4.large 2 3.75 Moderate 2,379
c3.8xlarge 32 60 10 Gigabit 31,830
c3.4xlarge 16 30 High 15,915
c3.2xlarge 8 15 High 7,958
c3.xlarge 4 7.5 High 3,979
c3.large 2 3.75 Moderate 1,989
Memory Optimized (Database)
Name vCPU
Memory
(GiB)
I/O Perf
SAPS
(2-tier)
r3.8xlarge 32 244 10 Gigabit 31,920
r3.4xlarge 16 122 High 15,960
r3.2xlarge 8 61 High 7,980
r3.xlarge 4 30.5 Moderate 3,990
r3.large 2 15 Moderate 1,995
✓ Certified for 2-Tier and 3-Tier
configurations
SAPS Rating EC2 Instances
19. 0
40
80
120
160
Q1Y1 Q3Y1 Q4Y1 Q2Y2 Q4Y2 Q2Y3 Q4Y3 Q2Y4 Q4Y4 Q2Y5 Q4Y5 Q2Y6 Q4Y6
Demand
Traditional
AWS
Traditional Planning Horizon
Planning
Horizon on
AWS
ComputeRequirements
Capacity Planning Made Easy
20. Choosing the Right EBS Volume
EBS Volume Options
• Provisioned IOPS (PIOPS)
• General Purpose (GP2)
• Magnetic
Larger & Faster Volumes
PIOPS
• Up to 16TB, 20,000 IOPS &
320MBps
GP2
• Up to 16TB, 10,000 IOPS &
160MBps
Enable EBS-Optimised option on EC2 for dedicated capacity to
EBS I/O & minimise network contention
22. EBS Volumes
High Performance Databases
VPC
Relational
Database
Private Subnet
Availability Zone A
PIOPS
Boot Redo Data
GP2
23. General Purpose Provisioned IOPS Magnetic
Use Cases
S to M Databases
Most SAP Systems
Large Database
I/O intensive
Cold Storage
Storage Media SSD-backed SSD-backed Magnetic-backed
Volume Size Up to 16TB Up to 16TB 1GB- 1TB
Max IOPS 10,000 IOPS 20,000 IOPS ~100 IOPS
Read/write
Peak Throughput
160 MB/s 320 MB/s ~50-90 MB/s
Latency (Random Read) 1-2ms 1-2 ms 20-40 ms
Price (Sydney Region) $0.12/GB-Month
$.138/GB-Month
$0.072/provisioned
$0.08/GB-Month
$0.08/ 1M I/O
Use Cases for EBS Options
Amazon EBS Deep Dive
youtube.com/watch?v=xtuRD2AZt3M
24. Cost Saving Tip on EBS Volume
• Over-provision General Purpose over Provisioned IOPS
volumes to meet high I/O requirements but lower cost for
same performance
• Example
– EBS IOPS Requirement: 9,000 IOPS & 1TB
– Cost of PIOP volume = $786/month (with 1TB volume)
– Cost of GP2 volume = $360/month (with 3TB volume)
• Compare PIOP vs GP2 costs before deployment
25. High Availability – Protect SPOF
SAP systems have well known SPOF, namely;
1. Database: Multi-AZ database deployment with replication
2. Message Server: Multi-AZ deployment with enqueue
replication server
3. Kernel: NFS, DFS, Amazon EFS (just announced)
26. Customer Network
Users
On-Premises
Systems
Private Subnet
Availability Zone A Availability Zone B
VPC
VPN or
Direct Connect
Private Subnet
App1
DB
AppN
ASCS
App1
DB
AppN
ASCS
(ENQ)
Session State
DB Replication
SAP Production HA Architecture
EBS SSD EBS SSD
SAP Production (Primary)
28. Protect Against System Failures
You can protect EC2 instances against system failures;
• Scale out EC2 instances across AZs
• Enable EC2 Auto Recovery on the EC2 instances
29. Demo 1 – EC2 Auto Recovery Setup
Scenario
• Can be enabled on any EC2 instance from supported
instance families (C3, C4, M3, R3, and T2)
• Setup alarm in CloudWatch for metric named
‘StatusCheckFailed_System’
Outcome
• If instance health check fails for n consecutive periods,
EC2 will auto recover onto healthy hardware
30. Backup and Restore
SAP on AWS Backup and Recovery Guide provides
comprehensive information
Backup options include;
• Use existing backup software and push into S3
• Backup to EBS and create snapshots
• Push backup to S3 with AWS CLI and AWS SDKs
• Oracle Secure Backup (OSB) Cloud Module
aws.amazon.com/backup-recovery/
31. Simplify Backups with OSB Cloud Module
• Oracle Secure Backup (OSB) allows customers to backup Oracle
Databases directly to Amazon S3 using RMAN
• Data is compressed and encrypted in flight using Oracle Advanced
Security
• S3 provides high durability & encryption at rest (CSE/SSE)
• OSB is licensed by number of concurrent backup channels
32. Demo 2 – OSB Cloud Module
Scenario
• SAP NW 7.4 running on RHEL & Oracle
• Configure OSB Cloud with S3 as backup destination
• Run ‘BACKUP DATABASE PLUS ARCHIVELOG’ in RMAN
Outcome
• Backups pushed to S3 durable storage and backups managed
by RMAN
• For SAP, you can also call RMAN from brbackup
33. Demo 2 – OSB Cloud Module
How to install OSB Cloud Module
1. Download install media from OTN
2. Run OSB installer
java -jar osbws_install.jar -AWSID <ACCESS KEY> -AWSKey
<SECRET KEY> -otnUser name@mail.com -walletDir
$ORACLE_HOME/dbs/osbws_wallet -libDir $ORACLE_HOME/lib/
3. Configure RMAN for S3 backup device type
RMAN> configure channel device type sbt
parms='SBT_LIBRARY=libosbws12.so,
SBT_PARMS=(OSB_WS_PFILE=$ORACLE_HOME/dbs/
osbwst1.ora)';
34. Proactively Monitor Your Applications
• Continue to use Solution Manager Diagnostics for SAP
application monitoring
• Use existing performance monitoring tools – Nagios,
Amazon CloudWatch custom metrics
• Use CloudWatch Logs to capture any log files and alert
on keywords in real time
• Incorporate log analytics – Sumologic
35. Amazon CloudWatch Logs
• Use Amazon CloudWatch Logs to push and store your
application log files
• Push any log files from EC2 in real time
• Setup alarms and send email notifications
• Retrieve CW Logs via Console, CLI & SDK
36. Demo 3 – CW Logs with Oracle Alert Logs
Scenario
• SAP NW 7.4 on RHEL & Oracle
• Push Oracle alert_NW4.log into CloudWatch Logs
• Create metric for ‘ORA-00600’ error to alert
• Simulate ORA-00600 message into alert_NW4.log and trigger
alarm
Outcome
• CloudWatch alarm is triggered and email notification is sent
37. Demo 3 – CW Logs with Oracle Alert Logs
How to setup CloudWatch Logs to push logs
➢ Assign IAM Role to allow push to CloudWatch
➢ wget https://s3.amazonaws.com/aws-cloudwatch/downloads/latest/
awslogs-agent-setup.py
➢ sudo python ./awslogs-agent-setup.py –region ap-southeast-2
http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CWL_GettingStarted.html
38. Bringing Agility to SAP Deployments
SDKs & LibrariesAWS CLIAWS
Management
Console
3rd Party
Tools
JAVA
.NET
iOS
PHP
Ruby
Android
Python
Node.js
Provisioning and management of AWS using the API tools is simple
39. • Define, deploy and manage AWS resources using
JSON templates
• Consistent & repeatable outcome
AWS CloudFormation
Use Cases for CloudFormation
• Deploy SOE image for new installations in minutes
• Bootstrap instance to auto install pre-requisite packages
• Clone production for isolated error analysis
• Setup disaster recovery environment across Regions
40. Recap
• Use vendor guidelines for sizing
• Choose the right EC2 & EBS options to meet
performance
• Protect SPOF, utilise multi-AZs
• Enable EC2 Auto Recovery for system failures
• Proactively monitor – CloudWatch & CW Logs
• Incorporate CloudFormation for deployment &
management
41. AWS Resources for Business Applications
Find more information
aws.amazon.com/business-applications
aws.amazon.com/sap
aws.amazon.com/oracle
aws.amazon.com/windows
aws.amazon.com/ibm
Also check out
aws.amazon.com/whitepapers
aws.amazon.com/architecture
42.
43. KIA TUPU, KIA HUA, KIA PUAAWAI
To grow, prosper, and sustain
54. ! New ERP
! Websites and social (retail)
! Collaboration and productivity
! Mobility and Business Intelligence
! Network and infrastructure improvements
! Storage and backups and BCP
! CRM (Tribal Register)
57. ! Flexibility/agility to grow with us
! Respond to the changing environment
! Make fast agile decisions
! Business Intelligence - be more data driven
! Maximise investment (OPEX preference)
! Mitigation of risk and improve availability