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
ownCloud on AWS in Hackers Champloo 前夜祭 #hcmpl
Search
Naoto Enokawa
July 12, 2014
How-to & DIY
0
620
ownCloud on AWS in Hackers Champloo 前夜祭 #hcmpl
2014,7,11に行われたハッカーズチャンプルー前夜祭のLT資料です。
Naoto Enokawa
July 12, 2014
Tweet
Share
More Decks by Naoto Enokawa
See All by Naoto Enokawa
CircleCI Orbs にコントリビュートした話 / Story contributed to CircleCI Orbs
enokawa
0
610
AWS re:Invent 2017行ってきました報告 / JAWS-UG Okinawa 20180106
enokawa
1
320
Roadworkerではじめる大量DNS移行 / Codenize Meetup
enokawa
0
3.4k
AWS構築のハマりポイントを詳しく解説 / Cloud on the BEACH 2016
enokawa
3
1.5k
JAWS DAYS 2016 ランチセッション
enokawa
0
580
AWS初心者がCodenize.toolsでInfrastructure as Codeした話/jawsug-beginner2-lt
enokawa
0
840
AWS SDK for RubyでDynamoDBを操作してみた
enokawa
0
340
cloudpackインターン成果報告
enokawa
0
2k
#jawsug 沖縄 勉強会「AWS触ってみたけどその後どうしてる?」
enokawa
0
98
Other Decks in How-to & DIY
See All in How-to & DIY
ModuleLLM、最前線!
anoken
0
240
#スタックチャン「魔改造の夜」に行く
syumme01
1
290
The Definitive? Guide To Locally Organizing RubyKaigi
sylph01
6
1.6k
苦手の克服方法 / How to overcome weaknesses
toma_sm
0
280
新婚19年目から学ぶ夫婦円満の正しい歩き方 / Life is beautiful
soudai
PRO
13
4.7k
さらなるアウトプットに、Let's ライトニングトーク! ― LTのやり方
ma2shita
2
1.4k
バーチャルバナナとリアルバナナ #iotlt #TouchDesigner
n0bisuke2
0
170
JAWS-UGから学んだコミュニティの成功要因 (Success Factors)
awsjcpm
5
510
いぬぬウォッチャー - オレトク賞オンライン決勝 #ヒーローズリーグ
n0bisuke2
0
230
ORBBEC会社概要 製品カタログ 2024 11 10
takasumasakazu
0
140
3ヶ月でできる! 探査機自作ゼミ教材自作入門
sksat
6
2.9k
MustをWillに変える技術 〜アイドル・郁田はるきが"すべき"の壁を超えるまで〜
subroh0508
0
630
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
246
12k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.4k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Code Review Best Practice
trishagee
70
19k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
820
Embracing the Ebb and Flow
colly
87
4.8k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
GitHub's CSS Performance
jonrohan
1031
460k
Become a Pro
speakerdeck
PRO
29
5.5k
Agile that works and the tools we love
rasmusluckow
329
21k
Unsuck your backbone
ammeep
671
58k
Transcript
ownCloud on AWS Naoto Enokawa
ABOUT ME ӫɹేʢNaoto Enokawaʣ ԭೄࠃࡍେֶ ࢈ۀใֶՊ̐࣍ झຯɿҰ؟Ϩϑ ಛٕɿDJ enokawa.co
झຯҰ؟ϨϑͳΜ͚ͩͲɻɻɻ • όοΫΞοϓͱΒͳ͖Ό • ֎ग़ઌ͔ΒӾཡ͍ͨ͠ • εϚϗͰݟ͍ͨ • ͰηΩϡϦςΟͱ͔ා͍ •
ࣗͰ࡞Δͷ͍͠orz
ʴ
ʴ ࠇ͍ը໘Λ৮Βͣʹ ߏஙͪ͠Ό͍·͠ΐ͏ʂ
– owncloud.jp “YOUR CLOUD, YOUR DATA, YOUR WAY!”
ownCloud • PHPϕʔεͷΦʔϓϯιʔεϓϩμΫτ • ༰ྔແ੍ݶ • ηΩϡϦςΟʢϑΝΠϧɾ௨৴࿏ͷ҉߸Խʣ • ϚϧνσόΠεରԠʢ༗ྉεϚϗΞϓϦʣ •
طଘετϨʔδͱͷ࿈ܞ • ଞݴޠରԠ
– aws.amazon.com
Amazon Web ServiceʢAWSʣ • Amazon͕ࣾఏڙ͢ΔΫϥυαʔϏε • ॳظࢿ͕ෆཁ • ैྔ՝ۚ •
εέʔϧΞοϓʗμϯ͕༰қ • ৽αʔϏεΛΑΓૣ͘ఏڙ • ੈքதͷσʔληϯλ܈Λར༻Ͱ͖Δ…etc
ΞʔΩςΫνϟ ownCloud S3 ΅͘ EC2
STEP1 ownCloudʢEC2ʣͷىಈ
Elastic Computing Cloud(EC2) ɾԾϚγϯ ɾ̍࣌ؒ͋ͨΓͷྉۚ ɾੑೳΛࣗ༝ʹมߋ ɾ༷ʑͳOS ɾແྉ͋Γ
ownCloudͷAMI
None
None
None
STEP2 S3ͷόέοτʗIAMϢʔβͷ࡞
Simple Storage Service(S3) ɾσʔλετϨʔδ ɾอଘσʔλ͋ͨΓͷྉۚ ɾແྉ͕͋Δ ɾ99.999999999ͷٱੑɺ99%ͷՄ༻ੑ ɾ༰ྔແ੍ݶ
Simple Storage Service(S3) ɾετϨʔδͱͯ͠ͷ༻్Ҏ֎ʹ ɾ੩తαΠτϗεςΟϯά ɾCSS,JavaScript ɾ͜ͷ߹σʔλసૹྔ
Identify and Access Management(IAM) ɾAWSͷϦιʔεͷϢʔβΞΫηεཧ ɾׂʹΑͬͯඞཁͳϦιʔεͷΈʹ ΞΫηεͰ͖ΔΑ͏ʹ ɾແྉͰ͑Δ
S3ͷόέοτ࡞
IAMϢʔβͷ࡞
None
None
None
{ "Version": "2012-10-17", "Statement": [ { "Action": [ "s3:ListAllMyBuckets" ],
"Effect": "Allow", "Resource": "arn:aws:s3:::*" }, { "Action": "s3:*", "Effect": "Allow", "Resource": ["arn:aws:s3:::enokawa-photo","arn:aws:s3:::enokawa-photo/*"] } ] }
STEP3 ownCloudͰͷઃఆ
None
None
None
None
None
DEMO
MATOME ɾAWSΛ͑؆୯ʹΠϯϑϥΛߏஙͰ͖Δ ɾDropboxͱൺΔͱૣ͍͚Ͳ·ͩετϨε͔͔Δ ɾεϚϗͷϒϥβͰΞΫηε͢ΔͱUI͕…orz
MATOME ɾ ɾ ɾεϚϗͷϒϥβͰΞΫηε͢Δͱ
FUTURE ɾCloudFront͔·͢ʢϕϯνϚʔΫͱΔʣ ɾͬͱ҆͘ ɾiPhoneΞϓϦങͬͯࢼ͢ʢ¥100ʣ ɾAmazon Zocalo ࢼͯ͠ΈΔ
THANK YOU!!