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
250
Progress the system operation drastically with Cloud Automator — AMIMOTO side—
amimoto
0
160
[東京]Cloud_Automatorで攻めのシステム運用 AMIMOTO スタック編
amimoto
0
810
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
フルリモートワークはエンジニアの夢を叶えたか? #cm_odyssey
mamohacy
2
600
目標設定は好きですか? アジャイルとともに目標と向き合い続ける方法 / Do you like target Management?
kakehashi
10
3k
dxd2024-生成AIに振り回された3か月間の成功と失敗/dxd2024-link-and-motivation
lmi
2
260
Azure OpenAI Service Dev Day / LLMでできる!使える!生成AIエージェント
masahiro_nishimi
3
740
ゆめみのアクセシビリティの現在地と今後
ryokatsuse
3
290
How to Think Like a Performance Engineer
csswizardry
4
590
データベース研修 分析向けSQL入門【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
110
ABEMAにおけるLLMを用いたコンテンツベース推薦システム導入と効果検証
cyberagentdevelopers
PRO
1
700
20240724_cm_odyssey_hibiyatech
hiashisan
0
110
「単なる OAuth 2.0 を認証に使うと、車が通れるほどのどでかいセキュリティー・ホールができる」のか検証してみた
terara
0
380
テスト・設計研修【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
170
What if...? 처음부터 다시 LLM 어플리케이션을 개발한다면
huffon
0
1k
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
28
2.2k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
662
120k
What's in a price? How to price your products and services
michaelherold
239
11k
Creatively Recalculating Your Daily Design Routine
revolveconf
214
11k
GitHub's CSS Performance
jonrohan
1026
450k
5 minutes of I Can Smell Your CMS
philhawksworth
200
19k
Writing Fast Ruby
sferik
623
60k
No one is an island. Learnings from fostering a developers community.
thoeni
17
2.8k
What's new in Ruby 2.0
geeforr
338
31k
Typedesign – Prime Four
hannesfritz
37
2.2k
How to name files
jennybc
67
96k
StorybookのUI Testing Handbookを読んだ
zakiyama
15
4.9k
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ͷαʔϏεσβΠϯͱͦͷख๏ʹ͍ͭͯ