-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new ADR for AWS; start of raft of deployment view
- Loading branch information
miyagis-forests
committed
Nov 23, 2020
1 parent
83e0980
commit a4a2572
Showing
9 changed files
with
65 additions
and
5 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
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
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,33 @@ | ||
# ADR 006: Use AWS as cloud provider | ||
Farmacy Food is not an IT enterprise, and has limited work force to manage the IT infrastructure. | ||
The organization wants to see quick growth in the number of customers and orders placed. This growth requires scalability | ||
of the running platform. | ||
|
||
## Decision | ||
The Farmacy Food server-side system will be run on a public cloud. We will use Amazon AWS as the cloud provider. | ||
|
||
## Rationale | ||
First off, there are good reasons to deploy on the cloud: | ||
- In the first Kata session, Kwaku himself said he expects to use the cloud. | ||
- These days, virtually all startups that rely on a software solution on the Web use a public cloud infrastructure. Startups don't | ||
have the people and the money to install and manage physical server machines and VMs on top of those. | ||
- On premises infrastructure do not give the elasticity (horizontal scalability) [required by Farmacy Food](../requirements/quality-attribute-rqmts.md). | ||
(Twenty years ago, if your website/service went "viral" you would run to Radio Shack to buy more CPUs and call your ISP | ||
to increase the link bandwidth. Today, we simply deploy the solution in the cloud.) | ||
|
||
The other aspect, is the choice of AWS: | ||
- The truth is... other cloud providers, such as Microsoft Azure and Google Cloud would provide the variety | ||
of services that Farmacy Food requires, with equivalent quality and cost. | ||
- For the sake of the Kata, we picked AWS to be able to illustrate this important architecture perspective: *how your system is | ||
deployed*. The choice of AWS over others is based on our own team familiarity with the platform--one of us is a Certified AWS Developer | ||
and our organization has a contract with AWS (via a cloud broker). | ||
- Moving forward our suggestion to Farmacy Food is to pick one of the big cloud providers based on the tech skills of your IT team (if you | ||
have an expert in Azure and you are a startup, you just go with Azure, for example). | ||
|
||
|
||
## Status | ||
Proposed | ||
|
||
## Consequences | ||
- Farmacy Food needs to create an AWS account and hire or train an engineer that is familiar with AWS services. | ||
- The CI/CD jobs/pipelines shall include integration with AWS. |
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,24 @@ | ||
# AWS Deployment View | ||
This view shows how the server-side components of the Farmacy Food system can be deployed on the AWS platform. | ||
|
||
 | ||
|
||
|
||
## Element Catalog | ||
|
||
#### EKS | ||
- [Elastic Kubernetes Service](https://aws.amazon.com/eks/features/) makes it easy to run your system to run on a Kubernetes (K8S) | ||
cluster in the cloud. Many of the tasks related to creating, configuring, and monitoring K8S nodes and clusters is done for you. | ||
- EKS runs on EC2 instances inside a private network (VPC) that you define within AWS. | ||
|
||
|
||
## Related ADRs | ||
- [AWS as the cloud provider](../ADRs/ADR006-aws-as-cloud-provider.md) | ||
|
||
## Related Views | ||
- [Customer Account Management - microservice view](user-account-mgmt-microservice-view.md) | ||
- [Catalog - microservice view](catalog-microservice-view.md) | ||
- [Order - microservice and EDA view](order-microservice-eda-view.md) | ||
- [Catalog - microservice view](catalog-microservice-view.md) | ||
- [Replenisher - microservice and EDA view](replenish-microservice-eda-view.md) | ||
- [Hexagonal reference architeture view](hexagonal-reference-architecture.md) |
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