-
Notifications
You must be signed in to change notification settings - Fork 141
/
pfs-parallelstore.yaml
68 lines (59 loc) · 2.04 KB
/
pfs-parallelstore.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
# To get access to a private preview of Parallelstore APIs, your project needs to
# be allowlisted. To set this up, please work with your account representative.
blueprint_name: parallelstore-vm
vars:
project_id: ## Set GCP Project ID Here ##
deployment_name: parallelstore-vm
region: us-central1
zone: us-central1-a
deployment_groups:
- group: primary
modules:
- id: network
source: modules/network/vpc
- id: private_service_access
source: community/modules/network/private-service-access
use: [network]
settings:
prefix_length: 24 # recommended to use <=24
- id: parallelstore
source: modules/file-system/parallelstore
use: [network, private_service_access]
# Connect parallelstore instance with Compute VM running debian 12.
- id: debian_instance
source: modules/compute/vm-instance
use: [network, parallelstore]
settings:
name_prefix: debian
add_deployment_name_before_prefix: true
instance_count: 1
instance_image:
family: debian-12
project: debian-cloud
machine_type: c2d-standard-112
# Connect parallelstore instance with Compute VM running ubuntu 22.04.
- id: ubuntu_instance
source: modules/compute/vm-instance
use: [network, parallelstore]
settings:
name_prefix: ubuntu
add_deployment_name_before_prefix: true
instance_count: 1
instance_image:
family: ubuntu-2204-lts
project: ubuntu-os-cloud
machine_type: c2d-standard-112