-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.DS_Store | ||
.hugo_build.lock | ||
.venv | ||
public/ | ||
resources/_gen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# AWS static web application | ||
|
||
![AWS static web application](https://raw.githubusercontent.com/dpurge/dpurge.github.io/gh-pages/docs/devops/blueprints/aws-static-webapp.png) | ||
|
||
Components: | ||
|
||
- *AWS Shield Standard* - free protection against common DDoS attacks, | ||
applied automatically to CloudFront and Route 53. | ||
- *Route 53* - Domain Name System web service, performs domain registration, | ||
DNS routing and health checking. | ||
- *Hosted Zone* - container for records specifying how to route traffic for a | ||
specific domain. | ||
- *CloudFront* - content delivery network for distributing static content from | ||
edge locations. | ||
- *S3 bucket* - cloud storage for web content | ||
- *Argo Workflows* - pipelines producing web content and publishing it to the | ||
cloud storage |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
from diagrams import Diagram, Cluster, Edge | ||
|
||
from diagrams.aws.general import Users | ||
from diagrams.aws.network import Route53 | ||
from diagrams.aws.network import Route53HostedZone | ||
from diagrams.aws.security import Shield | ||
from diagrams.aws.network import CloudFront | ||
from diagrams.aws.storage import SimpleStorageServiceS3 | ||
|
||
from diagrams.onprem.gitops import ArgoCD | ||
|
||
with Diagram("AWS static WebApp", filename="aws-static-webapp", show=False, direction="LR"): | ||
|
||
users = Users("Users") | ||
|
||
with Cluster("AWS Cloud"): | ||
shield = Shield() | ||
dns = Route53("DNS") | ||
hosted_zone = Route53HostedZone("Hosted Zone") | ||
cdn = CloudFront("CDN") | ||
storage = SimpleStorageServiceS3("Storage") | ||
|
||
with Cluster("On-prem"): | ||
workflow = ArgoCD("Workflow") | ||
|
||
users >> Edge(forward=True, reverse=True) >> dns | ||
dns >> Edge(forward=True, reverse=True) >> hosted_zone | ||
|
||
hosted_zone >> Edge(forward=True, reverse=True) >> cdn | ||
cdn >> Edge(style="dashed", forward=True, reverse=True) >> storage | ||
|
||
storage << workflow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
diagrams |