Skip to content

Instantly share code, notes, and snippets.

@adamcrosby
Created September 27, 2013 06:30
Show Gist options
  • Save adamcrosby/6724842 to your computer and use it in GitHub Desktop.
Save adamcrosby/6724842 to your computer and use it in GitHub Desktop.
digraph nhhc {
overlap=prism;
node [image="instance.png", shape=none, fontsize=10.0];
"DISP-A" [label="DISP-A\n10.0.0.1"];
"DISP-A_2"[label="DISP-A_2\n10.0.0.2"];
"DISP-P"[label="DISP-P\n10.0.0.3"];
"DISP-P_2"[label="DISP-P_2\n10.0.0.4"];
"RDG_az1"[label="RDG_az1\n10.0.0.5"];
"RDG_az2"[label="RDG_az2\n10.0.0.6"];
"RWP_az1"[label="RWP_az1\n10.0.0.7"];
"RWP_az2"[label="RWP_az2\n10.0.0.8"];
"SMTP_Az1"[label="SMTP_Az1\n10.0.0.9"];
"SMTP_Az2"[label="SMTP_Az2\n10.0.0.11"];
"AUTHOR" [label="AUTHR\n10.0.0.12"];
"AUTHOR2" [label="AUTHr2\n10.0.0.13"];
"PUBL_az1" [label="PUBL_AZ1\n10.0.0.14"];
"PUBL_az2" [label="PUBL_AZ2\n10.0.0.15"];
"IA_az1" [label="AZ1 IA\n10.0.0.16"];
"AD_az1" [label="AZ1 AD\n10.0.0.17"];
node [image="cloud.png", shape=none, fontsize=10.0];
"Internet";
node [image="users.png", shape=none, fontsize=10.0];
"Admins"; "Users";
ELB [image="elb.png", shape=none, fontsize=10.0];
subgraph cluster_aws{
label="AWS";
graph[style=dotted];
Internet
subgraph cluster_us_east{
label="US East Region";
graph[style=dotted];
ELB;
subgraph cluster_az1{
label="AZ 1";
graph[style=dotted];
subgraph cluster_dmz{
label="DMZ Subnet";
graph[style=dotted];
RDG_az1; RWP_az1; SMTP_Az1;
};
subgraph cluster_web{
label="Web Subnet";
graph[style=dotted];
"DISP-A"; "DISP-P";
};
subgraph cluster_data{
label="Data Subnet";
graph[style=dotted];
AUTHOR; PUBL_az1;
};
subgraph cluster_ad{
label="AD Subnet";
graph[style=dotted];
AD_az1;
};
subgraph cluster_ia{
label="IA Subnet";
graph[style=dotted];
IA_az1;
};
};
subgraph cluster_az2{
label="AZ 2";
graph[style=dotted];
subgraph cluster_dmz2{
label="DMZ Subnet";
graph[style=dotted];
RDG_az2; RWP_az2; SMTP_Az2;
};
subgraph cluster_web2{
label="Web Subnet";
graph[style=dotted];
"DISP-A_2"; "DISP-P_2";
};
subgraph cluster_data2{
label="Data Subnet";
graph[style=dotted];
AUTHOR2; PUBL_az2;
};
subgraph cluster_ad2{};
subgraph cluster_ia2{};
};
};
};
// 3389
edge [color=red];
Admins -> Internet [label="TCP/3389", fontsize=8.0];
Internet -> RDG_az1;
Internet -> RDG_az2;
RDG_az1 -> "DISP-A";
RDG_az1 -> "DISP-A_2";
RDG_az1 -> "DISP-P";
RDG_az1 -> "DISP-P_2";
RDG_az1 -> "SMTP_Az1";
RDG_az1 -> "SMTP_Az2";
RDG_az2 -> "DISP-A";
RDG_az2 -> "DISP-A_2";
RDG_az2 -> "DISP-P";
RDG_az2 -> "DISP-P_2";
RDG_az2 -> "SMTP_Az1";
RDG_az2 -> "SMTP_Az2";
// 443
edge [color=green];
Users->Internet [label="TCP/443", fontsize=8.0];
Internet->ELB;
ELB->RWP_az1;
ELB->RWP_az2;
// 25
edge [color=yellow, label="TCP/25", fontsize=8.0]
SMTP_Az1->Internet;
SMTP_Az2->Internet;
edge [color=green, label="TCP/80", fontsize=8.0]
RWP_az1->"DISP-A";
RWP_az1->"DISP-P";
RWP_az2->"DISP-A_2";
RWP_az2->"DISP-P_2";
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment