-
Notifications
You must be signed in to change notification settings - Fork 41
/
apigee_akamai_eks.d2
executable file
·119 lines (107 loc) · 3.13 KB
/
apigee_akamai_eks.d2
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
#!/usr/bin/env d2
# myfilename.d2 forceformat.png -h # trick to eat arg
#
# vim:ts=2:sts=2:sw=2:et:filetype=d2
#
# Author: Hari Sekhon
# Date: 2024-10-09 18:15:20 +0300 (Wed, 09 Oct 2024)
#
# https///github.com/HariSekhon/Diagrams-as-Code
#
# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
#
# https://www.linkedin.com/in/HariSekhon
#
# ============================================================================ #
# A p i g e e - > A k a m a i - > E K S
# ============================================================================ #
direction: down
title: {
label: Apigee API Gateway, Akamai WAF and EKS
near: top-center
shape: text
style.font-size: 40
style.underline: true
}
classes: {
users: {
label: Users
icon: https://diagrams.mingrammer.com/img/resources/onprem/client/users.png
shape: image
}
apps: {
label: Apps
icon: https://icons.terrastruct.com/azure%2FIntune%20Service%20Color%2FClient%20Apps.svg
shape: image
}
apigee: {
label: Apigee\nAPI Gateway
icon: https://icons.terrastruct.com/gcp%2FProducts%20and%20services%2FAPI%20Management%2FApigee%20API%20Platform.svg
shape: image
}
akamai: {
label: Akamai WAF
icon: https://diagrams.mingrammer.com/img/resources/saas/cdn/akamai.png
shape: image
}
load_balancer: {
label: AWS ELB\nLoad Balancer
icon: https://icons.terrastruct.com/aws%2FNetworking%20&%20Content%20Delivery%2FElastic-Load-Balancing.svg
shape: image
}
ingress: {
label: Kubernetes Ingress
icon: https://diagrams.mingrammer.com/img/resources/k8s/network/ing.png
shape: image
}
service: {
label: Kubernetes Service
icon: https://diagrams.mingrammer.com/img/resources/k8s/network/svc.png
shape: image
}
pod: {
label: Kubernetes Pod
icon: https://diagrams.mingrammer.com/img/resources/k8s/compute/pod.png
shape: image
}
#cloud: {
# label: "" # use an AWS / GCP / Azure icon inside the cloud instead
# shape: cloud
# # style.fill: transparent
#}
aws: {
label: "" # the icon itself says Amazon Web Services, this is redundant labelling
icon: https://icons.terrastruct.com/dev%2Famazonwebservices.svg
shape: image
}
eks: {
label: EKS\nElastic\nKubernetes\nService
icon: https://diagrams.mingrammer.com/img/resources/aws/compute/elastic-kubernetes-service.png
shape: image
}
}
users.class: users
apps.class: apps
apigee.class: apigee
akamai.class: akamai
users -> apigee: {style.animated: true}
apps -> apigee: {style.animated: true}
apigee -> akamai -> cloud.lb: {style.animated: true}
cloud: AWS {
aws.class: aws
lb.class: load_balancer
# aws -- lb: {style.opacity: 0}
lb -> eks.ingress: {style.animated: true}
eks: EKS {
eks.class: eks
ingress.class: ingress
service.class: service
pod1.class: pod
pod2.class: pod
ingress -> service: {style.animated: true}
service -> pod1: {style.animated: true}
service -> pod2: {style.animated: true}
}
}