SAP HANA on AWS
SAP HANA Quick Start

Step 4. Launch the Quick Start

Important

With this reference deployment, you can choose SLES, SLES for SAP, RHEL for SAP with HA and US, or RHEL for SAP HANA as the operating system. You will have to first complete the subscription process detailed in step 2 if you choose to use RHEL for SAP or SLES for SAP images. If you decide to choose SLES as the operating system, no subscriptions are required.

  1. Choose one of the following options to launch the AWS CloudFormation template into your AWS account. For help choosing an option, see the discussion of deployment scenarios earlier in this guide.

    Deployment scenario For a new VPC For an existing VPC
    Single-AZ (single or multiple nodes) Launch View template Launch View template
    Multi-AZ (single nodes) Launch View template Launch View template

    The deployment takes approximately 25 minutes for the Single-AZ, single-node configuration; 35-60 minutes for Single-AZ, multi-node deployment; and around 35 minutes for Multi-AZ (HA), single-node deployment.

    Note

    You are responsible for the cost of the AWS services used while running this Quick Start reference deployment. There is no additional cost for using this Quick Start. See the Cost and Licenses section for cost estimates. Prices are subject to change. For full details, see the pricing pages for each AWS service you will be using in this Quick Start or the AWS Simple Monthly Calculator.

  2. Check the region that’s displayed in the upper-right corner of the navigation bar, and change it if necessary. This is where the network infrastructure for SAP HANA will be built. By default, the template is launched in the last region you used in your account.

  3. On the Select Template page, keep the default URL for the AWS CloudFormation template, and then choose Next.

  4. On the Specify Details page, change the stack name if needed. Review the parameters for the template. Provide values for the parameters that require input. For all other parameters, review the default settings and customize them as necessary.

    To see a list of parameters and their descriptions for the two deployment scenarios later on this webpage, follow these links:

    When you finish reviewing and customizing the parameters, choose Next.

  5. On the Options page, you can specify tags (key-value pairs) for resources in your stack and set additional options.

  6. (Optional) On the Options page, under Advanced, enable Termination Protection. We strongly recommend that you set this option if you are creating the stack for production or other critical workloads. When you're done, choose Next.

  7. On the Review page, review and confirm the template settings. Under Capabilities, select the checkbox to acknowledge that the template will create IAM resources.

  8. Choose Create to deploy the stack.

  9. Monitor the status of the stack. When the status is CREATE_COMPLETE, you can continue to the next step to verify your deployment.

    
                        Successful completion of template deployment (Single-AZ
                            scenarios)

    Figure 12: Successful completion of template deployment (Single-AZ scenarios)

    The Quick Start creates an Amazon DynamoDB table to track the status of deployment. You can also view the status of your deployment by looking at the contents of the Amazon DynamoDB table from the AWS Management Console.

Parameters for Single-AZ Deployment

You can choose to deploy the Quick Start into a new or an existing VPC. These two options provide the same parameters except for network infrastructure settings.

New VPC – network infrastructure parameters

Parameter label Parameter name Default Description
CIDR block of Amazon VPC VPCCIDR 10.0.0.0/16 CIDR block of the VPC to create for the SAP HANA deployment.
CIDR block of private subnet PrivSubCIDR 10.0.1.0/24 CIDR block of the private subnet in the new VPC where SAP HANA will be deployed.
CIDR block of public subnet DMZCIDR 10.0.2.0/24 CIDR block of the public subnet in the new VPC where the managed NAT gateway, bastion host, and RDP instance will be deployed.
CIDR block for SSH/RDP access RemoteAccessCIDR 0.0.0.0/0 CIDR block from where you are likely to access your bastion and RDP instance.
Instance type for bastion host BASTIONInstanceType t2.small EC2 instance type for the bastion host.
Availability Zone for subnet creation AvailabilityZone Depends on region selected (e.g., us-east-1a) Availability Zone where you want to create your subnets.

