Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
情シスがMA移行を乗り切るIaC。AWS CDKで楽できたあれこれを語りたい。
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
SHINCHI Takahiro
December 15, 2023
Technology
1.5k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
情シスがMA移行を乗り切るIaC。AWS CDKで楽できたあれこれを語りたい。
SHINCHI Takahiro
December 15, 2023
More Decks by SHINCHI Takahiro
See All by SHINCHI Takahiro
Goのrate.Limiterで、429との戦いを終わらせる
shinchit
0
85
承認済みなのに差戻しできてしまうバグ、型で潰せます
shinchit
0
170
ゼロから始めるプロジェクトマネジメント Key Points
shinchit
0
1.2k
Other Decks in Technology
See All in Technology
20260930_Gemma4_Hands-on
tsho
0
240
SREでアラート疲れを 解決しよう!
kairim0
1
220
LocalStack を使ったサーバーレスアプリケーション開発 / Serverless Development with LocalStack
kakakakakku
1
340
UniFi(ユニファイ)AIカメラの現場活用
ludicmind
1
390
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
250
生成AIと進める探索的データ分析(2026.10.03 第122回Tokyo.R勉強会)
tatamiya
2
1.5k
[AWS 秋のクラウドオペレーション祭り 2026]AWS DevOps Agentで変わるリリースと運用対応 ~リリース管理機能と Directed actions のご紹介~
furuton
4
1.1k
初対面のメンバーがチームを組み、Claude Codeでゼロからサービスをリリース
mkdev10
1
110
FOSS4Gを活用した自治体業務DXの試み
470715
0
140
しろおびから始める!ログ活用の第一歩
shumei_ito
0
810
分析AIエージェントを育てる、動く環境を育てる
codatum
1
690
今さら理解するウェブフォントver.2026
takanorip
3
520
Featured
See All Featured
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
400
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Faster Mobile Websites
deanohume
310
32k
It's Worth the Effort
3n
188
29k
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
Skip the Path - Find Your Career Trail
mkilby
1
250
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
510
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
300
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
350
Optimizing for Happiness
mojombo
378
71k
RailsConf 2023
tenderlove
30
1.6k
A Tale of Four Properties
chriscoyier
163
24k
Transcript
情シスがMA移行を乗り切るIaC AWS CDKで楽できたあれこれを語りたい クラスメソッド株式会社 進地 崇裕 1
2 自己紹介 • 情報システムグループ 情報システム室 コアシステムチーム(長い) ◦ 進地 崇裕(しんち たかひろ)
• 仕事: 業務改善したり、営業支援したりな人 • 趣味: モンハン、尺八、ワンコと遊ぶ
3 Mission
4 そうだ! MAをPardotからHubSpotに 移行しよう!! (意訳)
5 年内に (重要)
6 いろんな課題
7 アーキテクチャ(?)を考える ↑APIある ↑APIある そしたら、Lambdaで色々ゴニョゴニョすればよろし (超シンプル)
8 AWS CDKの嬉しいところ 1. 5分で素のLambdaが作れる。 Role、EventBridgeのルールも簡単作成 2. コマンド一発でデプロイできる 3. バージョン管理できる。レビューもできる。
4. CFnやServerless Frameworkは記述量が多くて 手が疲れる 5. 新しく↑の言語、記法を覚えなくてよろし。 学習コスト低い。採用しやすい。保守性向上。
9 実際のコードサンプル 1. リソースはTypeScriptで作成(サンプル多いから)
10 実際のコードサンプル 2. Lambda本体はPythonで作成がおすすめ (jsはライブラリのアップデートが激しくて辛いので)
11 結果!Mission Clear!(色々課題はまだある) MA移行の各課題を解決する Lambdaを2weeksぐらいで 爆速開発
12 カスタムAPIも爆速 API Gatewayと絡めてカスタムAPIの作成も 爆速でできた const lambdaIntegration = new LambdaIntegration(lambda);
const apigw = new RestApi(this, "apigw", { restApiName: "apigw", deployOptions: { loggingLevel: MethodLoggingLevel.INFO, dataTraceEnabled: true, metricsEnabled: true, }, defaultCorsPreflightOptions: { allowOrigins: Cors.ALL_ORIGINS, allowMethods: Cors.ALL_METHODS, allowHeaders: Cors.DEFAULT_HEADERS, statusCode: 200, }, endpointTypes: [EndpointType.REGIONAL], cloudWatchRole: true });
13 Cognito連携も爆速 既存のCognitoユーザプールと繋いだりも 爆速でできた // 既存のユーザープールを使う const userPool = cognito.UserPool.fromUserPoolArn(
this, 'ExistingUserPool', `arn:aws:cognito-idp:ap-northeast-1:${process.env.AWS_ACCOUNT_ID}:u serpool/${process.env.COGNITO_USER_POOL_ID}` ); // Cognitoのユーザープールにクライアントを追加 const userPoolClientName = 'companyAndContactLinkerUserPoolClient'; userPool.addClient(userPoolClientName, { userPoolClientName: userPoolClientName, authFlows: { userPassword: true }, });
14 まとめ AWS CDKで 1. Lambdaを爆速で用意できる 2. 学習コストを抑えて、保守性も向上できる 3. キータイピング量を抑えて腱鞘炎を回避できる
環境構築とコーディングを爆速で終わらせて、要件整理、課題 整理、タスク整理、トラブルシューティング、会議などの重要な (楽しくない)仕事をバリバリこなしましょう