Skip to content

Commit ccf6e18

Browse files
committed
cloud: run make cloud-update
We then commit all changes. Signed-off-by: Luis Chamberlain <[email protected]>
1 parent 1d90977 commit ccf6e18

File tree

149 files changed

+13590
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+13590
-0
lines changed

terraform/aws/kconfigs/Kconfig.compute.static

Lines changed: 1885 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# GPU-optimized AMIs (default - AWS CLI not available)
2+
3+
# GPU AMI Override - only shown for GPU instances
4+
config TERRAFORM_AWS_USE_GPU_AMI
5+
bool "Use GPU-optimized AMI instead of standard distribution"
6+
depends on TERRAFORM_AWS_IS_GPU_INSTANCE
7+
output yaml
8+
default n
9+
help
10+
Enable this to use a GPU-optimized AMI with pre-installed NVIDIA drivers,
11+
CUDA, and ML frameworks instead of the standard distribution AMI.
12+
Note: AWS CLI is not available, showing default options.
13+
14+
if TERRAFORM_AWS_USE_GPU_AMI
15+
16+
choice
17+
prompt "GPU-optimized AMI selection"
18+
default TERRAFORM_AWS_GPU_AMI_DEEP_LEARNING
19+
depends on TERRAFORM_AWS_IS_GPU_INSTANCE
20+
help
21+
Select which GPU-optimized AMI to use for your GPU instance.
22+
23+
config TERRAFORM_AWS_GPU_AMI_DEEP_LEARNING
24+
bool "AWS Deep Learning AMI (Ubuntu 22.04)"
25+
help
26+
Pre-configured with NVIDIA drivers, CUDA, and ML frameworks.
27+
28+
config TERRAFORM_AWS_GPU_AMI_CUSTOM
29+
bool "Custom GPU AMI"
30+
31+
endchoice
32+
33+
if TERRAFORM_AWS_GPU_AMI_DEEP_LEARNING
34+
35+
config TERRAFORM_AWS_GPU_AMI_NAME
36+
string
37+
output yaml
38+
default "Deep Learning OSS Nvidia Driver AMI GPU PyTorch*Ubuntu 22.04*"
39+
40+
config TERRAFORM_AWS_GPU_AMI_OWNER
41+
string
42+
output yaml
43+
default "amazon"
44+
45+
endif # TERRAFORM_AWS_GPU_AMI_DEEP_LEARNING
46+
47+
if TERRAFORM_AWS_GPU_AMI_CUSTOM
48+
49+
config TERRAFORM_AWS_GPU_AMI_ID
50+
string "Custom GPU AMI ID"
51+
output yaml
52+
help
53+
Specify the AMI ID for your custom GPU image.
54+
55+
endif # TERRAFORM_AWS_GPU_AMI_CUSTOM
56+
57+
endif # TERRAFORM_AWS_USE_GPU_AMI
58+
59+
# GPU instance detection (static)
60+
config TERRAFORM_AWS_IS_GPU_INSTANCE
61+
bool
62+
output yaml
63+
default y if TERRAFORM_AWS_INSTANCE_TYPE_G6E
64+
default y if TERRAFORM_AWS_INSTANCE_TYPE_G6
65+
default y if TERRAFORM_AWS_INSTANCE_TYPE_G5
66+
default y if TERRAFORM_AWS_INSTANCE_TYPE_G5G
67+
default y if TERRAFORM_AWS_INSTANCE_TYPE_G4DN
68+
default y if TERRAFORM_AWS_INSTANCE_TYPE_G4AD
69+
default y if TERRAFORM_AWS_INSTANCE_TYPE_P5
70+
default y if TERRAFORM_AWS_INSTANCE_TYPE_P5EN
71+
default y if TERRAFORM_AWS_INSTANCE_TYPE_P4D
72+
default y if TERRAFORM_AWS_INSTANCE_TYPE_P4DE
73+
default y if TERRAFORM_AWS_INSTANCE_TYPE_P3
74+
default y if TERRAFORM_AWS_INSTANCE_TYPE_P3DN
75+
default n
76+
help
77+
Automatically detected based on selected instance type.
78+
This indicates whether the selected instance has GPU support.
79+
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
# AWS regions (dynamically generated)
2+
3+
choice
4+
prompt "AWS region"
5+
default TERRAFORM_AWS_REGION_USEAST1
6+
help
7+
Select the AWS region for your deployment.
8+
Note: Not all instance types are available in all regions.
9+
10+
# US Regions
11+
config TERRAFORM_AWS_REGION_US_EAST_1
12+
bool "US East (N. Virginia)"
13+
help
14+
Region: US East (N. Virginia)
15+
16+
config TERRAFORM_AWS_REGION_US_EAST_2
17+
bool "US East (Ohio)"
18+
help
19+
Region: US East (Ohio)
20+
21+
config TERRAFORM_AWS_REGION_US_WEST_1
22+
bool "US West (N. California)"
23+
help
24+
Region: US West (N. California)
25+
26+
config TERRAFORM_AWS_REGION_US_WEST_2
27+
bool "US West (Oregon)"
28+
help
29+
Region: US West (Oregon)
30+
31+
32+
# Europe Regions
33+
config TERRAFORM_AWS_REGION_EU_CENTRAL_1
34+
bool "Europe (Frankfurt)"
35+
help
36+
Region: Europe (Frankfurt)
37+
38+
config TERRAFORM_AWS_REGION_EU_NORTH_1
39+
bool "Europe (Stockholm)"
40+
help
41+
Region: Europe (Stockholm)
42+
43+
config TERRAFORM_AWS_REGION_EU_WEST_1
44+
bool "Europe (Ireland)"
45+
help
46+
Region: Europe (Ireland)
47+
48+
config TERRAFORM_AWS_REGION_EU_WEST_2
49+
bool "Europe (London)"
50+
help
51+
Region: Europe (London)
52+
53+
config TERRAFORM_AWS_REGION_EU_WEST_3
54+
bool "Europe (Paris)"
55+
help
56+
Region: Europe (Paris)
57+
58+
59+
# Asia Pacific Regions
60+
config TERRAFORM_AWS_REGION_AP_NORTHEAST_1
61+
bool "Asia Pacific (Tokyo)"
62+
help
63+
Region: Asia Pacific (Tokyo)
64+
65+
config TERRAFORM_AWS_REGION_AP_NORTHEAST_2
66+
bool "Asia Pacific (Seoul)"
67+
help
68+
Region: Asia Pacific (Seoul)
69+
70+
config TERRAFORM_AWS_REGION_AP_NORTHEAST_3
71+
bool "Ap Northeast 3"
72+
help
73+
Region: Ap Northeast 3
74+
75+
config TERRAFORM_AWS_REGION_AP_SOUTH_1
76+
bool "Asia Pacific (Mumbai)"
77+
help
78+
Region: Asia Pacific (Mumbai)
79+
80+
config TERRAFORM_AWS_REGION_AP_SOUTHEAST_1
81+
bool "Asia Pacific (Singapore)"
82+
help
83+
Region: Asia Pacific (Singapore)
84+
85+
config TERRAFORM_AWS_REGION_AP_SOUTHEAST_2
86+
bool "Asia Pacific (Sydney)"
87+
help
88+
Region: Asia Pacific (Sydney)
89+
90+
91+
# Other Regions
92+
config TERRAFORM_AWS_REGION_CA_CENTRAL_1
93+
bool "Canada (Central)"
94+
help
95+
Region: Canada (Central)
96+
97+
config TERRAFORM_AWS_REGION_SA_EAST_1
98+
bool "South America (São Paulo)"
99+
help
100+
Region: South America (São Paulo)
101+
102+
103+
endchoice
104+
105+
config TERRAFORM_AWS_REGION
106+
string
107+
default "ap-south-1" if TERRAFORM_AWS_REGION_AP_SOUTH_1
108+
default "eu-north-1" if TERRAFORM_AWS_REGION_EU_NORTH_1
109+
default "eu-west-3" if TERRAFORM_AWS_REGION_EU_WEST_3
110+
default "eu-west-2" if TERRAFORM_AWS_REGION_EU_WEST_2
111+
default "eu-west-1" if TERRAFORM_AWS_REGION_EU_WEST_1
112+
default "ap-northeast-3" if TERRAFORM_AWS_REGION_AP_NORTHEAST_3
113+
default "ap-northeast-2" if TERRAFORM_AWS_REGION_AP_NORTHEAST_2
114+
default "ap-northeast-1" if TERRAFORM_AWS_REGION_AP_NORTHEAST_1
115+
default "ca-central-1" if TERRAFORM_AWS_REGION_CA_CENTRAL_1
116+
default "sa-east-1" if TERRAFORM_AWS_REGION_SA_EAST_1
117+
default "ap-southeast-1" if TERRAFORM_AWS_REGION_AP_SOUTHEAST_1
118+
default "ap-southeast-2" if TERRAFORM_AWS_REGION_AP_SOUTHEAST_2
119+
default "eu-central-1" if TERRAFORM_AWS_REGION_EU_CENTRAL_1
120+
default "us-east-1" if TERRAFORM_AWS_REGION_US_EAST_1
121+
default "us-east-2" if TERRAFORM_AWS_REGION_US_EAST_2
122+
default "us-west-1" if TERRAFORM_AWS_REGION_US_WEST_1
123+
default "us-west-2" if TERRAFORM_AWS_REGION_US_WEST_2
124+
default "us-east-1"
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# AWS A1 instance sizes (dynamically generated)
2+
3+
choice
4+
prompt "Instance size for A1 family"
5+
default TERRAFORM_AWS_INSTANCE_A1_MEDIUM
6+
help
7+
Select the specific instance size within the A1 family.
8+
9+
config TERRAFORM_AWS_INSTANCE_A1_MEDIUM
10+
bool "a1.medium"
11+
help
12+
vCPUs: 1
13+
Memory: 2.0 GB
14+
Network: Up to 10 Gigabit
15+
Price: pricing varies
16+
17+
config TERRAFORM_AWS_INSTANCE_A1_LARGE
18+
bool "a1.large"
19+
help
20+
vCPUs: 2
21+
Memory: 4.0 GB
22+
Network: Up to 10 Gigabit
23+
Price: pricing varies
24+
25+
config TERRAFORM_AWS_INSTANCE_A1_XLARGE
26+
bool "a1.xlarge"
27+
help
28+
vCPUs: 4
29+
Memory: 8.0 GB
30+
Network: Up to 10 Gigabit
31+
Price: pricing varies
32+
33+
config TERRAFORM_AWS_INSTANCE_A1_2XLARGE
34+
bool "a1.2xlarge"
35+
help
36+
vCPUs: 8
37+
Memory: 16.0 GB
38+
Network: Up to 10 Gigabit
39+
Price: pricing varies
40+
41+
config TERRAFORM_AWS_INSTANCE_A1_METAL
42+
bool "a1.metal"
43+
help
44+
vCPUs: 16
45+
Memory: 32.0 GB
46+
Network: Up to 10 Gigabit
47+
Price: pricing varies
48+
49+
config TERRAFORM_AWS_INSTANCE_A1_4XLARGE
50+
bool "a1.4xlarge"
51+
help
52+
vCPUs: 16
53+
Memory: 32.0 GB
54+
Network: Up to 10 Gigabit
55+
Price: pricing varies
56+
57+
endchoice
58+
59+
config TERRAFORM_AWS_A1_SIZE
60+
string
61+
default "a1.medium" if TERRAFORM_AWS_INSTANCE_A1_MEDIUM
62+
default "a1.large" if TERRAFORM_AWS_INSTANCE_A1_LARGE
63+
default "a1.xlarge" if TERRAFORM_AWS_INSTANCE_A1_XLARGE
64+
default "a1.2xlarge" if TERRAFORM_AWS_INSTANCE_A1_2XLARGE
65+
default "a1.metal" if TERRAFORM_AWS_INSTANCE_A1_METAL
66+
default "a1.4xlarge" if TERRAFORM_AWS_INSTANCE_A1_4XLARGE
67+
default "a1.medium"
68+
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# AWS C1 instance sizes (dynamically generated)
2+
3+
choice
4+
prompt "Instance size for C1 family"
5+
default TERRAFORM_AWS_INSTANCE_C1_MEDIUM
6+
help
7+
Select the specific instance size within the C1 family.
8+
9+
config TERRAFORM_AWS_INSTANCE_C1_MEDIUM
10+
bool "c1.medium"
11+
help
12+
vCPUs: 2
13+
Memory: 1.7 GB
14+
Network: Moderate
15+
Price: pricing varies
16+
Instance storage: 350 GB
17+
18+
config TERRAFORM_AWS_INSTANCE_C1_XLARGE
19+
bool "c1.xlarge"
20+
help
21+
vCPUs: 8
22+
Memory: 7.0 GB
23+
Network: High
24+
Price: pricing varies
25+
Instance storage: 1680 GB
26+
27+
endchoice
28+
29+
config TERRAFORM_AWS_C1_SIZE
30+
string
31+
default "c1.medium" if TERRAFORM_AWS_INSTANCE_C1_MEDIUM
32+
default "c1.xlarge" if TERRAFORM_AWS_INSTANCE_C1_XLARGE
33+
default "c1.medium"
34+
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# AWS C3 instance sizes (dynamically generated)
2+
3+
choice
4+
prompt "Instance size for C3 family"
5+
default TERRAFORM_AWS_INSTANCE_C3_LARGE
6+
help
7+
Select the specific instance size within the C3 family.
8+
9+
config TERRAFORM_AWS_INSTANCE_C3_LARGE
10+
bool "c3.large"
11+
help
12+
vCPUs: 2
13+
Memory: 3.8 GB
14+
Network: Moderate
15+
Price: pricing varies
16+
Instance storage: 32 GB
17+
18+
config TERRAFORM_AWS_INSTANCE_C3_XLARGE
19+
bool "c3.xlarge"
20+
help
21+
vCPUs: 4
22+
Memory: 7.5 GB
23+
Network: Moderate
24+
Price: pricing varies
25+
Instance storage: 80 GB
26+
27+
config TERRAFORM_AWS_INSTANCE_C3_2XLARGE
28+
bool "c3.2xlarge"
29+
help
30+
vCPUs: 8
31+
Memory: 15.0 GB
32+
Network: High
33+
Price: pricing varies
34+
Instance storage: 160 GB
35+
36+
config TERRAFORM_AWS_INSTANCE_C3_4XLARGE
37+
bool "c3.4xlarge"
38+
help
39+
vCPUs: 16
40+
Memory: 30.0 GB
41+
Network: High
42+
Price: pricing varies
43+
Instance storage: 320 GB
44+
45+
config TERRAFORM_AWS_INSTANCE_C3_8XLARGE
46+
bool "c3.8xlarge"
47+
help
48+
vCPUs: 32
49+
Memory: 60.0 GB
50+
Network: 10 Gigabit
51+
Price: pricing varies
52+
Instance storage: 640 GB
53+
54+
endchoice
55+
56+
config TERRAFORM_AWS_C3_SIZE
57+
string
58+
default "c3.large" if TERRAFORM_AWS_INSTANCE_C3_LARGE
59+
default "c3.xlarge" if TERRAFORM_AWS_INSTANCE_C3_XLARGE
60+
default "c3.2xlarge" if TERRAFORM_AWS_INSTANCE_C3_2XLARGE
61+
default "c3.4xlarge" if TERRAFORM_AWS_INSTANCE_C3_4XLARGE
62+
default "c3.8xlarge" if TERRAFORM_AWS_INSTANCE_C3_8XLARGE
63+
default "c3.large"
64+

0 commit comments

Comments
 (0)