Existing VPC – network infrastructure parameters

Parameter label Parameter name Default Description
VPC ID VPCID Requires input ID of the existing VPC where you want to deploy your SAP HANA resources.
Private subnet HANASubnet Requires input ID of the private subnet in your existing VPC where you want to deploy SAP HANA instances.
Public subnet DMZSubnet Requires input ID of the public subnet in your existing VPC where you want to deploy the optional RDP instance.
CIDR block of private subnet PrivSubCIDR 10.0.1.0/24

CIDR block of the private subnet in the existing VPC where SAP HANA will be deployed.

You can retrieve this value from the previous two parameters (private and public subnet IDs), as shown in Figure 11.

CIDR block of public subnet DMZCIDR 10.0.2.0/24

CIDR block of the public subnet in the existing VPC where the bastion host and NAT gateway exist.

You can retrieve this value from the previous two parameters (private and public subnet IDs), as shown in Figure 11.

CIDR block for RDP access RemoteAccessCIDR 0.0.0.0/0 CIDR block from where you want to access the RDP instance.

                        Finding the values for the CIDR block parameters

Figure 11: Finding the values for the CIDR block parameters

Shared parameters for Single-AZ deployments

The following parameters apply to both new VPC and existing VPC deployments with Single-AZ configuration.

Server and storage configuration
Parameter label Parameter name Default Description
Operating system and version for SAP HANA MyOS SuSELinux12SP3ForSAP Operating system and version to be used for SAP HANA master/worker nodes (see Operating System for Deployment section).
SUSE Registration Code SLESBYOSRegCode Registration code for the SLES for SAP BYOS image (required only if you’re using the BYOS image).
Instance type for SAP HANA MyInstanceType r4.2xlarge EC2 instance type for SAP HANA nodes (see AWS Instance Type for SAP HANA section).
Number of SAP HANA hosts HostCount 1 Total number of nodes you want to deploy in the SAP HANA cluster.
Dedicated Host ID DedicatedHostId

The IDs of the dedicated hosts on which you want to deploy your SAP HANA instances. Use comma-separated values to specify multiple host IDs for Multi-AZ or scale-out deployments. Make sure that your host reservations are in your target Availability Zone.

This parameter is required for Amazon EC2 High Memory instance types (u-6tb1.metal, u-9tb1.metal and u-12tb1.metal).

Automatic recovery AutoRecovery Yes

Set to No to disable the automatic recovery feature on your SAP HANA nodes.

This parameter isn’t supported for deployments on Dedicated Hosts.

Key pair KeyName Requires input An existing public/private key pair, which enables you to connect securely to your instance after it launches. When you created an AWS account, this is the key pair you created in your preferred region. This key pair can be used with all Amazon EC2 instances launched by the Quick Start.
Storage volume type for SAP HANA data VolumeTypeHanaData gp2 Amazon EBS storage type to be used for SAP HANA data volumes (see Storage Configuration for SAP HANA section).
Storage volume type for SAP HANA log VolumeTypeHanaLog gp2 Amazon EBS storage type to be used for SAP HANA dlog volumes (see Storage Configuration for SAP HANA section).
Encryption Encryption No Set to Yes to enable encryption for all volumes (except root) created for SAP HANA nodes.
SAP HANA database configuration
Parameter label Parameter name Default Description
Domain name DomainName local Name to use for fully qualified domain names.
SAP HANA master host name HANAMasterHostname imdbmaster Host name to use for the SAP HANA master node (DNS short name).
SAP HANA worker host name HANAWorkerHostname imdbworker Host name to use for the SAP HANA worker nodes (DNS short name).

Note: Depending on the number of nodes, each worker node will have a numeric value appended to it automatically (for example, imdbworker01, imdbworker02, etc.).

