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

Amazon CodeCatalyst のサーバーレス Blueprint 探訪 / Serverless Blueprint in Amazon CodeCatalyst

kanamsasa
December 17, 2022

Amazon CodeCatalyst のサーバーレス Blueprint 探訪 / Serverless Blueprint in Amazon CodeCatalyst

kanamsasa

December 17, 2022
Tweet

More Decks by kanamsasa

Other Decks in Technology

Transcript

  1. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon CodeCatalyst のサーバーレス Blueprint 探訪 Masao Kanamori Solutions Architect DevAx Amazon Web Services Japan G.K.
  2. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. ⾃⼰紹介 • ⾦森 政雄 Ø 所属/役職 : DevAx(Developer Acceleration) チーム ソリューションアーキテクト Ø 好きなサービス Amazon Elastic Container Service AWS Step Functions AWS Fault Injection Simulator
  3. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. AWS DevAx (Developer Acceleration) チーム は、AWS での開発者体験を担当する、 デベロッパースペシャリストソリューションアーキテクトで構成されています。 開発チームが AWS でクラウドネイティブアプリケーションの設計、移⾏、 プロトタイプ、運⽤を⾏えるよう、お客様や開発者と協⼒して⽀援します。 私たちの⽬標は、コミュニティと深く広く関わり、お客様を通じてスケールアウトし、 開発者のオーディエンスとつながることです
  4. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 4 サーバーレスアプリケーションのCI/CD どうやっていますか?
  5. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 5 これまでの選択肢
  6. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. CI/CDパイプライン SAM Pipelines – CI/CD のひな形を自動生成 ソースコード 開発者 コードリポジトリ CI/CDパイプライン用雛形ファイルを生成 (例:CodePipeline用CFnテンプレート) template.yaml (SAMテンプレート) > sam pipeline bootstrap > sam pipeline init SAMがパイプライン 自体も構成(雛形を生成) CloudFormation Build Source sam build Deploy Test sam deploy SAM sam local →CI/CDパイプラインを含めた開発の立ち上げを加速 SAM
  7. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. CDK Pipelines • CDKアプリケーションのCI/CDパイプラインのための⾼レベルライブラリ。 パイプラインは、cdk deployを1回実⾏するだけで⾃⼰構成可能。 その後、ソースコードに新しいCDKアプリケーションまたはステージを追加する と、パイプラインは⾃動的に更新される CDKパイプラインのステージ https://aws.amazon.com/jp/blogs/news/cdk-pipelines-continuous-delivery-for-aws-cdk-applications/
  8. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. でも、開発に必要なのはCI/CD だけではないですよね?
  9. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. クラウドアプリケーション開発の複雑さと摩擦 チ ー ム は S D L C ( ※ ) の 重 要 な 活 動 と 顧 客 価 値 創 造 の バ ラ ン ス を 取 る の に 苦 労 し て い る 9 環境 セットアップ アプリケーション セキュリティ リリース 管理 組織内での ⼀貫性 テクノロジー 構成 ツール の運⽤ ツール インテグレーション コラボレーション ※SDLC: ソフトウェア開発ライフサイクル(Software Development Life Cycle )
  10. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. ビジネスに集中するため、 組織が統合ツールを求めることが増えている 10 統合されている オーバーヘッドの減少 統合されていない オーバーヘッドの増加 ⾃分で ビルド する オーダーメイド ツールチェーン サービス スイート 統合された 体験
  11. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon CodeCatalyst: 統合ソフトウェア開発サービス 11 ü マネージド ü オールインワン ü 統合されている ü セキュリティ重視 ü フレキシブル ü さらにもっと 計画 プロジェクト マネジメント コラボレーション コード ビルド テスト … デプロイ Preview
  12. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Amazon CodeCatalyst: メリット 12 プロジェクトの セットアップを加速 ⽇々のワークフロー を⾃動化 ⾃動化された環境 スムーズな コラボレーション
  13. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 13 Demo: アカウント作成とAWS との紐付け
  14. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. プロジェクトの セットアップを加速 14 統合プロジェクトツール を数分でセットアップ 適切に設計された アプリケーションパターン のライブラリから選択 GitHub やJira を使い続けることも 既存のプロジェクトの 作業を継続することも
  15. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 15 Demo: Blueprint の起動
  16. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. ⽇々のワークフローを⾃動化 16 デプロイメントの⾃動化 セキュアなリリース⾃動化 ビジュアルエディター または YAML による作成 柔軟性に優れたマネージド コンピュートでビルド GitHub アクション との併⽤ テストとレポート作成を 効率化 ビルドの来歴 …
  17. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. ⾃動化された環境: デプロイ環境 17 プロジェクト ブループリントで IaC を⽣成 サービスプロビジョニング を⾃動化 環境更新を追跡する コードのデプロイ を追跡する
  18. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. AWS へのよりセキュアなデプロイ 18 • 信頼できるサービスプリンシパル • 最⼩権限の IAM ポリシー 継続的デプロイ
  19. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 19 Demo: ワークフロー
  20. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. ⾃動化された環境: 開発環境 20 必要に応じて環境の サイズを変更 コンテキストをすばやく 切り替える コードとして定義 オンデマンドで 起動 ⼈気の IDE を利⽤可能 ⾃分のコードだけに集中 開発環境の作成
  21. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 21 Demo: 開発環境
  22. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. スムーズなコラボレーション 22 チームメイトを メールで招待 Issueの追跡 ⾃動通知を設定 プロジェクトの アクティビティを フォロー
  23. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 23 Demo: Issue 管理、Pull Request、Slack通知
  24. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. 全て使っても良いし、⼀部だけでも良い 25 ソース リポジトリ Issue トラッキング リリースオート メーション 開発環境
  25. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Letʼs Try!! (まだ Preview なので注意) 26 ブループリントを使い サーバーレス Web アプリケーション を構築 開発環境を作成する SA に相談、 Feedback https://codecatalyst.aws
  26. © 2022, Amazon Web Services, Inc. or its affiliates. All

    rights reserved. Thank you! © 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. Amazon Web Services, AWS, the Powered by AWS logo, and all AWS service names used in this slide deck are trademarks of Amazon.com, Inc. or its affiliates.