たまたま2020年まで雲を扱っていませんでした。ついにこのトピックを掘り下げたとき、AWSで提供される豊富なサービスから少し迷子になりました。
次の機能を備えたアプリケーションを作成する必要がありました。
- フェイスブックまたはグーグル経由でログインします。
- メディアファイルをダウンロードして表示する機能。
- サーバーからリアルタイムでイベントを受信します。
この記事では、プロジェクトを実装してプロセスを感じるために必要なサービスについて説明します。

アプリケーションアーキテクチャ
ウェブサービス
- - -. AWS Fargate Elastic Beanstalk.
Fargate
PaaS ECS EKS (EKS-Elastic Kubernetes Service, ECS-Elastic Container Service — kubernetes). — (Task), .
Elastic Beanstalk
Fargate. (EC2). -. — , . — . Elastic Beanstalk .
| EC2 | Fargate | ||||
|---|---|---|---|---|---|
| t2.micro | 10% | $0.0134 | 1vCPU,1GB | $0.05167 | 3.85 |
| t2.medium | 20% | $0.0536 | 2vCPU,4GB | $0.11356 | 2.12 |
| t2.xlarge | 22.5% | $0.2144 | 4vCPU,16GB | $0.268 | 1.25 |
Elastic Beanstalk — . Fargate .
Application Load Balancer
Fargate, Elastic Beanstalk . . , . Fargate Task Definition, Elastic Beanstalk Auto Scaling Group.
Application Load Balancer HTTP. HTTPS, , CloudFront, . ALB HTTP.
.
DynamoDB
NoSql . ( 10–20 ). , .
S3
. . . .
Parameters Store
. .
, , , , . , , - S3.
.
Route53
DNS AWS.
CloudFront
CDN AWS. CloudFront - S3, api- -. Http Https ( S3 bucket ).
AppSync
AppSync — — AWS Amplify. serverless- no-code-. “”, AppSync, AWS, .
Cognito
aws . User Pool c Google, Amazon, Facebook .
DevOps
.
IAM-Identity and Access Management.
CloudFormation, , , SDK. .
:
- CodeCommit — git-, github.
- CodeBuild — . ECR-Elastic Container Repository.
- CodeDeploy — , Fargate Elastic Beanstalk.
- CodePipeline — .
CloudWatch. , , .
, , -, 9 AWS, , — 8 .
AWS, , — , 17 !
私が始めたとき、私はそれが好きかもしれないとは思いませんでした。私は抵抗した。そのため、たとえば、Cognitoを使用する代わりに、jwt-authenticationメカニズムを自分でコーディングしました。
しかし、私は考えを変えました。それでも、インフラストラクチャコードの負担を軽減し、ビジネスロジックに集中するのは良いことです。もう少し快適になった後、アミューズメントパークで子供の気持ちを体験し始めました。新しいサービスはそれぞれ、新しい楽しみをもたらします。この公園がまだ十分に探索されていないことを嬉しく思います。私自身、私は長い間ここにいることに決めました。