SAP HANA system ID SID HDB System ID to be used for HANA installation and setup.
SAP HANA instance number SAPInstanceNum 00 Instance number to be used for SAP HANA installation and setup and to open up specific ports for security groups.
SAP HANA password HANAMasterPass Requires input Password to be used for SAP HANA installation.
SAP HANA Server Timezone SAPTZ UC Time zone settings to use on the SAP HANA server.
Amazon S3 URL for SAP HANA software HANAInstallMedia Requires input Full path to Amazon S3 location where you’ve placed the SAP HANA software in step 3.
Install SAP HANA software? InstallHANA Yes Set to No if you don’t want the Quick Start to install SAP HANA during deployment. This (installation) parameter works in conjunction with the previous (URL) parameter. If you leave the URL parameter blank, the Quick Start won’t install the software even if the installation parameter is set to Yes. If you provide a URL but set the installation parameter to No, the Quick Start will stage the SAP HANA software but won’t install it.
Optional configuration
Parameter label Parameter name Default Description
Placement group name PlacementGroupName Name of existing placement group where you want to deploy your SAP HANA cluster. This is required for SAP HANA scale-out deployments only.
Windows RDP instance InstallRDPInstance No Set to Yes to enable the deployment of an EC2 instance with Windows Server to host SAP HANA Studio.
Instance type for RDP host RDPInstanceType c4.large EC2 instance type for Windows RDP instance.
CIDR block for RDP access RemoteAccessCIDR 0.0.0.0/0 CIDR block from where you want to access the RDP instance.
CIDR block of SAP Application Server ApplicationCIDR 0.0.0.0/0 CIDR block of the subnet where SAP application servers are deployed.
URL for Proxy Server Proxy

