# AWS-SAP-NETWEAVER ``` Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: MIT-0 ``` This repo contains the ansible code for installing SAP Netweaver on AWS instances ## How to run: ### 1 - Requirements 1. Follow this link to install Ansible on your local computer ### 2 - Setup - Download dependencies: 1. Run the command ansible-galaxy install -f -r roles/requirements.yml ### 3 - Running the playbook: 1. Go to hosts.yml and fill in with your instance's IP (from previous step) and SSH key path 2. Use the example on how_to_run.sh to check if you want to change any variable, and run the playbook ## Customizable variables: The following variables can be customized for your Netweaver installation. Change them on your local how_to_run.sh Variable | Description | Default Value --- | --- | --- EC2_HOSTNAME | The hostname to be applied on the instance | demo-ascs PRIVATE_DNS_ZONE | Private DNS Zone to be applied on the instance | sapgspteam.net MASTER_PASSWORD | The master password for Hana installation | NO DEFAULT VALUE EFS_ID | The AWS EFS ID to be attached to the instance | fs-xxxxxxxx S3_BUCKET_MEDIA_FILES | S3 bucket to download ASCS installer from | s3://sapgspdemo-sap-binaries-lw/S4H1909/ ENABLE_HA | Enable High Availability for this installation or not | true HANA_PRIVATE_IP | Hana's database private IP | 172.0.0.0 HANA_HOSTNAME | Hana's database hostname | demo-hana PAS_PRIVATE_IP | PAS private IP to be added to /etc/hosts | 172.0.0.0 PAS_HOSTNAME | PAS hostname to be added to /etc/hosts | demo-pas ASCS_SID | The SID for the ASCS Installation | AD0 ASCS_INSTANCE_NUMBER | The SAP instance number for this ASCS instance | 00 ASCS_PRODUCT_ID | The Product ID to be used for ASCS installation | NW_ABAP_ASCS:S4HANA1909.CORE.HDB.ABAPHA ASCS_PRIVATE_IP | Private IP of ASCS instance | 172.0.0.1 ASCS_HOSTNAME | Hostname of ASCS instance | demo-ascs ERS_PRODUCT_ID | The Product ID to be used for ERS installation | NW_ERS:S4HANA1909.CORE.HDB.ABAPHA ERS_SID | The SID for ERS Installation | AD0 ERS_INSTANCE_NUMBER | The SAP instance number for this ERS instance | 10 ERS_PRIVATE_IP | Private IP of ERS instance | 172.0.0.1 ERS_HOSTNAME | ERS hostname to be added to /etc/hosts | demo-ers HA_PRIMARY_PRIVATE_IP | Private IP of the primary instance (ASCS server) | 172.0.0.1 HA_NODE_PRIVATE_IPS | Private IPs of other HA instances (ERS server) | 172.0.0.1, PRODUCT_TO_INSTALL | The product to guide installation, whether ASCS or ERS | ASCS IMPORTANT! This playbook reboots the destined instance, and therefore cannot be run on localhost ## FAQ Q: How long does the "Download ASCS from S3 bucket" step take?
A: Using "aws sync" for downloading the folder form an S3 bucket using only Amazon network this should take up to 15 minutes to download the whole 63Gb Q: How long does the "Install ASCS" step take?
A:For a r5.4xlarge instance size, 45 minutes, typically