Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
開発者体験を変えるInfrastructure as Codeの新機能6選!
Search
Kenji Kono
March 02, 2024
Programming
9
1.7k
開発者体験を変えるInfrastructure as Codeの新機能6選!
AWSにおける最近のInfrastructure as Code (IaC) のアップデートからピックアップしてご紹介します。
JAWS Days 2024 のLT資料 (4分枠) です。
Kenji Kono
March 02, 2024
Tweet
Share
More Decks by Kenji Kono
See All by Kenji Kono
AI 駆動開発におけるコミュニティと AWS CDK の価値
konokenj
5
490
AI Agent 時代のソフトウェア開発を支える AWS Cloud Development Kit (CDK)
konokenj
6
1.3k
ご注文の差分はこちらですか? 〜 AWS CDK のいろいろな差分検出と安全なデプロイ
konokenj
7
1.4k
AWS Step Functions は CDK で書こう!
konokenj
9
1.9k
AWS IaCの注目アップデート 2024年10月版
konokenj
3
4k
Infrastructure as Code でセキュリティを楽にしよう!
konokenj
8
2.2k
初心者がおさえておきたいAWS CDKのベストプラクティス 2024
konokenj
32
22k
AWS Infrastructure as Code の新機能を総まとめ! 2023.1-2024.5
konokenj
13
8k
Infrastructure as Codeで壁を越える技術を身につけよう!
konokenj
4
1.3k
Other Decks in Programming
See All in Programming
[SF Ruby Conf 2025] Rails X
palkan
0
440
開発に寄りそう自動テストの実現
goyoki
1
360
AIと協働し、イベントソーシングとアクターモデルで作る後悔しないアーキテクチャ Regret-Free Architecture with AI, Event Sourcing, and Actors
tomohisa
5
18k
AIコーディングエージェント(Gemini)
kondai24
0
150
How Software Deployment tools have changed in the past 20 years
geshan
0
28k
新卒エンジニアのプルリクエスト with AI駆動
fukunaga2025
0
140
堅牢なフロントエンドテスト基盤を構築するために行った取り組み
shogo4131
6
1.9k
[堅牢.py #1] テストを書かない研究者に送る、最初にテストを書く実験コード入門 / Let's start your ML project by writing tests
shunk031
11
6.9k
ハイパーメディア駆動アプリケーションとIslandアーキテクチャ: htmxによるWebアプリケーション開発と動的UIの局所的適用
nowaki28
0
330
MAP, Jigsaw, Code Golf 振り返り会 by 関東Kaggler会|Jigsaw 15th Solution
hasibirok0
0
210
CSC305 Lecture 15
javiergs
PRO
0
240
AIコードレビューがチームの"文脈"を 読めるようになるまで
marutaku
0
310
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Unsuck your backbone
ammeep
671
58k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Optimizing for Happiness
mojombo
379
70k
The Invisible Side of Design
smashingmag
302
51k
Typedesign – Prime Four
hannesfritz
42
2.9k
Code Review Best Practice
trishagee
73
19k
GitHub's CSS Performance
jonrohan
1032
470k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.2k
How STYLIGHT went responsive
nonsquared
100
5.9k
Transcript
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 開発者体験を変える Infrastructure as Code の新機能 6選︕ J A W S D A Y S 2 0 2 4 - B - 1 1 ⾼野 賢司 シニア ソリューション アーキテクト アマゾン ウェブ サービス ジャパン合同会社 2024/3/2 1
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. ⾼野 賢司 シニア ソリューション アーキテクト @名古屋 アマゾン ウェブ サービス ジャパン合同会社 • ⽇本における IaC の普及や技術⽀援を担う バーチャルチームのリード • Baseline Environment on AWS (BLEA) 開発者 https://github.com/aws-samples/baseline-environment-on-aws こ う の け ん じ
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. IaC は ⽣成AI とクラウドをつなぐ鍵 • AWS CloudFormation, AWS CDK (TypeScript, Python), HashiCorp Terraform (HCL) をサポート • セキュリティスキャンにも対応 3 Amazon CodeWhisperer が IaC をサポート 2023/12/4 ⼀般提供開始 AWS CDK の例 AWS CloudFormation の例 Amazon CodeWhisperer にて AI を活⽤した新しいコード修正、 IaC サポート、および Visual Studio との統合提供を開始 https://aws.amazon.com/jp/blogs/news/amazon-codewhisperer- offers-new-ai-powered-code-remediation-iac-support-and- integration-with-visual-studio/
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. • AWS リソースをスキャンして CloudFormation テンプレートを ⽣成し、インポート可能 • 無料で利⽤可能 • スキャン回数やリソース数に 制限あり *1 • リソースインポート、 ドリフト検出、IaC Generator に 対応したリソースの⼀覧を提供 *2 4 IaC Generator 2024/2/5 ⼀般提供開始 *1 ... https://docs.aws.amazon.com/AWSCloudFormation/latest/ UserGuide/generate-IaC.html#generate-template-considerations *2 ... https://docs.aws.amazon.com/AWSCloudFormation/latest/ UserGuide/resource-import-supported-resources.html AWS CloudFormation にアプリケーション全体をインポート https://aws.amazon.com/jp/blogs/news/import-entire-applications- into-aws-cloudformation/
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. CDK に移⾏するための CLI コマンド。 3種類の⽅法で CDK App (コード) を ⽣成し、インポートまで補助 • --from-scan は IaC Generator の リソーススキャンを使⽤ • 最⼤ 100リソースまで⽣成可能 • 関連リソースはすべて含まれる • --from-stack はデプロイ済みの CloudFormation スタックを使⽤ • --from-path はローカルの CloudFormation テンプレートを使⽤ • L1 コンストラクトで記述される • ⽣成された README.md を読もう︕ 5 CDK Migrate 2024/2/2 プレビュー開始 CDK Migrate: AWS CDK への移⾏コマンドの発表 https://aws.amazon.com/jp/blogs/news/announcing-cdk-migrate-a- single-command-to-migrate-to-the-aws-cdk/ AWS CDK v2.126.0 ... --from-scan オプションを追加 AWS CDK v2.100.0 ... migrate コマンドを追加 (experimental)
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. • ドラッグ&ドロップ、リソース 間の接続で GUI で IaC を作成 • ⻑い CFn/SAM テンプレートも 簡単にリソース単位で編集 • SAM Sync ですぐにデプロイ • すべての CloudFormation リソースに対応 *1 • コード補完やリファレンス参照、 ⽣成 AI によるコード提案も可能 • CDK アプリの可視化にも有効 6 AWS Application Composer が VSCode に対応 2023/11/30 ⼀般提供開始 AWS Application Composer の IDE 拡張により、AI が⽣成する IaC を利⽤した視覚的な最新アプリケーション開発が強化されます https://aws.amazon.com/jp/blogs/news/ide-extension-for-aws-application-composer-enhances-visual-modern-applications-development-with-ai-generated-iac/ *1 ... 2023/9/23 ⼀般提供開始
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. • Application Composer と Step Functions Workflow Studio を シームレスに⾏き来できる • Application Composer で 定義した Lambda 関数などを 参照可能 • VSCode でも利⽤可能 7 AWS Application Composer が Step Functions に対応 2023/11/30 ⼀般提供開始 AWS Step Functions Workflow Studio が AWS Application Composer で 利⽤可能に https://aws.amazon.com/jp/blogs/news/aws-step-functions- workflow-studio-is-now-available-in-aws-application-composer/
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. • AWS マネジメントコンソールの 操作から AWS CLI コマンド、 CDK コード (Java, Python, TypeScript), CloudFormation テンプレートを ⽣成 AI を使⽤して⽣成 • ⽣成されたコードは Amazon Q や CodeWhisperer を 使⽤して改善していくのがおすすめ • us-east-1 の EC2 コンソールで プレビュー中 8 AWS Console-to-Code https://aws.amazon.com/jp/about-aws/whats-new/2023/11/aws- console-to-code-preview-generate-console-actions/ 2023/11/26 プレビュー開始
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 新しく stable になったモジュール • appconfig (v2.130.0) • apigatewayv2 (v2.112.0) • synthetics (v2.99.0) • batch (v2.96.0) • appsync (v2.60.0) 新しい L2 コンストラクト(⼀部) • ecs.ServiceManagedVolume (v2.122.0) • cloudfront.KeyValueStore (v2.118.0) • stepfunctions.DistributedMap (v2.127.0) • dynamodb.TableV2 (v2.95.0) • codedeploy.EcsDeploymentGroup (v2.50.0) 9 CDK の最新情報は X で配信しています AWS CDK の アップデート情報を つぶやいています #cdk_releases * v2.29.0 (2022年6⽉) から https://twitter.com/hashtag/ cdk_releases?src=hashtag_click&f=live
© 2024, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Thank you! Kenji Kono @konokenj 10