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
[日本語] AMIMOTO Design Pattern + Server-less Arch...
Search
Amimoto - Flexible Cloud WordPress Hosting
April 24, 2016
Technology
0
1.9k
[日本語] AMIMOTO Design Pattern + Server-less Architecture
AMIMOTOのサービスデザインとその手法について
Amimoto - Flexible Cloud WordPress Hosting
April 24, 2016
Tweet
Share
More Decks by Amimoto - Flexible Cloud WordPress Hosting
See All by Amimoto - Flexible Cloud WordPress Hosting
[日本語] AMIMOTO-AMI Lineup
amimoto
0
140
EdgeCase - A speaker series by J2 Design
amimoto
0
280
Progress the system operation drastically with Cloud Automator — AMIMOTO side—
amimoto
0
160
[東京]Cloud_Automatorで攻めのシステム運用 AMIMOTO スタック編
amimoto
0
840
AMIMOTO Design Pattern + Server-less Architecture
amimoto
0
470
WooCommerce with Elasticsearch
amimoto
1
440
[日本語] WooCommerce with Elasticsearch
amimoto
0
210
Amazon CloudFront with AWS Certificate Manager
amimoto
0
190
WordPress with CloudFront + AMAZON RDS + S3
amimoto
1
660
Other Decks in Technology
See All in Technology
Terraform未経験の御様に対してどの ように導⼊を進めていったか
tkikuchi
2
430
Evangelismo técnico: ¿qué, cómo y por qué?
trishagee
0
350
複雑なState管理からの脱却
sansantech
PRO
1
140
Taming you application's environments
salaboy
0
180
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
430
AWS Media Services 最新サービスアップデート 2024
eijikominami
0
190
元旅行会社の情シス部員が教えるおすすめなre:Inventへの行き方 / What is the most efficient way to re:Invent
naospon
2
330
AGIについてChatGPTに聞いてみた
blueb
0
130
AWS Lambda のトラブルシュートをしていて思うこと
kazzpapa3
2
170
【Startup CTO of the Year 2024 / Audience Award】アセンド取締役CTO 丹羽健
niwatakeru
0
920
RubyのWebアプリケーションを50倍速くする方法 / How to Make a Ruby Web Application 50 Times Faster
hogelog
3
940
Why App Signing Matters for Your Android Apps - Android Bangkok Conference 2024
akexorcist
0
120
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
65
4.4k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
Statistics for Hackers
jakevdp
796
220k
Designing on Purpose - Digital PM Summit 2013
jponch
115
7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Six Lessons from altMBA
skipperchong
27
3.5k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
The Cult of Friendly URLs
andyhume
78
6k
Producing Creativity
orderedlist
PRO
341
39k
Embracing the Ebb and Flow
colly
84
4.5k
Intergalactic Javascript Robots from Outer Space
tanoku
269
27k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Transcript
AMIMOTO Design Pattern + Server-less Architecture @Amimoto_Ami ja.amimoto-ami.com AMIMOTOͷαʔϏεσβΠϯͱͦͷख๏ʹ͍ͭͯ
Summary 1. Automation పఈతʹࣗಈԽ 2. CloudNative ϚωʔδυαʔϏεΛ׆༻ 3. MicroServices ૄ݁߹ͳػೳ࣮
AMIMOTOͷαʔϏεσβΠϯͰɺ3Λҙࣝͨ͠ΞϓϩʔνΛߦ͍ͬͯ·͢ɻ ͜ΕΒʹΑͬͯɺ୭͕؆୯ʹಉ࣭͡ͷڥαʔϏεΛ։ൃɺӡ༻ཧΛՄೳʹͯ͠ ͍·͢ɻ
Problem 1. ख࡞ۀ 2. ૿͑ଓ͚Δϝϯςφϯείετ 3. ࠶ར༻ෆՄೳ
Solution 1. CloudFormationʹΑΔڥߏஙͷࣗಈԽ 2. RDS,S3,CloudFrontͳͲϚωʔδυαʔϏεͷར༻ʹΑΔϝϯςφϯείετͷܰݮ 3. ֦ுػೳΛMicroServiceͱͯ͠ఏڙɺRESTFulͳAPIͰ௨৴ɺServer-lessͳArchitecture
Solution 1. CloudFormationʹΑΔڥߏஙͷࣗಈԽ 2. RDS,S3,CloudFrontͳͲϚωʔδυαʔϏεͷར༻ʹΑΔϝϯςφϯείετͷܰݮ 3. ֦ுػೳΛMicroServiceͱͯ͠ఏڙɺRESTFulͳAPIͰ௨৴ɺServer-lessͳArchitecture
AMAZON CloudFormation •ੌ͍JSON
JIN-KEI Simple Stack
https://github.com/megumiteam/amimoto-enterprise-cfn/blob/master/json/001-mod.json
Solution 1. CloudFormationʹΑΔڥߏஙͷࣗಈԽ 2. RDS,S3,CloudFrontͳͲϚωʔδυαʔϏεͷར༻ʹΑΔϝϯςφϯείετͷܰݮ 3. ֦ுػೳΛMicroServiceͱͯ͠ఏڙɺRESTFulͳAPIͰ௨৴ɺServer-lessͳArchitecture
AMAZON RDS •ੌ͍σʔλϕʔε
AMAZON S3 •ੌ͍ετϨʔδ
AMAZON CloudFront •ੌ͍Ωϟογϡ
Solution 1. CloudFormationʹΑΔڥߏஙͷࣗಈԽ 2. RDS,S3,CloudFrontͳͲϚωʔδυαʔϏεͷར༻ʹΑΔϝϯςφϯείετͷܰݮ 3. ֦ுػೳΛMicroServiceͱͯ͠ఏڙɺRESTFulͳAPIͰ௨৴ɺServer-lessͳArchitecture
௨ৗͷWordPressͷػೳ։ൃ 8PSE1SFTT$PSF 1MVHJO 1MVHJO 1MVHJO 1MVHJO
1MVHJO
ൃੜ͢Δ ɾιʔείʔυͷංେԽ ɾDBͷංେԽ ɾDB͕୯ҰোʹͳΓ ɹAuto Scaling͕ແҙຯʹ ɾػೳͱίΞɺςʔϚ͕ ɹີ݁߹ 8PSE1SFTT$PSF 1MVHJO
1MVHJO 1MVHJO 1MVHJO 1MVHJO 1MVHJO 1MVHJO 1MVHJO 1MVHJO 1MVHJO 1MVHJO 1MVHJO
Solution MicroServiceͱ͍͏ൃ
ɾγεςϜΛෳͷίϯϙʔωϯτͰߏங ɾίϯϙʔωϯτͦΕͧΕಠཱͨ͠ ɹγεςϜͱͯ͠ػೳ͢Δ ɾ3FTUGVMͳ"1*ͰγεςϜΛ࿈݁ ɾૄ݁߹ Microservices
8PSE1SFTT$PSF $POOFDUPS1MVHJO "1* "1* "1* .JDSP4FSWJDF .JDSP4FSWJDF .JDSP4FSWJDF ͜Ε͔ΒͷWordPressͷػೳ։ൃ
࣮ࣄྫ1
None
AMAZON Elasticsearch •ੌ͍ݕࡧ
Elasticsearch Service ΛΫϦοΫ͠·͢
Amazon Elasticsearch Service Λ࢝Ί·͠ΐ͏
Elasticsearch υϝΠϯΛ࡞͠·͢
ΫϥελΛઃఆ͍͖ͯ͠·͢
ΫϥελΛઃఆ͍͖ͯ͠·͢
ઃఆΛ֬ೝ͠ɼΞΫηεϙϦγʔΛઃఆ͍ͯͩ͘͠͞
ΞΫηεϙϦγʔςϯϓϨʔτΛબ͍ͯͩ͘͠͞
Allow open access to the domain Λબ͍ͯͩ͘͠͞
ׂΓͯͨΞΫηεϙϦγʔΛอଘ͠·͢
Elasticsearch υϝΠϯͷઃఆ༰Ͱ͢ Endpoint ͋ͱͰ͏ͷͰ߇͓͍͍͑ͯͯͩ͘͞
ΞʔΩςΫνϟ 8PSE1SFTT$PSF $POOFDUPS1MVHJO "1* ".";0/&MBTUJDTFBSDI
None
https://wordpress.org/plugins/elasticommerce-search-form/
Elasticommerce Search Form ϓϥάΠϯΛ༗ޮԽ͍ͯͩ͘͠͞
Elasticommerce Services ͷઃఆΛ͠·͢
ઌ΄Ͳ߇͓͍͑ͯͨ Endpoint Λઃఆͯ͠อଘ͍ͯͩ͘͠͞
https://wordpress.org/plugins/elasticommerce-related-items/
Elasticommerce Related Item ϓϥάΠϯΛ༗ޮԽ͍ͯͩ͘͠͞
Elasticommerce Services Ҡಈ͠·͢
Elasticommerce Related Item ͷઃఆΛ͠·͢
DEMO http://ecdemo.amimoto-ami.com/product-category/sample?orderby=popularity
Solution 1. CloudFormationʹΑΔڥߏஙͷࣗಈԽ 2. RDS,S3,CloudFrontͳͲϚωʔδυαʔϏεͷར༻ʹΑΔϝϯςφϯείετͷܰݮ 3. ֦ுػೳΛMicroServiceͱͯ͠ఏڙɺRESTFulͳAPIͰ௨৴ɺServer-lessͳArchitecture
Solution MicroService͔ͩΒͰ͖Δ
AMAZON lambda AMAZON DynamoDB AMAZON API Gateway
Server-less Architecture ͰՄࢹԽػೳΛՃ
ΞʔΩςΫνϟ 8PSE1SFTT$PSF $POOFDUPS1MVHJO "1* "1* "1* શจݕࡧ ߪങσʔλऩू ߪങσʔλՄࢹԽ
None
શจݕࡧ ߪങσʔλՄࢹԽ ߪങσʔλऩू
None
࣮ࣄྫ2
Mautic ͋Β͔͡Ίεέδϡʔϧઃఆ͞Εͨɺ ϚʔέςΟϯάӦۀͷ܁Γฦ͠λε ΫΛࣗಈతʹ࣮ߦͯ࣌ؒ͠Λઅ͠ɺ ͔ͭӦۀνʔϜΛਖ਼͍͠λΠϛϯάͰ ਖ਼͍͠ݟࠐΈ٬ʹूதͤ͞ΔͨΊʹɺ ॏཁͰ༗༻ͳใΛҰՕॴʹूΊΔ ͷɻ
None
None
None
None
https://megumiteam.gitbooks.io/mautic-documentation-japanese/content/ja/index.html
ΞʔΩςΫνϟ 8PSE1SFTT$PSF $POOFDUPS1MVHJO "1* .BVUJD
None
WP Mautic MauticͰੜͨ͠ϑΥʔϜΛ γϣʔτίʔυͰຒΊࠐΈ τϥοΩϯάλάΛࣗಈͰૠೖ https://wordpress.org/plugins/wp-mautic/
None
None
None
Mauticommerce WooCommerceͰΛߪೖͨ͠ ސ٬ͷใΛMauticʹૹ৴Ͱ͖Δ https://wordpress.org/plugins/mauticommerce/
None
https://github.com/megumiteam/mauticommerce/wiki/How-To-Create-Form
CF7 Mautic Extention Contact Form 7ͷೖྗใΛ MauticͷʹϦʔυʹ֨ೲ https://wordpress.org/plugins/cf7-mautic-extention/
None
https://megumi.mautic.com/s/dashboard http://ecdemo.amimoto-ami.com/ %&.0
http://ja.amimoto-ami.com/slack/ ࣭͓͝ؾܰʹ:
@Amimoto_Ami ja.amimoto-ami.com THANK YOU! AMIMOTO Design Pattern + Server-less Architecture
AMIMOTOͷαʔϏεσβΠϯͱͦͷख๏ʹ͍ͭͯ