Address of proxy server for HTTP/HTTPS access if you route your internet traffic via a proxy server (e.g., http://xyz.abc.com:8080 or http://10.x.x.x:8080).

This parameter is used only with RHEL for SAP operating system deployments.

AWS CloudTrail & AWS Config EnableLogging No Set to Yes to enable AWS CloudTrail trails and AWS Config to help with compliance, audit, and change management requirements.
Amazon S3 bucket name CloudTrailS3Bucket Requires input Name of the S3 bucket where you want to store AWS CloudTrail trails and AWS Config logs, from step 1. This parameter is ignored if the EnableLogging parameter is set to No.
Advanced configuration
Parameter label Parameter name Default Description
Private bucket PrivateBucket Name of the main build bucket where installation scripts and templates are located. Don’t use this parameter unless directed by AWS Support.
Custom Storage Configuration File location CustomStorageConfig Location of the JSON file for customized storage configuration. Don’t use this parameter unless directed by AWS Support.

Parameters for Multi-AZ Deployment

You can choose to deploy the Quick Start into a new or an existing VPC. These two options provide the same parameters except for network infrastructure settings.

New VPC – network infrastructure parameters

Parameter label Parameter name Default Description
VPC CIDR VPCCIDR 10.0.0.0/16 CIDR block of the VPC to create for the SAP HANA deployment.
Availability Zones for subnet creation AvailabilityZones Depends on region selected (e.g., us-east-1a, us-east-1b) Availability Zones where you want to create your subnets. This field displays the available zones within your selected region. You must select two Availability Zones from this list. If you choose more than two, the Quick Start uses the first two zones from your list.
CIDR block for private subnet 1 PrivateSubnet1CIDR 10.0.1.0/24 CIDR block of the private subnet to create in the first Availability Zone. This is where the primary SAP HANA server will be deployed.
CIDR block for private subnet 2 PrivateSubnet2CIDR 10.0.2.0/24 CIDR block of the private subnet to create in the second Availability Zone. This is where the secondary SAP HANA server will be deployed.
CIDR block for public subnet 1 PublicSubnet1CIDR 10.0.3.0/24 CIDR block of the public subnet to create in the first Availability Zone. This is where the managed NAT gateway, bastion host, and RDP instance will be deployed.
CIDR block for public subnet 2 PublicSubnet2CIDR 10.0.4.0/24 CIDR block of the public subnet to create in the second Availability Zone. No resource will be deployed in this subnet.

Existing VPC – network infrastructure parameters

Parameter label Parameter name Default Description
Choose VPC ID VPCID Requires input ID of the existing VPC where you want to deploy your SAP HANA resources.
Private subnet ID for HANA Primary Instance PrivateSubnet1ID Requires input ID of the private subnet in the first Availability Zone in your existing VPC. This is where the primary SAP HANA instance will be deployed.
Private subnet ID for HANA Secondary Instance PrivateSubnet2ID Requires input ID of the private subnet in the second Availability Zone in your existing VPC. This is where the secondary SAP HANA instance will be deployed.
Public subnet ID for RDP instance PublicSubnet1ID 0.0.0.0/0 CIDR block of the public subnet in your existing VPC where the bastion host and NAT gateway exist.
CIDR block for private subnet 1 PrivateSubnet1CIDR Requires input

CIDR block of the private subnet in the first Availability Zone of your existing VPC. This is where the primary SAP HANA server will be deployed.

You can retrieve this value from the private and public subnet IDs, as shown previously in Figure 11.

CIDR block for private subnet 2 PrivateSubnet2CIDR Requires input

CIDR block of the private subnet in the second Availability Zone of your existing VPC. This is where the secondary SAP HANA server will be deployed.

You can retrieve this value from the private and public subnet IDs, as shown previously in Figure 11.

CIDR block for public subnet PublicSubnet1CIDR Requires input

CIDR block of the public subnet in your existing VPC where the managed NAT gateway, bastion host, and RDP instance exist.

You can retrieve this value from the private and public subnet IDs, as shown previously in Figure 11.

Shared parameters for Multi-AZ deployments

The following parameters apply to both new VPC and existing VPC deployments with a Multi-AZ configuration.

Server and storage configuration
Parameter label Parameter name Default Description
Operating system for SAP HANA MyOS SuSELinux12SP3ForSAP Operating system and version to be used for SAP HANA master/worker nodes (see Operating System for Deployment section).
SUSE BYOS Registration Code SLESBYOSRegCode Registration code for the SLES for SAP BYOS image (required only if you’re using the BYOS image).
Instance type for SAP HANA MyInstanceType r4.2xlarge EC2 instance type for SAP HANA nodes (see AWS Instance Type for SAP HANA section).
Dedicated Host ID DedicatedHostId

The IDs of the dedicated hosts on which you want to deploy your SAP HANA instances. Use comma-separated values to specify multiple host IDs for Multi-AZ or scale-out deployments. Make sure that your host reservations are in your target Availability Zone.

This parameter is required for Amazon EC2 High Memory instance types (u-6tb1.metal, u-9tb1.metal and u-12tb1.metal).

Key pair KeyName Requires input An existing public/private key pair, which enables you to connect securely to your instance after it launches. When you created an AWS account, this is the key pair you created in your preferred region. This key pair can be used with all Amazon EC2 instances launched by the Quick Start.
Storage volume type for SAP HANA data VolumeTypeHanaData gp2 Amazon EBS storage type to be used for SAP HANA data volumes (see Storage Configuration for SAP HANA section).
Storage volume type for SAP HANA log VolumeTypeHanaLog gp2 Amazon EBS storage type to be used for SAP HANA dlog volumes (see Storage Configuration for SAP HANA section).
Turn on encryption? Encryption No Set to Yes to enable encryption for all volumes (except root) created for SAP HANA nodes.
SAP HANA database configuration
Parameter label Parameter name Default Description
Domain name DomainName local Name to use for fully qualified domain names.
SAP HANA primary host name HANAHostnamePrimary prihana Host name to use for the SAP HANA primary instance (DNS short name).
SAP HANA secondary host name HANAHostnameSecondary sechana Host name to use for the SAP HANA secondary instance (DNS short name).
SAP HANA system ID SID HDB System ID to be used for HANA installation and setup.
SAP HANA instance number SAPInstanceNum 00 Instance number to be used for SAP HANA installation and setup and to open up specific ports for security groups.
SAP HANA password HANAMasterPass Requires input Password to be used for SAP HANA installation. This password must follow SAP HANA password restrictions and will be used for both SAP HANA instances.
SAP HANA Server Timezone SAPTZ UC Time zone settings to use on the SAP HANA server.
Amazon S3 URL for SAP HANA software HANAInstallMedia Requires input Full path to Amazon S3 location where you’ve placed the SAP HANA software in step 3.
Install SAP HANA software? InstallHANA Yes Set to No if you don’t want the Quick Start to install SAP HANA during deployment. This (installation) parameter works in conjunction with the previous (URL) parameter. If you leave the URL parameter blank, the Quick Start won’t install the software even if the installation parameter is set to Yes. If you provide a URL but set the installation parameter to No, the Quick Start will stage the SAP HANA software but won’t install it.
SAP HANA high availability configuration
Parameter label Parameter name Default Description
HANA primary site name PrimaryHANASite HAP SAP HANA primary site name for SAP HANA System Replication.
HANA secondary site name SecondaryHANASite HAS SAP HANA secondary site name for SAP HANA System Replication.
Overlay IP address VirtualIPAddress 192.168.1.99 Overlay IP address to be assigned to the active node. This IP address should be outside the VPC CIDR and must not be used by any other HA cluster.
Pacemaker Tag Name PaceMakerTag PaceTag Tag to be assigned to each EC2 instance. This tag is used by the Pacemaker component of SLES HAE. It must be unique for your account and should not be used with any other EC2 instance (cluster or single node).
Optional configuration
Parameter label Parameter name Default Description
Windows RDP instance InstallRDPInstance No Set to Yes to enable the deployment of an EC2 instance with Windows Server to host SAP HANA Studio.
Instance type for RDP host RDPInstanceType c4.large EC2 instance type for Windows RDP instance.
CIDR block for RDP access RemoteAccessCIDR 0.0.0.0/0 CIDR block from where you want to access the RDP instance.
AWS CloudTrail & AWS Config EnableLogging No Set to Yes to enable AWS CloudTrail trails and AWS Config to help with compliance, audit, and change management requirements.
Amazon S3 bucket name for AWS CloudTrail and AWS Config CloudTrailS3Bucket Requires input Name of the S3 bucket where you want to store AWS CloudTrail trails and AWS Config logs, from step 1. This parameter is ignored if the EnableLogging parameter is set to No.
CIDR for application instances ApplicationCIDR 0.0.0.0/0 CIDR block of the subnet where SAP application servers are deployed.
Proxy server address Proxy

Address of proxy server for HTTP/HTTPS access if you route your internet traffic via a proxy server (e.g., http://xyz.abc.com:8080 or http://10.x.x.x:8080).

This parameter is used only with RHEL for SAP operating system deployments.

Advanced configuration
Parameter label Parameter name Default Description
S3 bucket containing SAP HANA assets PrivateBucket aws-quickstart/quickstart-sap-hana Name of the main build bucket where installation scripts and templates are located. Don’t use this parameter unless directed by AWS Support.
Custom Storage Configuration File location CustomStorageConfig aws-quickstart/quickstart-sap-hana/scripts Location of the JSON file for customized storage configuration. Don’t use this parameter unless directed by AWS Support.
S3 bucket containing HANA HA Assets QSS3BucketName aws-quickstart Name of the main build bucket where the SAP HANA HA Lambda functions and templates are located. Don’t change this parameter unless directed by AWS Support.
HANA HA bucket key prefix QSS3KeyPrefix quickstart-sap-hana-ha Key prefix to use for the HANA HA assets bucket. Don’t change this parameter unless directed by AWS Support.