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
290
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
480
WooCommerce with Elasticsearch
amimoto
1
440
[日本語] WooCommerce with Elasticsearch
amimoto
0
220
Amazon CloudFront with AWS Certificate Manager
amimoto
0
190
WordPress with CloudFront + AMAZON RDS + S3
amimoto
1
670
Other Decks in Technology
See All in Technology
MLOps の現場から
asei
6
630
Wvlet: A New Flow-Style Query Language For Functional Data Modeling and Interactive Data Analysis - Trino Summit 2024
xerial
1
110
Jetpack Composeで始めるServer Cache State
ogaclejapan
2
160
1等無人航空機操縦士一発試験 合格までの道のり ドローンミートアップ@大阪 2024/12/18
excdinc
0
150
どちらを使う?GitHub or Azure DevOps Ver. 24H2
kkamegawa
0
630
podman_update_2024-12
orimanabu
1
260
ブラックフライデーで購入したPixel9で、Gemini Nanoを動かしてみた
marchin1989
1
520
レンジャーシステムズ | 会社紹介(採用ピッチ)
rssytems
0
150
C++26 エラー性動作
faithandbrave
2
690
小学3年生夏休みの自由研究「夏休みに Copilot で遊んでみた」
taichinakamura
0
150
Amazon Kendra GenAI Index 登場でどう変わる? 評価から学ぶ最適なRAG構成
naoki_0531
0
100
Oracle Cloudの生成AIサービスって実際どこまで使えるの? エンジニア目線で試してみた
minorun365
PRO
4
280
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
66
4.5k
We Have a Design System, Now What?
morganepeng
51
7.3k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Unsuck your backbone
ammeep
669
57k
How GitHub (no longer) Works
holman
311
140k
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Facilitating Awesome Meetings
lara
50
6.1k
Become a Pro
speakerdeck
PRO
26
5k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
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ͷαʔϏεσβΠϯͱͦͷख๏ʹ͍ͭͯ