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
Azure入門(AzureBlobStarage)
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Yuta Kujirai
January 17, 2019
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Azure入門(AzureBlobStarage)
Yuta Kujirai
January 17, 2019
More Decks by Yuta Kujirai
See All by Yuta Kujirai
azure入門(Azure Resource Manager)
yuta0910
0
260
Azure入門(Azure Virtual Machine、Azure App Service)
yuta0910
0
220
Featured
See All Featured
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
490
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
520
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Mind Mapping
helmedeiros
1
350
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
230
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.3k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Embracing the Ebb and Flow
colly
88
5.2k
Mobile First: as difficult as doing things right
swwweet
225
10k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Transcript
Azure blob storageͰ੩తͳWebαΠτΛ࡞͢Δ
1.രͰ੩తͳwebαΠτΛ࡞ • ετϨʔδΞΧϯτΛ࡞ • ੩తͳwebαΠτ༻ͷίϯςφ($web)ͷ࡞ • ίϯςφʹσϑΥϧταΠτ(index.html)ͷσϓϩΠ(ϑΝΠϧͷΞοϓϩʔυ) • webαΠτͷσϓϩΠ֬ೝ 2.BLOB+CDNߏͰ੩తͳwebαΠτΛ࡞
• CDN ϓϩϑΝΠϧͷ࡞ • CDNΤϯυϙΠϯτͷ࡞ • webαΠτͷσϓϩΠ֬ೝ
3.blob storageΛϑΝΠϧαʔόͱͯ͠͏ • ετϨʔδΞΧϯτͷ࡞ • AzureΞΧϯτͱͷඥ͚Λߦ͏
Azure blob storageͱ Կʁ (※ެࣜΑΓҾ༻) Blob Storage ʹ͍ͭͯ ɾMicrosoft ͷΫϥυετϨʔδ
ɾHTTP/HTTPS ܦ༝Ͱ Blob Storage ͷΦϒδΣΫτ ʹΞΫηε ɾAzure Storage REST APIɺAzure PowerShellɺAzure CLIɺ·ͨ Azure Storage ΫϥΠΞϯτ ϥΠϒϥϦΛ ༻ͯ͠ɺBlob Storage ͷΦϒδΣΫτʹΞΫηε
1ͷߏਤ blob storage/web/index.html Πϯλʔωοτ ίϯςϯπΛฦ͢ ΞΫηε
Ϧιʔεͷ࡞Λબ
Storage AccountΛબ
ϦιʔεάϧʔϓɺετϨʔδΞΧϯτ໊ɺϨϓϦέʔγϣϯΛೖྗ
ϦιʔεάϧʔϓɺετϨʔδΞΧϯτ໊ɺϨϓϦέʔγϣϯΛೖྗ
ϦιʔεʹҠಈΛΫϦοΫ
੩తͳWebαΠτΛΫϦοΫ
༗ޮΛΫϦοΫ
index.html,error.htmlΛೖྗͯ͠อଘ
$webΛΫϦοΫ
Index.htmlΛ࡞ <!DOCTYPE html> <html lang="ja"> <head> <meta charset="UTF-8"> <title>blob static
site</title> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/ dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous"> </head> <body> <h2 class="text-center mt-3 mb-5”>BLOBͰ੩తαΠτΛ࡞Ε·ͨ͠ʂ</h2> <div class="container"> <div class="mb-5 text-center"> BLOBͰ੩తαΠτΛ࡞Ε·ͨ͠ʂ<br> BLOBͰ੩తαΠτΛ࡞Ε·ͨ͠ʂ </div> </div> </body> </html>
error.htmlΛ࡞ <!DOCTYPE html> <html lang="ja"> <head> <meta charset="UTF-8"> <title>blob static
site</title> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/ dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous"> </head> <body> <h2 class="text-center mt-3 mb-5”>error.html͕ΈΕͯ·͢ʂ</h2> <div class="container"> <div class="mb-5 text-center"> errorͰ͢Α<br> errorͰ͢Α </div> </div> </body> </html>
ΞοϓϩʔυΛΫϦοΫ
index.htmlͱerror.htmlΛબͯ͠Ξοϓϩʔυ͢Δ
ετϨʔδΞΧϯτ੩తͳwebαΠτͷ֓ཁͰϓϥΠϚϦΤϯυϙΠϯτΛίϐʔ
ϒϥβͰϓϥΠϚϦΤϯυϙΠϯτʹΞΫηε
ϒϥβͰϓϥΠϚϦΤϯυϙΠϯτͷҟͳΔϑΝΠϧύεʹΞΫηε
BLOB+CDN ߏ $%/ʹ͍ͭͯ ɾCDN͕͋Δ͜ͱͰɺߴ͍ύϑΥʔϚϯεɻ ɹblob storageଆʹෛՙ͕͔͔Βͳ͍ ɹΞΫηεٸ૿ʹରԠͰ͖Δɻ ɾCDNෳڌੑΞοϓ ྫΛ͋͛ΔͱɺBLOB+CDNҰ࣌తʹΞΫηε͕ٸ૿͢ΔΩϟ ϯϖʔϯαΠτͰ͏ͱޮՌతͳߏͱͳΔɻ
ʢCDNʹ͍ͭͯͷࢀߟࢿྉɿCDNͰػձଛࣦΛճආʂCDNͷ Έ͔ΒಋೖޮՌͷࢼࢉ·Ͱ͔Γ͘͢͝հ URL:https://knowledge.sakura.ad.jp/7085/ʣ
2ͷߏਤ Πϯλʔωοτ ίϯςϯπΛฦ͢ ΞΫηε blob storage/web/index.html CDN ίϯςϯπө
Ϧιʔεͷ࡞Λબ
CDNΛબ
ϦιʔεάϧʔϓɺετϨʔδΞΧϯτ໊ɺϨϓϦέʔγϣϯΛೖྗ Ұҙɿҙ ඪ४
CDNͷϓϩϑΝΠϧΤϯυϙΠϯτΤϯυϙΠϯτͷϗετ໊Λίϐʔ
ϒϥβͰϓϥΠϚϦΤϯυϙΠϯτʹΞΫηε CDNͷө10΄Ͳ͔͔Δʢࠓճඪ४MS※CDNͷछྨʹΑͬͯө࣌ؒҧ͏ʣ
10ޙ͘Β͍ʹ࠶ϒϥβͰϓϥΠϚϦΤϯυϙΠϯτʹΞΫηε
ϒϥβͰϓϥΠϚϦΤϯυϙΠϯτͷҟͳΔϑΝΠϧύεʹΞΫηε
ࠓճΓ·ͤΜ͕ɺڵຯ͕Θ͍ͨΒҎԼ ௐͯͬͯΈ͍ͯͩ͘͞ɻ • ࣗͰऔಘͨ͠υϝΠϯΛ༻͢Δ https://docs.microsoft.com/ja-jp/azure/storage/blobs/storage-https-custom-domain-cdn • HTTPHTTPSͷϦμΠϨΫτ https://docs.microsoft.com/ja-jp/azure/cdn/cdn-rules-engine
blob storageΛ ϑΝΠϧαʔ όͱͯ͠͏ ɾετϨʔδ ΞΧϯτͷίϯςϯπΛ؆୯ʹཧ
ϒϥβͰϓϥΠϚϦΤϯυϙΠϯτͷҟͳΔϑΝΠϧύεʹΞΫηε azure storage explorerͰݕࡧ͠ɺμϯϩʔυΠϯετʔϧ
CDN ϒϥβͰϓϥΠϚϦΤϯυϙΠϯτͷҟͳΔϑΝΠϧύεʹΞΫηε Azure Environment:Azure Λબ
CDN ϒϥβͰϓϥΠϚϦΤϯυϙΠϯτͷҟͳΔϑΝΠϧύεʹΞΫηε AzureΞΧϯτͱͷඥ͚Λߦ͏
CDN ϒϥβͰϓϥΠϚϦΤϯυϙΠϯτͷҟͳΔϑΝΠϧύεʹΞΫηε Ξοϓϩʔυμϯϩʔυͷૢ࡞ΛGUIͰߦ͑Δ