Skip to content

Instantly share code, notes, and snippets.

@simonbrowndotje
Created June 21, 2020 12:44
Show Gist options
  • Save simonbrowndotje/d3f1759742029cfdfeff96179a7fc9ad to your computer and use it in GitHub Desktop.
Save simonbrowndotje/d3f1759742029cfdfeff96179a7fc9ad to your computer and use it in GitHub Desktop.
workspace {
model {
user = person "User"
softwareSystem "Software System" {
wa = container "Web Application" {
hpc = component "HomePageController"
}
db = container "Database"
}
user -> hpc
hpc -> db
deploymentEnvironment "Development" {
deploymentNode "Developer Laptop" {
containerInstance wa
containerInstance db
}
}
deploymentEnvironment "Live" {
deploymentNode "Amazon Web Services" {
route53 = infrastructureNode "Route 53"
deploymentNode "EC2" {
wa_live = containerInstance wa
containerInstance db
}
}
}
route53 -> wa_live
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment