Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AWS Copilot で幸せアプリ開発 / Happy Building with AWS Copilot

AWS Copilot で幸せアプリ開発 / Happy Building with AWS Copilot

AWS Copilot を使用し AWS でコンテナアプリケーションの構築、リリース、運用 する話。
「Startup テックリード勉強会 -AWS編-」というイベントで話させて頂きました。
https://connpass.com/event/187972/

Yoshitaka Haribara

September 24, 2020
Tweet

More Decks by Yoshitaka Haribara

Other Decks in Technology

Transcript

  1. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. Amazon Web Services Startup ML Solutions Architect Yoshitaka Haribara, Ph.D. AWS Copilot で幸せアプリ開発 AWS Copilot を使用し AWS でコンテナアプリケーションの構築、リリース、運用
  2. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. 自己紹介とアジェンダ 今日話すこと AWS Copilot とは? 何が便利か︖ 針原 佳貴 (はりばら よしたか) スタートアップ ソリューションアーキテクト @_hariby
  3. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. AWS Copilot とは?
  4. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. テスト コード コンテナ
  5. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. アプリの開発 コード ? Amazon ECS サービスのセットアップ方 法はどうすればいいか。
  6. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. アプリの開発 サービスのセットアップ方 法はどうすればいいか。 どのようなインフラストラクチャ が必要か? データベースを追加するに はどうすればよいか? チームでサービスを開発する にはどうしたらいいか? サービスを追加および管理 するにはどうすればよいか? これらのサービスをデプロイする 方法は? 何か問題があるときはどうすれば いいか? prodに影響を与えずにテストする にはどうすればよいか? サービスを拡張するにはどうす ればよいか?
  7. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. アプリの開発 ビルド、リリース、運用 どうやって...
  8. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. ビルド、リリース、運用
  9. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. アプリを構築する サービスのセットアップ 方法はどうすればいいか。 どのようなインフラストラクチャ が必要か? インフラストラクチャではなく、 アーキテクチャの観点から考える
  10. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. アプリを構築する • VPC • サブネット • セキュリティグループ • ECS クラスタ • ECS サービス • Fargate タスク • サービスディスカバリ • ECR リポジトリ • Application Load Balancer • ACM 証明書
  11. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. アプリを構築する サービスを追加および管理 するにはどうすればよいか? チームでサービスを開発するには どうしたらいいか? 1つのアプリケーション、 多くのサービス。
  12. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. アプリを構築する サービスを追加および管理 するにはどうすればよいか? チームでサービスを開発するには どうしたらいいか? Website LoadBalancedWebService AdminPortal LoadBalancedWebService Worker BackendService TheNextBigThingApp
  13. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. アプリを構築する ビルトインの サービスディスカバリ worker.thenextbigthing.local Website LoadBalancedWebService AdminPortal LoadBalancedWebService Worker BackendService TheNextBigThingApp
  14. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. アプリを構築する 1人、または多数のチーム フロントエンドチーム ツールチーム バックエンドチーム Website LoadBalancedWebService AdminPortal LoadBalancedWebService Worker BackendService TheNextBigThingApp
  15. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. アプリを構築する ? データベースを追加する にはどうすればよいか? Website LoadBalancedWebService AdminPortal LoadBalancedWebService Worker BackendService Database BackendService TheNextBigThingApp
  16. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. アプリを構築する データベースを追加する にはどうすればよいか? DynamoDB RDS (予定) S3
  17. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. アプリのリリース prodに影響を与えずにテストするには どうすればよいか? us-west-2/devアカウント フロントエ ンド バックエン ド テスト環境 フロントエ ンド バックエン ド 本番環境 ap-northeast-1/prodアカウント
  18. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. アプリのリリース これらのサービスをすべてデプロイする方法は?
  19. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. ソース ビルド テスト 本番 アプリのリリース これらのサービスをすべてデプロイする方法は? ソースリポジトリ にプッシュ AWS CodeBuild: サービスイメージの ビルドとプッシュ ECS: テスト環境に サービスをデプロイ ECS: 本番環境への イメージのデプロイ
  20. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. アプリのリリース 継続的デリバリー は、 簡単であるべき。
  21. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. アプリのリリース
  22. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. アプリを操作する サービスに何か問題があるときは どうすればいいか?
  23. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. アプリを操作する サービスのコンフィギュレーションは どうすればよいか? 更新 & デプロイ
  24. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. 関連 URL • AWS Copilot CLI (preview) • https://github.com/aws/copilot-cli • AWS Copilot のご紹介 • https://aws.amazon.com/jp/blogs/news/introducing-aws-copilot/ • AWS Copilot によるコンテナアプリケーションの自動デプロイ • https://aws.amazon.com/jp/blogs/news/automatically-deploying- your-container-application-with-aws-copilot/
  25. © 2020, Amazon Web Services, Inc. or its Affiliates. All

    rights reserved. ありがとうございました! @_hariby