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
ローカル環境で AWS CDKを試す
Search
Shusaku Yasoda
August 28, 2023
Technology
530
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ローカル環境で AWS CDKを試す
Shusaku Yasoda
August 28, 2023
More Decks by Shusaku Yasoda
See All by Shusaku Yasoda
Amazon CodeWhispererでAWS CDKを試す
yas0da
2
1.1k
Other Decks in Technology
See All in Technology
JAWSUG TOHOKU 青森支部 「LoGoチャット」のAWS移行で 乗り越えたこと
taketakekaho
0
340
その Valkey 使いこなしていますか?
onk
PRO
5
1.5k
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
4
1.2k
Getting Started with Google Antigravity
glaforge
0
310
会社説明資料
persolserverworks
0
9.8k
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
260
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
Classmethod Company Deck
satoshi7
1
700
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
1
190
⾮構造化データを価値に変える AI エージェント基盤とその組織
ivry_presentationmaterials
0
190
CTO Night|NotionのAIエージェントとFDE
kzkhykw1991
0
150
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
8
3.1k
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Building AI with AI
inesmontani
PRO
1
1.3k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
570
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
400
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
59k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
750
The Curse of the Amulet
leimatthew05
3
16k
Transcript
ローカル環境で AWS CDKを試す JAWS-UG 朝会 株式会社野村総合研究所 Shusaku Yasoda 2023年8月28日
所属 社会人歴 業務 自己紹介 名前 八十田 周作(Yasoda Shusaku) 株式会社野村総合研究所 3年目(2021年入社)
最近はフロントエンド (Vue/Nuxt)の開発支援
今日お話しすること
アジェンダ LocalStackとは AWS CDKを試してみる まとめ
LocalStackとは
AWS環境をローカルでエミュレートできるツール 2016年スタートした新しいOSSで2022年にはバージョン1.0が プランは4種類(Community,Pro,Team,Enterprice) 正式にリリースされ様々な機能が追加 LocalStack 3
Comminity AWS Certificate Manager (ACM) API Gateway DynamoDB EC2 S3
Lambda IAM e t c . . . Pro Amplify CloudFront EFS EKS ElastiCache RDS/Aurora Serverless CodeCommit Cognito e t c . . . LocalStackで使えるAWSサービス
LocalStack CLIをインストールして使用 LocalStackインスタンスの管理ツール LocalStack Cockpit 画面操作でLocalStackを管理することが可能 LocalStack Docker Extenstion Docker
Desktopを使用してLocalStackインスタンスと連携 Docker/Docker-Compose Helm LocalStackの使用方法 3
AWS CDKを試してみる
LocalStackの起動 LocalStack CLIからLocalStackを起動 Docker Desktopから確認可能
AWS CDKの準備 3 AWS CDK AWSリソースをプログラムで定義し、クラウドインフラストラクチャを TypeScript、JavaScript、Python、Java、C#、GOに対応 LocalStackの場合、cdklocalコマンドを用いてプロジェクトを作成 自動化するためのツール
Lambda+APIGatewayを作成
デプロイ時の初期設定 cdklocal bootstrap deployコマンドでLocalStackへデプロイ LocalStackへのデプロイ
デプロイ後の画面 デプロイ後
払い出されたURL https://232d1rbga1.execute-api.localhost.localstack.cloud:4566/prod/ 疎通確認する場合のURL http://localhost:4566/restapis/<apiId>/<stageId>/_user_request_/ apiId:232d1rbga1 stageId:prod 疎通確認結果 疎通確認
まとめ 無料/有料プランがあるがメジャーなサービスだけなら無料でOK LocalStackを使うことでローカルにAWS環境を起動 今回の内容はQiita記事にも書いてます https://qiita.com/yasomaru/items/0ffeba00feb495ee3 8dd AWS CDKを無料で練習することができる AWSのプロファイルを切り替えることで、LocalStack でデプロイしたリソースを実際のAWS環境へのデプロ
イも可能
Thank You !