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 Architecture
Search
Amimoto - Flexible Cloud WordPress Hosting
April 24, 2016
Technology
0
1.8k
[日本語] 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
220
Progress the system operation drastically with Cloud Automator — AMIMOTO side—
amimoto
0
160
[東京]Cloud_Automatorで攻めのシステム運用 AMIMOTO スタック編
amimoto
0
790
AMIMOTO Design Pattern + Server-less Architecture
amimoto
0
470
WooCommerce with Elasticsearch
amimoto
1
440
[日本語] WooCommerce with Elasticsearch
amimoto
0
200
Amazon CloudFront with AWS Certificate Manager
amimoto
0
180
WordPress with CloudFront + AMAZON RDS + S3
amimoto
1
650
Other Decks in Technology
See All in Technology
Google Cloud Next '24でブログを10本書いた方法と勉強会を沸かせた方法
yasumuusan
0
300
障害対応をちょっとずつよくしていくための 演習の作りかた
heleeen
0
220
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
2.1k
ServiceNow Knowledge 24の歩き方 EYストラテジー・アンド・コンサルティング
manarobot
0
200
元インフラエンジニアに成る / Human Resources to Human Relations
bobtani
4
920
開発パフォーマンスを最大化するための開発体制
ham0215
2
430
Java EE/Jakarta EEの現状と将来―クラウドネイティブ時代にJava EEは対応できるのか?―
takakiyo
1
160
Python と Snowflake はズッ友だょ!~ Snowflake の Python 関連機能をふりかえる ~
__allllllllez__
1
120
プロンプトエンジニアリングでがんばらない-Agentic Workflow へ-近藤憲児
kenjikondobai
2
740
アクセス制御にまつわる改善 / Improving access control
itkq
0
540
【NW X Security JAWS#3】L3-4:AWS環境のIPv6移行に向けて知っておきたいこと
shotashiratori
0
310
JSON攻略法.pdf
miyakemito
8
5.1k
Featured
See All Featured
Happy Clients
brianwarren
92
6.4k
RailsConf 2023
tenderlove
4
540
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
10 Git Anti Patterns You Should be Aware of
lemiorhan
648
58k
Agile that works and the tools we love
rasmusluckow
325
20k
How to Ace a Technical Interview
jacobian
272
22k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
7
1k
Build The Right Thing And Hit Your Dates
maggiecrowley
24
2k
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
6
1.5k
Typedesign – Prime Four
hannesfritz
36
2.1k
How STYLIGHT went responsive
nonsquared
92
4.8k
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ͷαʔϏεσβΠϯͱͦͷख๏ʹ͍ͭͯ