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
0
450
AWS SDK触ってみる。
AWS SDK for PHP2 を使って S3 に画像をアップしてみます。
jaxx2104
November 29, 2013
Tweet
Share
More Decks by jaxx2104
See All by jaxx2104
Relative CI が気になっている話
jaxx2104
0
510
デザインファイルにおける継続的インテグレーション
jaxx2104
2
450
漸進的な変更を支えるフロントエンド設計
jaxx2104
5
2.3k
価値あるフロントエンドデザイン領域開拓
jaxx2104
0
410
Gatsby と Netlify で JAMstack なメディア開発
jaxx2104
0
760
サイレントヒーローを作らない取り組み
jaxx2104
1
180
開発組織のメンバーからリーダーになって
jaxx2104
0
130
Nikuman
jaxx2104
0
420
レガシーなフロントエンド環境で心理的安全性を確保する / RecoChoku Tech Night #08
jaxx2104
0
350
Other Decks in Programming
See All in Programming
デザイナーが Androidエンジニアに 挑戦してみた
874wokiite
0
310
🔨 小さなビルドシステムを作る
momeemt
4
670
Swift Updates - Learn Languages 2025
koher
2
470
Navigating Dependency Injection with Metro
zacsweers
3
250
AI Coding Agentのセキュリティリスク:PRの自己承認とメルカリの対策
s3h
0
200
詳解!defer panic recover のしくみ / Understanding defer, panic, and recover
convto
0
240
ファインディ株式会社におけるMCP活用とサービス開発
starfish719
0
310
さようなら Date。 ようこそTemporal! 3年間先行利用して得られた知見の共有
8beeeaaat
3
1.4k
rage against annotate_predecessor
junk0612
0
170
Zendeskのチケットを Amazon Bedrockで 解析した
ryokosuge
3
300
Improving my own Ruby thereafter
sisshiki1969
1
160
ユーザーも開発者も悩ませない TV アプリ開発 ~Compose の内部実装から学ぶフォーカス制御~
taked137
0
150
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
Code Reviewing Like a Champion
maltzj
525
40k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
520
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Optimizing for Happiness
mojombo
379
70k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.1k
Making the Leap to Tech Lead
cromwellryan
135
9.5k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
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༵ۚ