Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
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
390
AI Agent 時代のソフトウェア開発を支える AWS Cloud Development Kit (CDK)
konokenj
6
1.3k
ご注文の差分はこちらですか? 〜 AWS CDK のいろいろな差分検出と安全なデプロイ
konokenj
7
1.3k
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
21k
AWS Infrastructure as Code の新機能を総まとめ! 2023.1-2024.5
konokenj
13
7.8k
Infrastructure as Codeで壁を越える技術を身につけよう!
konokenj
4
1.3k
Other Decks in Programming
See All in Programming
チーム開発の “地ならし"
konifar
4
3.1k
CSC509 Lecture 10
javiergs
PRO
0
170
例外処理を理解して、設計段階からエラーを見つけやすく、起こりにくく #phpconfuk
kajitack
12
5.8k
Kotlin + Power-Assert 言語組み込みならではのAssertion Library採用と運用ベストプラクティス by Kazuki Matsuda/Gen-AX
kazukima
0
110
Flutterアプリ運用の現場で役立った監視Tips 5選
ostk0069
1
340
乱雑なコードの整理から学ぶ設計の初歩
masuda220
PRO
23
7.4k
Introducing RemoteCompose: break your UI out of the app sandbox.
camaelon
2
540
Web エンジニアが JavaScript で AI Agent を作る / JSConf JP 2025 sponsor session
izumin5210
2
460
Dive into Triton Internals
appleparan
0
480
Eloquentを使ってどこまでコードの治安を保てるのか?を新人が考察してみた
itokoh0405
0
3.1k
Register is more than clipboard
satorunooshie
1
460
AI駆動開発ライフサイクル(AI-DLC)のホワイトペーパーを解説
swxhariu5
0
500
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Automating Front-end Workflow
addyosmani
1371
200k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
RailsConf 2023
tenderlove
30
1.3k
Docker and Python
trallard
46
3.6k
Speed Design
sergeychernyshev
32
1.2k
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
320
Writing Fast Ruby
sferik
630
62k
Designing for Performance
lara
610
69k
A better future with KSS
kneath
239
18k
The Pragmatic Product Professional
lauravandoore
36
7k
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