# 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 SAP_SID | The SID for the Hana Installation | AD0 EFS_ID | The AWS EFS ID to be attached to the instance | fs-xxxxxxxx PAS_INSTANCE_NUMBER | The SAP instance number for this instance | 00 DATABASE_SID | The SID for Hana Database to connect to | AD0 DATABASE_PRIVATE_IP | Hana's database private IP | 172.0.0.0 DATABASE_HOSTNAME | Hana's database hostname | demo-hana DATABASE_INSTANCE_NUMBER | The SAP instance number for given Hana database | 00 ASCS_INSTANCE_NUMBER | The SAP instance number for the ASCS server | 00 ASCS_PRIVATE_IP | Private IP for ASCS to connect to | 172.0.0.0 ASCS_HOSTNAME | ASCS hostname | demo-ascs S3_BUCKET_MEDIA_FILES | S3 bucket to download ASCS installer from | s3://sapgspdemo-sap-binaries-lw/S4H1909/ 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