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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
jaxx2104
November 29, 2013
Programming
0
460
AWS SDK触ってみる。
AWS SDK for PHP2 を使って S3 に画像をアップしてみます。
jaxx2104
November 29, 2013
Tweet
Share
More Decks by jaxx2104
See All by jaxx2104
freeeにおけるファンクションを超えた一気通貫でのAI活用
jaxx2104
3
1.7k
Relative CI が気になっている話
jaxx2104
0
540
デザインファイルにおける継続的インテグレーション
jaxx2104
2
500
漸進的な変更を支えるフロントエンド設計
jaxx2104
5
2.3k
価値あるフロントエンドデザイン領域開拓
jaxx2104
0
460
Gatsby と Netlify で JAMstack なメディア開発
jaxx2104
0
800
サイレントヒーローを作らない取り組み
jaxx2104
1
210
開発組織のメンバーからリーダーになって
jaxx2104
0
150
Nikuman
jaxx2104
0
480
Other Decks in Programming
See All in Programming
AIとペアプロして処理時間を97%削減した話 #pyconshizu
kashewnuts
1
220
AI時代のソフトウェア開発でも「人が仕様を書く」から始めよう-医療IT現場での実践とこれから
koukimiura
0
150
Codex の「自走力」を高める
yorifuji
0
1.2k
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
140
クライアントワークでSREをするということ。あるいは事業会社におけるSREと同じこと・違うこと
nnaka2992
1
330
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
110
LangChain4jとは一味違うLangChain4j-CDI
kazumura
1
180
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1k
DSPy入門 Pythonで実現する自動プロンプト最適化 〜人手によるプロンプト調整からの卒業〜
seaturt1e
1
700
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
16
3.1k
CDIの誤解しがちな仕様とその対処TIPS
futokiyo
0
200
ロボットのための工場に灯りは要らない
watany
10
2.7k
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
528
40k
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
It's Worth the Effort
3n
188
29k
Making Projects Easy
brettharned
120
6.6k
Between Models and Reality
mayunak
2
230
The Language of Interfaces
destraynor
162
26k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.4k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
110
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
670
Designing for Timeless Needs
cassininazir
0
160
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.1k
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༵ۚ