IT and software
Cloud architecture
A cloud architecture showing the VPC and its subnets, and where the load balancer, application, database and object store sit
This drawing comes from one YAML file. No shape was moved by hand.
Notes in the source (in Japanese)
クラウド構成図で意味があるのは、箱の名前ではなく「サブネットの線」。公開サブネットに置けるのは、外から叩かれてよいものだけ。web が非公開側の DB を見に行く向きは片道で、逆は無い。
自分で面倒を見るもの(web)と、預けるもの(PostgreSQL・オブジェクト保管)では、止まったときに自分でできることが違う。 群を分けるのは、そこを見せるため。
実体は冗長でも、図では 1 つ。冗長を描くと、経路の本数が倍になって読めなくなる。冗長は別の図(系統図)で描く。
ロードバランサの後ろの 2 台は、どちらへ振られても同じ動きをしなければならない。セッションを Redis に置くのは、そのため —— web-2 だけ Redis と保管先への線が無いと、web-2 へ振られた利用者はログインが切れ、添付も読めない図になる。
Source (YAML)
examples/gallery/02-クラウド構成.zumen.yaml
More in this field
An on-premise server layout rack by rack, with the redundant power feeds and network links drawn as separate paths
Where data goes from collection through transformation, storage and aggregation to display, and what kind of container holds it at each step
A network layout of the links and equipment between sites, with the address range carried by each segment
An order management ER diagram with primary and foreign keys, and the one-to-many relationships drawn as crow feet
A server room where racks face each other to make hot and cold aisles, with the clearance of each aisle written in
A UML class diagram where inheritance, realisation, association and aggregation are told apart by line type and end symbol
A UML state machine with transitions, the events and guards that fire them, and the pseudostates that begin and end it
A UML use case diagram with the actors, the use cases, and the include and extend relationships between them