Skip to content

The repository contains the Terraform module to support the deployment of GG-8 in AWS.

Notifications You must be signed in to change notification settings

gridgain/terraform-aws-gridgain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform for GridGain on AWS

This module provisions GridGain cluster on AWS using GridGain Community Edition AMI.

Providers

Name Version
aws >= 5.65.0

Inputs

Name Description Type Default Required
ami_id AMI to be used in deployment, if empty, should default to latest string n/a yes
cloudwatch_logs_enable Enable sending logs to Cloudwatch Logs bool false no
fullname Full name to be used in description of all resources string "GridGain Cluster" no
gridgain_config GridGain config xml string "" no
gridgain_jetty_config GridGain Jetty config xml string "" no
gridgain_license GridGain license xml string "" no
gridgain_ssl_cert GridGain SSL certificate string "" no
gridgain_ssl_key GridGain SSL key string "" no
instance_type Instance type to be used for GridGain nodes string "t3.medium" no
keystore_password SSL Keystore password string "" no
kms_key_alias KMS Key alias to be used with S3 bucket for encryption. If empty, module will create a new one string "" no
name Name prefix to be used for all resources string "gridgain" no
nodes_count Number of nodes number 2 no
ports List of ports to be allowed in securitygroup list(string)
[
"22",
"8080",
"10800",
"10900",
"11211",
"47100",
"47500",
"49112"
]
no
public_access_enable Whether cluster should be publicly accessible or not bool false no
public_allowlist List of CIDRs to be allowed in securitygroup for public access list(string)
[
"0.0.0.0/0"
]
no
root_volume_delete_on_termination Whether the volume should be destroyed on GridGain nodes termination bool true no
root_volume_iops Amount of provisioned IOPS for root volume number null no
root_volume_size Size of root volume in GB for GridGain nodes number 128 no
root_volume_throughput Root volume throughput in MB/s number null no
root_volume_type Type of root volume for GridGain nodes string "gp3" no
s3_bucket Name of s3 bucket to use. If empty, module will create a new one string "" no
s3_enable Whether to enable S3 bucket for snapshots bool false no
ssh_public_key SSH public key used to connect to instances. If empty, none will be provisioned string "" no
ssl_enable Whether SSL should be enabled bool false no
ssm_enable Enable secure session manager bool true no
subnet_cidrs List of CIDRs for private subnets list(string)
[
"10.0.0.0/19",
"10.0.32.0/19"
]
no
subnet_ids List of private subnet IDs to be used for deployment. If empty, module should provision new subnets list(string) [] no
tags A map of additional tags to assign to resources map(string) {} no
vpc_cidr CIDR block for VPC string "10.0.0.0/16" no
vpc_id VPC ID to be deployed into. If empty, module should provision new VPC string "" no
zones List of availability zones to create VPC in list(string)
[
"us-east-1a",
"us-east-1b"
]
no

Outputs

Name Description
ami AMI ID that was used to create the instances
availability_zone The availability zone of the created instances
iam_instance_profile_arn ARN assigned by AWS to the instance profile
iam_instance_profile_id Instance profile's ID
iam_instance_profile_unique Stable and unique string identifying the IAM instance profile
iam_role_arn The Amazon Resource Name (ARN) specifying the IAM role
iam_role_name The name of the IAM role
iam_role_unique_id Stable and unique string identifying the IAM role
instance_ids List of EC2 instance IDs
instance_state List of instance states
ipv6_addresses List of IPv6 addresses assigned to the instances, if applicable
isntance_arns List of ARNs assigned to the instances
kms_key_alias KMS key alias used for snapshot encryption
lb_arn ARN of the load balancer
lb_dns DNS name of the load balancer
primary_network_interface_ids List of primary network interface IDs
private_dns List of private DNS names assigned to the instances
private_ip List of private IP addresses assigned to the instances
public_dns List of public DNS names assigned to the instances
public_ips List of public IP addresses assigned to the instances
s3_bucket Name of S3 bucket used for snapshots
security_group_id ID of the security group used for GridGain nodes
ssm_connect_commands The AWS CLI command to connect to the instance using Session Manager
subnet_ids List of private subent IDs
tags_all A map of tags assigned to the resources, including those inherited from the provider default_tags configuration block
vpc_id ID of a VPC used for GridGain nodes

About

The repository contains the Terraform module to support the deployment of GG-8 in AWS.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages