The market's shop gets a network of its own, shop. The web server's script is in ~/web.sh, and the role flow-logs exists.
-
A VPC named
shopwith the block10.20.0.0/16and four subnets:Name Zone Block web-aus-east-1a10.20.1.0/24web-bus-east-1b10.20.2.0/24app-aus-east-1a10.20.11.0/24app-bus-east-1b10.20.12.0/24web-aandweb-bare public and hand out public IPs to new instances; both are graded.app-aandapp-bare not public. -
A
t3.micronamedwebinweb-a, built by~/web.sh, answering on port 80 at its public IP. -
A
t3.micronamedappinapp-awith no public IP, and both app subnets able to reach the internet, outbound only. -
A flow log on the VPC recording all traffic, accepted and rejected, into the log group
/shop/flow.