Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
500
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
8.1k
Infrastructure as Codeで壁を越える技術を身につけよう!
konokenj
4
1.3k
Other Decks in Programming
See All in Programming
dotfiles 式年遷宮 令和最新版
masawada
1
690
Why Kotlin? 電子カルテを Kotlin で開発する理由 / Why Kotlin? at Henry
agatan
2
6.7k
リリース時」テストから「デイリー実行」へ!開発マネージャが取り組んだ、レガシー自動テストのモダン化戦略
goataka
0
110
社内オペレーション改善のためのTypeScript / TSKaigi Hokuriku 2025
dachi023
1
540
スタートアップを支える技術戦略と組織づくり
pospome
8
15k
Herb to ReActionView: A New Foundation for the View Layer @ San Francisco Ruby Conference 2025
marcoroth
0
250
ソフトウェア設計の課題・原則・実践技法
masuda220
PRO
26
22k
connect-python: convenient protobuf RPC for Python
anuraaga
0
370
dnx で実行できるコマンド、作ってみました
tomohisa
0
140
令和最新版Android Studioで化石デバイス向けアプリを作る
arkw
0
340
TUIライブラリつくってみた / i-just-make-TUI-library
kazto
1
320
バックエンドエンジニアによる Amebaブログ K8s 基盤への CronJobの導入・運用経験
sunabig
0
140
Featured
See All Featured
The Invisible Side of Design
smashingmag
302
51k
Making Projects Easy
brettharned
120
6.5k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.8k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.3k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
Code Reviewing Like a Champion
maltzj
527
40k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.2k
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