AWS基礎学習
■(必須)初期設定をする
ログイン(アカウントの作成は済み)
料金アラートの設定
IAM(Identity and Access Management (IAM))で作業用ユーザーを作成
CloudTrailで操作ログを記録
■(ドメインを取得後、必要)Route53 ドメインを登録
ドメインの購入
Route53でDNSを設定
/*------------------------------------------------------
Webサーバーを使ったやり方
- -----------------------------------------------------*/
■VPCネットワークを構築
IPアドレスを決める
VPCを作成
サブネットを作成
ルーティングを設定
■EC2 Webサーバーを構築
EC2インスタンスを設置
Apacheをインストール
ファイアーウォールを設定
■RDS DBサーバーを構築
プライベートサブネットを作成
RDSを設置
WebサーバーからRDSに接続
そのほか、ECS、ECR、Fargate、Javascript SDK、をはじめ、
様々なバックエンドの設定が必要
/*------------------------------------------------------
サーバーレスのやり方
- -----------------------------------------------------*/
■Amplify
(別ページ参照)
/*------------------------------------------------------
主にWebサーバーを使ったやり方での
参考URL(Amazon)
- -----------------------------------------------------*/
■AWS SDK for JavaScript
https://aws.amazon.com/jp/sdk-for-javascript/
■AWS での JavaScript
https://aws.amazon.com/jp/developer/language/javascript/?nc1=f_dr
■AWSFargate の Amazon ECS
https://docs.aws.amazon.com/ja_jp/AmazonECS/latest/developerguide/AWS_Fargate.html
■Amazon Elastic Container Registry とは
https://docs.aws.amazon.com/ja_jp/AmazonECR/latest/userguide/what-is-ecr.html?pg=ln&sec=hs
■Code Pipeline プロジェクトを作成
https://ap-northeast-1.console.aws.amazon.com/codesuite/codepipeline/start?region=ap-northeast-1
/*------------------------------------------------------
主にWebサーバーを使ったやり方での
参考URL(別サイト)
- -----------------------------------------------------*/
Aws Code PipelineでReactjs/Nextのデプロイを自動化!ECSへ展開してみました
https://www.ragate.co.jp/blog/articles/2200
【AWS Lambdaとは?】初心者にもわかりやすく解説
https://www.wafcharm.com/blog/aws-lambda-for-beginners/
https://ap-northeast-1.console.aws.amazon.com/ecs/home?region=ap-northeast-1#/getStarted
https://docs.aws.amazon.com/ja_jp/AmazonECS/latest/developerguide/Welcome.html
https://docs.aws.amazon.com/ja_jp/AmazonECS/latest/developerguide/docker-basics.html
https://zenn.dev/mame_06/articles/5ed6039a3a300b
https://www.ragate.co.jp/blog/articles/2200
https://cloudbees.techmatrix.jp/jenkins/
https://business.ntt-east.co.jp/content/cloudsolution/column-try-37.html
https://qiita.com/sugurutakahashi12345/items/dc23dab2613b0e6103e8