sap-netweaver-on-hana
aws-samples/sap-netweaver-on-hana/aws
Terraform modules for deploying highly configurable SAP products on AWS.
AWS SAP NetWeaver on HANA Module A Terraform module that will create the the following AWS Resources to build and deploy a SAP NetWeaver on HANA Solution. EFS file system for /sapmnt HANA host(s) ASCS host(s) Application Server host(s) For each of the SAP Components the following resources can be created: EC2 instances EBS Volumes Security Groups DNS Record Tags IAM Roles EC2 Instance AutoRecovery EC2 User Data EBS Volumes Encryption The following modules are embedded into the module and can be reused separately. Each sub module has it's own usage documented in the submodule folders as listed below. SAP HANA Instance Module ASCS Instance Module Application Server Instance Module Terraform versions Terraform 0.12. Pin module version to ~> v2.0. Requirements | Name | Version | |------|------
| Name | Type | Description | Default |
|---|---|---|---|
| application_code | string | (Required) The unique application code for resource naming | required |
| subnet_ids | list(string) | (Required) List of subnets for instance distribution | required |
| aws_region | string | (Required) AWS Region to execute deployment to | required |
| application_name | string | (Required) The name of the application being provisioned, ex. 'datamart', 'ecc', | required |
| sid | string | (Required) The System id for the SAP Netweaver system | required |
| vpc_id | string | (Required) VPC to deploy infrastructure to | required |
| ami_id | string | (Required) The AMI id for the underlying OS | required |
| environment_type | string | (Required) Environment type of SAP Netweaver system, e.x. 'dev', 'test', 'prod' | required |
| hana_instance_type | string | (Required) Identifies the instance types to be used for HANA. Should be from the | required |
| app_server_root_volume_size | number | (Optional) Size in GBs for the root volumes of the instances | 50 |
| hana_disks_usr_sap_storage_type | string | (Optional) EBS Volume type for hana /usr/sap volumes. | "gp2" |
| dns_zone_name | string | "(Optional) The name of Route53 Private | |
| default_instance_role | bool | (Optional) Flag to define whether default instance role should be created | true |
| hana_disks_data_storage_type | string | (Optional) EBS Volume type for hana data volumes. Can be gp2 or io1 | "gp2" |
| ssh_key | string | (Optional) The key pair name for the instances. If not provided - you can use SS | "" |
| ascs_instance_type | string | The instance type for SAP Central Services | "m5.xlarge" |
| efs_sapmnt | bool | (Optional) Flag to define whether EFS File Systems should be provisioned for /sa | true |
| customer_cidr_blocks | list(string) | (Optional) The CIDR blocks to allow end-user connectivity from | [] |
| high_availability | bool | If true provision second instances for HANA and ASCS | false |
| hana_disks_shared_storage_type | string | (Optional) EBS Volume type for hana shared volumes. | "gp2" |
| customer_default_sg_id | list | (Optional) List of preexisting security groups to be attached to the instance. T | [] |
| hana_disks_usr_sap_storage_size | number | (Optional) Size in GBs for the /usr/sap volumes of the instances | 50 |
| user_data | string | (Optional) The user data script for the instance. If none provisioned - default | "" |
| hana_disks_shared_size | string | (Optional) Size in GBs for the hana shared volumes of the instances | "512" |
| ascs_root_volume_size | number | (Optional) Size in GBs for the root volumes of the instances | 50 |
| hana_scale_out_node_count | number | (Required, if hana_is_scale_out = false) Defines how many nodes required for sca | 3 |
| root_volume_size | number | (Optional) Size in GBs for the root volumes of the instances | 50 |
| hana_disks_backup_storage_type | string | (Optional) EBS Volume type for hana backup volumes. | "st1" |
| sapmnt_volume_size | number | (Optional) Size in GBs for the /sapmnt volume. Use it only for non-EFS scenario. | 0 |