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
AWS SDK触ってみる。
Search
jaxx2104
November 29, 2013
Programming
480
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AWS SDK触ってみる。
AWS SDK for PHP2 を使って S3 に画像をアップしてみます。
jaxx2104
November 29, 2013
More Decks by jaxx2104
See All by jaxx2104
freeeにおけるファンクションを超えた一気通貫でのAI活用
jaxx2104
3
1.8k
Relative CI が気になっている話
jaxx2104
0
570
デザインファイルにおける継続的インテグレーション
jaxx2104
2
530
漸進的な変更を支えるフロントエンド設計
jaxx2104
5
2.4k
価値あるフロントエンドデザイン領域開拓
jaxx2104
0
480
Gatsby と Netlify で JAMstack なメディア開発
jaxx2104
0
820
サイレントヒーローを作らない取り組み
jaxx2104
1
230
開発組織のメンバーからリーダーになって
jaxx2104
0
160
Nikuman
jaxx2104
0
500
Other Decks in Programming
See All in Programming
アルゴリズムは何を圧縮しているのか ─ Haskell から育った「圧縮代数」というメンタルモデル
naoya
16
3.7k
Google Apps Script で Ruby を動かす
kawahara
0
110
AI がコードを書く時代における新卒エンジニアの仕事風景 (2026) / New Graduate Engineers in the Era of AI Coding (2026)
sushichan044
0
240
Laravel Boostに学ぶ、AIにPHPを書かせる技術 〜OSSの実装から蒸留するエージェント制御の王道〜
kentaroutakeda
3
550
コーディングルールの鮮度を保ちたい for SRE NEXT 2026 / keep-fresh-go-internal-conventions-sre-next-2026
handlename
0
150
torikago - Ruby::Boxで照らすモジュラモノリスの実行境界
se4weed
1
220
AI Engineeringは、AIプロダクトだけのものか? 〜AIがソフトウェアを作る時代の新しい当たり前〜 / No AI in your product. AI Engineering in your development.
rkaga
3
250
「正の参照」と 「負の導出」で組む ハーネスエンジニアリング
cottpan
1
150
yield再入門 #phpcon
o0h
PRO
0
820
AI時代の仕事技芸論〜ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ(スクフェス仙台 2026バージョン)
kuranuki
0
750
What's New in Android 2026
veronikapj
0
230
琵琶湖の水は止められてもNet--HTTPのリトライは止められない / You might be able to stop the water flow of Lake Biwa but you can't stop Net::HTTP retries
luccafort
PRO
0
470
Featured
See All Featured
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
230
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.4k
Balancing Empowerment & Direction
lara
6
1.2k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
420
Between Models and Reality
mayunak
4
380
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
670
Being A Developer After 40
akosma
91
590k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
400
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.3k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
270
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Transcript
"84ͷ4%,৮ͬͯΈΔ ༵ۚษڧձ 1311݄29༵ۚ
ͬͯΈΔͷ͕ૣ͍ʂ "84ʹ͍ͭͯ w͍Ζ͍Ζ͋ͬͯΑ͘Θ͔Μͳ͍ wͳΜ͔͍͢͜͝ͱ͕Ͱ͖ΔΒ͍͠ wొͯ͠ແྉ͕͋Δ 1311݄29༵ۚ
"84πʔϧ܈͕๛ AWS Console AWS SDK AWS CLI AWS Query API
1311݄29༵ۚ
ૹΔଆ wࠓճ4ͱ"844%,GPS1)1Λ ͬͯΈ·ͨ͠ɻ wΠϯετʔϧํ๏ IUUQEPDTBXTBNB[PODPNBXT TELQIQHVJEFMBUFTU JOTUBMMBUJPOIUNM 1311݄29༵ۚ
class SampleAws { // Amazon SDKのインスタンス private $obj = null;
/** * AWS にアクセスする際の鍵 * @return {object} instance */ public function getInstance() { if (is_null($this->obj)) { $this->obj = Aws::factory(array( 'key' => 'XXXXXXXXXXXXX', 'secret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', 'region' => 'ap-northeast-1' ))->get('s3'); } return $this->obj; } /** * s3に画像を保存 * @return {object} EndpointArns 全てのエンドポイント */ public function putObjectTest($tempFileName){ $this->getInstance()->putObject(array( 'Bucket' => 'jaxx2104', 'Key' => $tempFileName, TBNQMF 1311݄29༵ۚ
࣮ࡍʹͬͯΈ·͢ɻ 1311݄29༵ۚ
ऴΘΓͰ͢ 1311݄29༵ۚ