Slide 1

Slide 1 text

© 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.

Slide 2

Slide 2 text

© 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

Slide 3

Slide 3 text

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

Slide 4

Slide 4 text

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

Slide 5

Slide 5 text

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

Slide 6

Slide 6 text

© 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

Slide 7

Slide 7 text

© 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/

Slide 8

Slide 8 text

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

Slide 9

Slide 9 text

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

Slide 10

Slide 10 text

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

Slide 11

Slide 11 text

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

Slide 12

Slide 12 text

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

Slide 13

Slide 13 text

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

Slide 14

Slide 14 text

© 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 を使い続けることも 既存のプロジェクトの 作業を継続することも

Slide 15

Slide 15 text

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

Slide 16

Slide 16 text

© 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 アクション との併⽤ テストとレポート作成を 効率化 ビルドの来歴 …

Slide 17

Slide 17 text

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

Slide 18

Slide 18 text

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

Slide 19

Slide 19 text

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

Slide 20

Slide 20 text

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

Slide 21

Slide 21 text

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

Slide 22

Slide 22 text

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

Slide 23

Slide 23 text

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

Slide 24

Slide 24 text

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

Slide 25

Slide 25 text

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

Slide 26

Slide 26 text

© 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.