Preface
Goal: Starting from Requirement.
Deployment
Now I feel stupid. The more I ask, the more I know that I don’t know.
Deployment Diagram
+------------------------+ +------------------------+
| Web Server | | Database Server |
| (Apache, PHP) | | (MySQL) |
| | | |
+------------------------+ +------------------------+
| |
| |
| |
| |
| |
+------------------------+ +------------------------+
| User Management App | | User Database |
| | | |
| | | |
| |<------------| |
| | | |
| | | |
+------------------------+ +------------------------+
PlantUML
@startuml
!define AWSPUML https://raw.githubusercontent.com/awslabs/aws-icons-for-plantuml/v20.10.23/dist
!includeurl AWSPUML/AWSCommon.puml
!includeurl AWSPUML/Compute/AmazonEC2.puml
!includeurl AWSPUML/Compute/AmazonECS.puml
!includeurl AWSPUML/Compute/AmazonLambda.puml
!includeurl AWSPUML/Database/AmazonRDS.puml
!includeurl AWSPUML/Database/AmazonDynamoDB.puml
!includeurl AWSPUML/ApplicationIntegration/AmazonSNS.puml
!includeurl AWSPUML/ApplicationIntegration/AmazonSQS.puml
node "Web Server" {
artifact "Web App" as webapp
}
node "Application Server" {
artifact "API Server" as apiserver
}
node "Database Server" {
AmazonRDS(database)
}
webapp --> apiserver
apiserver --> database
@enduml
Other Sources
Not working.
Unfortunately, the github shown above has been changed a lot. So the code above won’t work.
Luckily we can obtain example for github above.
@startuml
!define AWSPuml https://raw.githubusercontent.com/awslabs/aws-icons-for-plantuml/v15.0/dist
!include AWSPuml/AWSCommon.puml
node "Web Server" {
artifact "Web App" as webapp
}
node "Application Server" {
artifact "API Server" as apiserver
}
node "Database Server" {
AmazonRDS(database)
}
webapp --> apiserver
apiserver --> database
@enduml
The generated diagram from draw.io can be shown as below
PUML Source
You can obtain the schematic source of PlantUML diagram here:
I really don’t know about what this diagram is talking about. I guess I just have to save the diagram in this article and review later on.
What is Next 🤔?
We are done with artefact. Now we can think about prototype.
Consider continue reading [ User - Initial SQL ].
Thank you for reading.