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
20250215__開発用のAWS環境が無い_そんなあなたにLocalStack_.pdf
Search
Jazuma
February 12, 2025
Programming
110
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
20250215__開発用のAWS環境が無い_そんなあなたにLocalStack_.pdf
Jazuma
February 12, 2025
Other Decks in Programming
See All in Programming
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
470
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
R8 の設定見直しでアプリサイズ削減
andpad
0
150
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
14
6.6k
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
270
カツオ、ご期待ください
suneo3476
0
150
Agents on Rails - Rails at Scale 2026
irinanazarova
0
330
20260914 AIエージェント時代のPlatform Engineering LLM基盤とプロダクトの責務境界線
kanfab1
7
2.4k
Domain-Driven Transformation
hschwentner
2
2.3k
JRuby: Past, Present, and Future
headius
0
220
速習iPhone Duo対応
yuukiw00w
2
960
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
910
Featured
See All Featured
Skip the Path - Find Your Career Trail
mkilby
1
240
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
350
Documentation Writing (for coders)
carmenintech
77
5.6k
Bash Introduction
62gerente
615
220k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
380
So, you think you're a good person
axbom
PRO
2
2.2k
The Limits of Empathy - UXLibs8
cassininazir
1
700
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
270
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
The Curious Case for Waylosing
cassininazir
1
550
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Transcript
「開発用のAWS環境が無い」 そんなあなたにLocalStack!
自己紹介 • 名前: 甘酢(@amazu_karaage) • 職業: BtoB Saasの開発・運用等 • 興味関心:
コンテナ・監視・Kotlin/Java • 趣味:ランニング(フルマラソンsub4程度) • 一言:ORIONのイベント初参加です!よろしくお願いします
こんな経験はありませんか? • ローカル環境でもAWSと接続して動確したい… • でもローカル用AWS環境までは予算が下りない… • 予算が下りても環境ができるのは2週間後… • 仕方なくモックで動確してるが不安で不安で震える…
そんなあなたに! LocalStackがおススメ!!
LocalStackとは? • ざっくり言うとAWSの各種サービスをエミュレートするサービス • Dockerコンテナで利用するのが便利 • 無料&アカウントの設定が不要
LocalStackでエミュレートできるAWSサービス例
サンプルコード(Docker Composeで起動する)
サンプルコード(コンテナ内のコマンドラインで操作する) # BUCKET_NAME=“my-test-bucket” # awslocal s3 mb s3://$BUCKET_NAME make_bucket: my-test-bucket
# awslocal s3 cp sample.txt s3://$BUCKET_NAME upload: ./sample.txt to s3://my-test-bucket/sample.txt コンテナ起動の度に毎回 リソース作るのは辛い
サンプルコード(起動時に初期データを投入するスクリプト)
初期化スクリプト実行ログ
注意点 • (Dockerで使う場合)イメージサイズがデカい(1GB超え) • (ローカルで動かしてるので当たり前だが)実際にAWSと通信してい るわけではない $ docker images REPOSITORY
TAG IMAGE ID CREATED SIZE localstack/localstack latest cc72e74ac928 4 hours ago 1.18GB
参考情報 https://docs.localstack.cloud/overview/ https://docs.localstack.cloud/references/ https://hub.docker.com/r/localstack/localstack https://github.com/localstack/localstack https://zenn.dev/yunbopiao/articles/10a8b37a8d6464 https://zenn.dev/horitaka/articles/localstack-docker https://qiita.com/outerlet/items/8199c2f4eb7cbc678f16 ※ (いずれも2025/02/12に閲覧)