Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLOUD-684] Update terraform examples #332

Merged
merged 1 commit into from
Nov 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 25 additions & 17 deletions docs/setup_installation/common/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ provider "hopsworksai" {
module "aws" {
source = "logicalclocks/helpers/hopsworksai//modules/aws"
region = var.region
version = "2.2.0"
version = "2.3.0"
}

# Create a cluster with no workers
Expand All @@ -72,14 +72,19 @@ resource "hopsworksai_cluster" "cluster" {
}

rondb {
management_nodes {
instance_type = "t3a.medium"
single_node {
instance_type = "t3a.xlarge"
}
data_nodes {
instance_type = "r5.large"
}
mysql_nodes {
instance_type = "c5.large"
}

autoscale {
non_gpu_workers {
instance_type = "m5.2xlarge"
disk_size = 256
min_workers = 1
max_workers = 5
standby_workers = 0.5
downscale_wait_time = 300
}
}

Expand Down Expand Up @@ -161,7 +166,7 @@ data "azurerm_resource_group" "rg" {
module "azure" {
source = "logicalclocks/helpers/hopsworksai//modules/azure"
resource_group = var.resource_group
version = "2.2.0"
version = "2.3.0"
}

# Create an ACR registry
Expand Down Expand Up @@ -197,16 +202,19 @@ resource "hopsworksai_cluster" "cluster" {
}

rondb {
management_nodes {
instance_type = "Standard_D2s_v4"
}

data_nodes {
single_node {
instance_type = "Standard_D4s_v4"
}

mysql_nodes {
instance_type = "Standard_D2s_v4"
}

autoscale {
non_gpu_workers {
instance_type = "Standard_D8_v3"
disk_size = 256
min_workers = 1
max_workers = 5
standby_workers = 0.5
downscale_wait_time = 300
}
}

Expand Down
Loading