Skip to content

Commit

Permalink
feat(aws): add s3
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorin committed Apr 17, 2019
1 parent 90ab922 commit b758a0b
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 28 deletions.
10 changes: 10 additions & 0 deletions aws/aws-macros.puml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,13 @@

!define codedeploy(eId, eLabel) entity(node, eId, CodeDeploy, eLabel)
!define codedeploy(eId) codedeploy(eId, Deployment Manager)

!define s3(eId, eLabel, eTech) entity(storage, eId, SimpleStorageService, eLabel, eTech)
!define s3(eId, eLabel) entity(storage, eId, SimpleStorageService, eLabel)
!define s3(eId) s3(eId, S3)

!define s3_standard(eId, eLabel) s3(eId, eLabel, Standard)
!define s3_standard(eId) s3_standard(eId, S3 Standard)

!define s3_glacier(eId, eLabel) s3(eId, eLabel, Glacier)
!define s3_glacier(eId) s3_glacier(eId, S3 Glacier)
4 changes: 4 additions & 0 deletions aws/aws-styles.puml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,9 @@ skinparam node<<CodeDeploy>> {
BorderColor AWS_COLOR
StereotypeFontColor AWS_COLOR
}
skinparam storage<<SimpleStorageService>> {
BorderColor AWS_COLOR
StereotypeFontColor AWS_COLOR
}

skinparam defaultTextAlignment center
57 changes: 29 additions & 28 deletions aws/example1.puml
Original file line number Diff line number Diff line change
@@ -1,36 +1,37 @@
@startuml
!includeurl https://raw.githubusercontent.com/tmorin/plantuml-libs/master/aws/aws-all.puml
'!include aws-all.puml
'!include aws-macros.puml
'!include aws-constants.puml
'!include aws-styles.puml

external_systems(extsys)
external_systems(provider, External Provider)
frame UDD {
sns(udd_sns)
sqs(udd_sqs)
msk(udd_msk)
api_gateway(udd_ag)
rds_mariadb(udd_db)
rds_replica(udd_db_rep)
elasticache_memcached(udd_memcached)
eks(udd_eks)
elb(udd_elb)
ebs(udd_ebs)
}
sns(app_sns)
sqs(app_sqs)
msk(app_msk)
api_gateway(app_ag)
rds_mariadb(app_db)
rds_replica(app_db_rep)
elasticache_memcached(app_memcached)
eks(app_eks)
elb(app_elb)
ebs(app_ebs)
s3_glacier(app_s3)

extsys --> udd_ag : fmt_tech(HTTPS)
extsys --> udd_sqs : fmt_tech(HTTPS)
extsys <-- udd_sns : fmt_tech(HTTPS/mails/...)
extsys <--> udd_msk : fmt_tech(TCP)
udd_ag --> udd_elb : fmt_tech(HTTP(S))
udd_eks -u-> udd_sns : fmt_tech(HTTPS)
udd_eks -u-> udd_sqs : fmt_tech(HTTPS)
udd_eks -u-> udd_msk : fmt_tech(TCP)
udd_eks --> udd_memcached : fmt_tech(TCP)
udd_eks --> udd_db : fmt_tech(TCP)
udd_eks --> udd_db_rep : fmt_tech(TCP)
udd_eks ..> udd_ebs : fmt_label(manages)
udd_eks -l-> provider : fmt_tech(HTTPS)
udd_eks .> udd_elb : manages
udd_db_rep .> udd_db : fmt_label(replicates)
extsys --> app_ag : fmt_tech(HTTPS)
extsys --> app_sqs : fmt_tech(HTTPS)
extsys <-- app_sns : fmt_tech(HTTPS/mails/...)
extsys <--> app_msk : fmt_tech(TCP)
app_ag --> app_elb : fmt_tech(HTTP(S))
app_eks -u-> app_sns : fmt_tech(HTTPS)
app_eks -u-> app_sqs : fmt_tech(HTTPS)
app_eks -u-> app_msk : fmt_tech(TCP)
app_eks --> app_memcached : fmt_tech(TCP)
app_eks --> app_db : fmt_tech(TCP)
app_eks --> app_db_rep : fmt_tech(TCP)
app_eks ..> app_ebs : fmt_label(manages)
app_eks -l-> provider : fmt_tech(HTTPS)
app_eks .> app_elb : manages
app_db_rep .> app_db : fmt_label(replicates)

@enduml

0 comments on commit b758a0b

Please sign in to comment.