forked from tmorin/plantuml-libs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchef_automate_architecture_on_aws.puml
37 lines (31 loc) · 1.14 KB
/
chef_automate_architecture_on_aws.puml
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
@startuml
' configures the library
!global $INCLUSION_MODE="local"
!global $LIB_BASE_LOCATION=".."
' loads the library's bootstrap
!include $LIB_BASE_LOCATION/bootstrap.puml
' loads the package bootstrap
include('aws-q1-2022/bootstrap')
include("aws-q1-2022/Group/GroupAwsCloud")
include("aws-q1-2022/Group/GroupAvailabilityZone")
include("aws-q1-2022/Group/GroupVpc")
include("aws-q1-2022/Group/GroupPublicSubnet")
include("aws-q1-2022/Resource/Compute/AmazonEc2Instance")
include("aws-q1-2022/Resource/NetworkingAndContentDelivery/AmazonVpcInternetGateway")
GroupAwsCloud('aws') {
GroupAvailabilityZone('az') {
GroupVpc('vpc', 'VPC', '10.0.0.0/16') {
AmazonVpcInternetGateway('gateway', 'Internet gateway')
GroupPublicSubnet('pubnet', 'Public subnet', '10.0.0.0/19') {
AmazonEc2Instance('instance1', 'Chef Automate')
AmazonEc2Instance('instance2', 'Chef workstation (local Chef repo)')
AmazonEc2Instance('instance3', 'Chef node')
}
}
}
}
gateway -[hidden]-> instance1
instance1 -down-> instance2
instance2 -> instance3
instance3 -up-> instance1
@enduml