SlideShare a Scribd company logo
1 of 23
AUGUST 19, 2015
Multi-tenancy AEM Architecture enables FAST IT
2
Akhil Aggrawal
Sr. Director, Architecture, EMC
Previously - Distinguish Engineer & Chief Architect
Cisco.com
linkedin.com/in/akhilaggrawal
@akhil183
BIO
3
Loyola Baskar
Architect, Cisco
• Believes data structure simplifies architecture
• Loves adding numbers to his Fitbit
• Practices ‘zero’ bug coding and ‘blind’ debugging
BIO
Agenda
• Implementing Multi-tenant
architecture
• Supporting Fast-IT using Fast
deploy architecture
Cisco’s Digital Presence
355M
visits to Cisco.com
11.5M
social reach
3.9M
paid search click-
throughs
112M
organic search
referrals
40% 34%
71%
4%
10.7M
mobile web
visits
1.4M
social referrers
to Cisco.com
3M
social media
mentions
5.7M
customer
app
downloads
2.5M
video views on
Cisco.com
Social Media MobileWeb Video
7.5M
video views on
Cisco YouTube
47%
[Date Range: Q1FY14 – Q4FY14]
Q1FY14 – Q4FY14
Cisco.com Web Experience Management
• Ave 1200 hits/sec @ Edge
• 1.75m visitors
• 41% to Cisco Datacenter
• 28m hits @ Adobe AEM
• 82m hits @ non-AEM (migration
in fy15)
• Contains ~800K files (.html, .jpg, .gif, .pdf, .mobi and more) [35% of overall cisco.com content]
• ~1.5 TB
• 80M Nodes
Source: Enterprise Operation Intelligence (Splunk) & Akamai Control Panel & Enterprise Web Analytics
7
Implementing Multi-tenant architecture
subtopic
• Challenges in the past
• Multitenant journey
• Multitenant architecture
• Content organization in AEM
• weare.cisco.com use case
Problem statement
• 30+ Web Sites
• No Consistent User Experience
• No Governance
• Inefficient Web Analytics
• High Cost Per Site
10
Multitenant journey
Mar 2013
Launched
Intranet Site
Corporate Sites
*
Marketi
ng
*
Support
*
Solution
weare.cisco.com
AEM 5.5
Provisioned
Microsites
Implementation
Global Sites
* UK
*
Japan
*
China
* ...Feb 2014
salesconnect
Oct 2014
nic.cisco supplychain
lifeconnections
Jul 2015 Nov 2015FAST Deploy
11
DNS
www.cisco.com Intranet Site
All
Microsites
AEM App Server Farm
Shared
Dispatcher
Cached Folder
micro.
dbm
Apache Web Server Farm
W W W
VI
P
Microsite
VIP
Intranet
VIP
Internal
VIP
Domain Name AEM Folder
weare.cisco.com weare
nic.cisco csco/nic
AEM Author
Multitenant architecture
1. DNS/Site Selector
2. Corporate website Load Balancer
3. Microsites Load Balancer
4. Intranet/Employee Website Load Balancer
5. Apache web servers with Dispatcher
6. Apache DBM file
7. AEM 5.5 (Publish)
8. AEM 5.5 (Author)
Special Rule to transform request URL
to a destination Folder in AEM based on entry point
• SEO Consideration
• Separation of sites from one another
• Security Requirements
• Internal Vs External content
Domain name to respective Load Balancer IP
Mapping
Identicalstackin3datacenters
Active-Active-Passive
httxt2dbm
12
/content
en_us
products
support
int
hr
news
micro
salesconnect
weare
index
dam
int
micro
Amazing_People.pdf
weare
Corporate website
Intranet website
All campaign and
micro websites
Information Organization in AEm
13
DNS
www.cisco.com Intranet Site
All
Microsites
AEM App Server Farm
Shared
Dispatcher
Cached Folder
micro.
dbm
Apache Web Server Farm
W W W
VI
P
Microsite
VIP
Intranet
VIP
Internal
VIP
Domain Name AEM Folder
weare.cisco.com weare
nic.cisco csco/nic
AEM Author
How do we host a site on aem
1. Map weare.cisco.com to
the microsite IP address
2. Map weare.cisco.com to an AEM Folder
3. Create the AEM Folders
• /content/micro/weare
• /content/dam/micro/weare
14
DNS
www.cisco.com Intranet Site
All
Microsites
AEM App Server Farm
Shared
Dispatcher
Cached Folder
micro.
dbm
Apache Web Server Farm
W W W
VI
P
Microsite
VIP
Intranet
VIP
Internal
VIP
Domain Name AEM Folder
weare.cisco.com weare
nic.cisco csco/nic
AEM Author
Under the hood
http://weare.cisco.com/amazingpeople.html
GET /amazingpeople.html
HOST: weare.cisco.com
Add Load Balancer Identifier
GET /amazingpeople.html
HOST: weare.cisco.com
X-LB-ID: micro-cisco-public
RewriteMap realms "dbm:~/db/mapping.dbm"
RewriteCond %{HTTP:X-LB-ID} micro-cisco-public
RewriteRule .? - [E=micro:${realms:%{HTTP_HOST}}0}]
RewriteCond %{ENV:micro} !0
ReWriteRule /content/(.*) /content/micro/%{ENV:micro}/$1
/content/micro/weare/amazingpeople.html
GET /content/micro/weare/amazingpeople.
HOST: weare.cisco.com
X-LB-ID: micro-cisco-public
15
Supporting Fast-IT using Fast deploy architecture
What is fast deploy
• Fast code deployment
• < 5 minutes per DC for 30+ bundles (earlier 45 minutes)
• Resumes deploy from where last stopped/failed
• True ‘Zero’ Downtime to End User
• No disruption to even the requests in progress
• Sanity Test support on the deployment
• Sanity users use the same domain as the end users
Fast APP CODE deploy
• Udeploy pulls the required bundles from
Artifactory for a given build
• First and last bundle go in sequence
• Rest of the bundles go in parallel
• Tool retries deploy only bundles that failed
• The deployments progress parallel to all
AEM in a DC
pkgmgr
18
DNS
DC 1
VIP
DC 2
VIPDC 1''
VIP
DC 2''
VIP
AEM App Server Farm
Apache Web Server Farm
App
VI
P
AEM App Server Farm
Apache Web Server Farm
App
VI
P
Fast deploy architecture
Domain to IP Address Resolution
• Round Robin IP Distribution
Primary Load Balancers
•Use http probe health check
•Synthetic DC failure
Secondary Load Balancers (private)
•Used for DC fail over
•Use tcp/ip to stay connected
during sanity testing
Regular Traffic pattern
Http
probe
Http
probe
tcp
probe
tcp
probe
failover
50 50
failover
19
DNS
DC 1
VIP
DC 2
VIPDC 1''
VIP
DC 2''
VIP
AEM App Server Farm
Apache Web Server Farm
App
VI
P
AEM App Server Farm
Apache Web Server Farm
App
VI
P
Http
probe
Http
probe
tcp
probe
tcp
probe
DC1 Deployment: END user use case
1. Probe page deleted manually
to force the DC1 failure
2. End User Traffic moved to
DC2
3. When all logs stop, DC1 ready
for Code deployment
The requests in DC will complete
without fail
New requests
20
sanity user notification
21
DNS
DC 1
VIP
DC 2
VIPDC 1''
VIP
DC 2''
VIP
AEM App Server Farm
Apache Web Server Farm
App
VI
P
AEM App Server Farm
Apache Web Server Farm
App
VI
P
Http
probe
Http
probe
tcp
probe
tcp
probe
DC1 Deployment: sanity user use case
Deployment Complete in DC1 and is
ready for sanity testing
Sanity user comes with a special
cookie
Apache Special Rewrite Rule
Proxy the user to DC1 through
DC1”
ReWriteCond %{QUERY_STRING} sanitykey=xxkey [OR]
ReWriteCond %{HTTP_COOKIE} sanitykey=xxkey
ReWriteRule .? http://dc2shadow.cisco.com%{REQUEST_URI} [L,P]
22
Thank you.
Recap
1. A new campaign/microsite can be launched in few hours
2. Costs nothing to host a site
3. Efficient deployment model < 5 min per dc
4. Zero downtime for end user
5. Realistic Sanity testing support
Apache rewrite rules
ReWriteCond %{QUERY_STRING} sanitykey=xxkey
ReWriteRule .? - [CO=sanitykey:xxkey:.cisco.com:60:/]
ReWriteCond %{QUERY_STRING} sanitykey=xxkey [OR]
ReWriteCond %{HTTP_COOKIE} sanitykey=xxkey
ReWriteCond ~/f/fastdeploy.at.dc1 -f
ReWriteRule .? http://dc2shadow.cisco.com%{REQUEST_URI} [L,P]
RewriteMap realms "dbm:~/db/mapping.dbm"
RewriteCond %{HTTP:X-LB-ID} micro-cisco-public
RewriteRule .? - [E=micro:${realms:%{HTTP_HOST}}0}]
RewriteCond %{ENV:micro} !0
ReWriteRule /content/(.*) /content/micro/%{ENV:micro}/$1
MULTITENANT REWRITE RULE
FAST DEPLOY REWRITE RULE

More Related Content

What's hot

What's hot (20)

Getting Started with Cloud Foundry on Bluemix
Getting Started with Cloud Foundry on BluemixGetting Started with Cloud Foundry on Bluemix
Getting Started with Cloud Foundry on Bluemix
 
Getting Started with Cloud Foundry on Bluemix
Getting Started with Cloud Foundry on BluemixGetting Started with Cloud Foundry on Bluemix
Getting Started with Cloud Foundry on Bluemix
 
How to deliver secure,highly available Microsoft applications
How to deliver secure,highly available Microsoft applicationsHow to deliver secure,highly available Microsoft applications
How to deliver secure,highly available Microsoft applications
 
Scaling Integration
Scaling IntegrationScaling Integration
Scaling Integration
 
Cloud Data Integration
Cloud Data IntegrationCloud Data Integration
Cloud Data Integration
 
Cloud native integration
Cloud native integrationCloud native integration
Cloud native integration
 
PHP Symfony MicroServices Migration @MeeticTech
PHP Symfony MicroServices Migration @MeeticTechPHP Symfony MicroServices Migration @MeeticTech
PHP Symfony MicroServices Migration @MeeticTech
 
Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sep...
Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sep...Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sep...
Pure Systems Patterns of Expertise - John Kaemmerer and Gerry Kovan, 11th Sep...
 
VMworld 2013: Moving Beyond Infrastructure: Meeting Demands on App Lifecycle ...
VMworld 2013: Moving Beyond Infrastructure: Meeting Demands on App Lifecycle ...VMworld 2013: Moving Beyond Infrastructure: Meeting Demands on App Lifecycle ...
VMworld 2013: Moving Beyond Infrastructure: Meeting Demands on App Lifecycle ...
 
Bluemix - Quick Intro v3
Bluemix - Quick Intro v3Bluemix - Quick Intro v3
Bluemix - Quick Intro v3
 
AEM.Design - Project Introduction
AEM.Design - Project IntroductionAEM.Design - Project Introduction
AEM.Design - Project Introduction
 
Ios models
Ios modelsIos models
Ios models
 
Engage, amaze and deliver with e pi server in the aws cloud london
Engage, amaze and deliver with e pi server in the aws cloud londonEngage, amaze and deliver with e pi server in the aws cloud london
Engage, amaze and deliver with e pi server in the aws cloud london
 
3-18-11
3-18-113-18-11
3-18-11
 
webMethods Integration Cloud Deep Dive
webMethods Integration Cloud Deep DivewebMethods Integration Cloud Deep Dive
webMethods Integration Cloud Deep Dive
 
PureApplication: System, Service, Software
PureApplication: System, Service, SoftwarePureApplication: System, Service, Software
PureApplication: System, Service, Software
 
Ad Hoc Automation is an Expensive Mistake
Ad Hoc Automation is an Expensive MistakeAd Hoc Automation is an Expensive Mistake
Ad Hoc Automation is an Expensive Mistake
 
CloudOps evening presentation from Salesforce.com
CloudOps evening presentation from Salesforce.comCloudOps evening presentation from Salesforce.com
CloudOps evening presentation from Salesforce.com
 
IBM Bluemix Talk at University College Cork (UCC)
IBM Bluemix Talk at University College Cork (UCC)IBM Bluemix Talk at University College Cork (UCC)
IBM Bluemix Talk at University College Cork (UCC)
 
Edge 2014: Increasing Control with Property Manager with eBay
Edge 2014: Increasing Control with Property Manager with eBayEdge 2014: Increasing Control with Property Manager with eBay
Edge 2014: Increasing Control with Property Manager with eBay
 

Similar to EVOLVE'15 | Enhance | Loyola Baskar | Cisco - Multi-tenancy AEM Architecture enables FAST IT

Is your mobile app up to speed softwaresymposium
Is your mobile app up to speed softwaresymposiumIs your mobile app up to speed softwaresymposium
Is your mobile app up to speed softwaresymposium
Doug Sillars
 

Similar to EVOLVE'15 | Enhance | Loyola Baskar | Cisco - Multi-tenancy AEM Architecture enables FAST IT (20)

EVOLVE'14 | Enhance | Anshul Chhabra & Akhil Aggrawal | Cisco - AEM High Avai...
EVOLVE'14 | Enhance | Anshul Chhabra & Akhil Aggrawal | Cisco - AEM High Avai...EVOLVE'14 | Enhance | Anshul Chhabra & Akhil Aggrawal | Cisco - AEM High Avai...
EVOLVE'14 | Enhance | Anshul Chhabra & Akhil Aggrawal | Cisco - AEM High Avai...
 
Check Point and Cisco: Securing the Private Cloud
Check Point and Cisco: Securing the Private CloudCheck Point and Cisco: Securing the Private Cloud
Check Point and Cisco: Securing the Private Cloud
 
Using Security to Build with Confidence in AWS - Trend Micro
Using Security to Build with Confidence in AWS - Trend Micro Using Security to Build with Confidence in AWS - Trend Micro
Using Security to Build with Confidence in AWS - Trend Micro
 
IBM API Connect Deployment `Good Practices - IBM Think 2018
IBM API Connect Deployment `Good Practices - IBM Think 2018IBM API Connect Deployment `Good Practices - IBM Think 2018
IBM API Connect Deployment `Good Practices - IBM Think 2018
 
Developing for Hybrid Cloud with Bluemix
Developing for Hybrid Cloud with BluemixDeveloping for Hybrid Cloud with Bluemix
Developing for Hybrid Cloud with Bluemix
 
Implementing Fast IT Deploying Applications at the Pace of Innovation
Implementing Fast IT Deploying Applications at the Pace of Innovation Implementing Fast IT Deploying Applications at the Pace of Innovation
Implementing Fast IT Deploying Applications at the Pace of Innovation
 
Preparing_for_PCA_Workbook.pptx
Preparing_for_PCA_Workbook.pptxPreparing_for_PCA_Workbook.pptx
Preparing_for_PCA_Workbook.pptx
 
SD Times - Docker v2
SD Times - Docker v2SD Times - Docker v2
SD Times - Docker v2
 
Using Databases and Containers From Development to Deployment
Using Databases and Containers  From Development to DeploymentUsing Databases and Containers  From Development to Deployment
Using Databases and Containers From Development to Deployment
 
5 Steps To Deliver The Fastest Mobile Shopping Experience This Holiday Season
5 Steps To Deliver The Fastest Mobile Shopping Experience This Holiday Season5 Steps To Deliver The Fastest Mobile Shopping Experience This Holiday Season
5 Steps To Deliver The Fastest Mobile Shopping Experience This Holiday Season
 
01282016 Aerospike-Docker webinar
01282016 Aerospike-Docker webinar01282016 Aerospike-Docker webinar
01282016 Aerospike-Docker webinar
 
Is your mobile app up to speed softwaresymposium
Is your mobile app up to speed softwaresymposiumIs your mobile app up to speed softwaresymposium
Is your mobile app up to speed softwaresymposium
 
Choosing a Citrix Monitoring Strategy: Key Capabilities and Pitfalls to Avoid
Choosing a Citrix Monitoring Strategy: Key Capabilities and Pitfalls to AvoidChoosing a Citrix Monitoring Strategy: Key Capabilities and Pitfalls to Avoid
Choosing a Citrix Monitoring Strategy: Key Capabilities and Pitfalls to Avoid
 
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...
Edge 2016 Session 1886  Building your own docker container cloud on ibm power...Edge 2016 Session 1886  Building your own docker container cloud on ibm power...
Edge 2016 Session 1886 Building your own docker container cloud on ibm power...
 
Accelerating Cloud Services - Intel
Accelerating Cloud Services - IntelAccelerating Cloud Services - Intel
Accelerating Cloud Services - Intel
 
Docker:- Application Delivery Platform Towards Edge Computing
Docker:- Application Delivery Platform Towards Edge ComputingDocker:- Application Delivery Platform Towards Edge Computing
Docker:- Application Delivery Platform Towards Edge Computing
 
Cloud Native & Docker
Cloud Native & DockerCloud Native & Docker
Cloud Native & Docker
 
Bluemix Local – Relay Options and Challenges
Bluemix Local – Relay Options and Challenges Bluemix Local – Relay Options and Challenges
Bluemix Local – Relay Options and Challenges
 
IBM Bluemix and Docker Guest Lecture at Cork Institute of Technology
IBM Bluemix and Docker Guest Lecture at Cork Institute of TechnologyIBM Bluemix and Docker Guest Lecture at Cork Institute of Technology
IBM Bluemix and Docker Guest Lecture at Cork Institute of Technology
 
CIS14: SCIM: Why It’s More Important, and More Simple, Than You Think
CIS14: SCIM: Why It’s More Important, and More Simple, Than You ThinkCIS14: SCIM: Why It’s More Important, and More Simple, Than You Think
CIS14: SCIM: Why It’s More Important, and More Simple, Than You Think
 

More from Evolve The Adobe Digital Marketing Community

More from Evolve The Adobe Digital Marketing Community (20)

Evolve 19 | Sarah Xu & Kanika Gera | Adobe I/O - Why You Need it to Execute o...
Evolve 19 | Sarah Xu & Kanika Gera | Adobe I/O - Why You Need it to Execute o...Evolve 19 | Sarah Xu & Kanika Gera | Adobe I/O - Why You Need it to Execute o...
Evolve 19 | Sarah Xu & Kanika Gera | Adobe I/O - Why You Need it to Execute o...
 
Evolve 19 | Upen Manickam & Amanda Gray | Adventures in SPA with AEM 6.5
Evolve 19 | Upen Manickam & Amanda Gray | Adventures in SPA with AEM 6.5Evolve 19 | Upen Manickam & Amanda Gray | Adventures in SPA with AEM 6.5
Evolve 19 | Upen Manickam & Amanda Gray | Adventures in SPA with AEM 6.5
 
Evolve 19 | Ameeth Palla | Adobe Asset Link - Use Cases and Pitfalls to Avoid
Evolve 19 | Ameeth Palla | Adobe Asset Link - Use Cases and Pitfalls to AvoidEvolve 19 | Ameeth Palla | Adobe Asset Link - Use Cases and Pitfalls to Avoid
Evolve 19 | Ameeth Palla | Adobe Asset Link - Use Cases and Pitfalls to Avoid
 
Evolve 19 | Giancarlo Berner | JECIS 2 - The Beginning of a New Era in Buildi...
Evolve 19 | Giancarlo Berner | JECIS 2 - The Beginning of a New Era in Buildi...Evolve 19 | Giancarlo Berner | JECIS 2 - The Beginning of a New Era in Buildi...
Evolve 19 | Giancarlo Berner | JECIS 2 - The Beginning of a New Era in Buildi...
 
Evolve 19 | Paul Legan & Kristin Jones | Anatomy of a Solid AEM Implementatio...
Evolve 19 | Paul Legan & Kristin Jones | Anatomy of a Solid AEM Implementatio...Evolve 19 | Paul Legan & Kristin Jones | Anatomy of a Solid AEM Implementatio...
Evolve 19 | Paul Legan & Kristin Jones | Anatomy of a Solid AEM Implementatio...
 
Evolve 19 | Rabiah Coon & Rebecca Blaha | Rockstar Kickoffs for AEM Projects
Evolve 19 | Rabiah Coon & Rebecca Blaha | Rockstar Kickoffs for AEM ProjectsEvolve 19 | Rabiah Coon & Rebecca Blaha | Rockstar Kickoffs for AEM Projects
Evolve 19 | Rabiah Coon & Rebecca Blaha | Rockstar Kickoffs for AEM Projects
 
Evolve19 | Nick Panagopoulos | World Focus: Translation Tips and Trends
Evolve19 | Nick Panagopoulos | World Focus: Translation Tips and TrendsEvolve19 | Nick Panagopoulos | World Focus: Translation Tips and Trends
Evolve19 | Nick Panagopoulos | World Focus: Translation Tips and Trends
 
Evolve 19 | Rabiah Coon, Sabrina Schmidt & Noah Linge | Industry Focus | Furn...
Evolve 19 | Rabiah Coon, Sabrina Schmidt & Noah Linge | Industry Focus | Furn...Evolve 19 | Rabiah Coon, Sabrina Schmidt & Noah Linge | Industry Focus | Furn...
Evolve 19 | Rabiah Coon, Sabrina Schmidt & Noah Linge | Industry Focus | Furn...
 
Evolve 19 | Carl Madaffari | Best Practices | From Customer Data to Customer ...
Evolve 19 | Carl Madaffari | Best Practices | From Customer Data to Customer ...Evolve 19 | Carl Madaffari | Best Practices | From Customer Data to Customer ...
Evolve 19 | Carl Madaffari | Best Practices | From Customer Data to Customer ...
 
Evolve 19 | Kevin Campton & Sharat Radhakrishnan | Industry Focus | Autodesk ...
Evolve 19 | Kevin Campton & Sharat Radhakrishnan | Industry Focus | Autodesk ...Evolve 19 | Kevin Campton & Sharat Radhakrishnan | Industry Focus | Autodesk ...
Evolve 19 | Kevin Campton & Sharat Radhakrishnan | Industry Focus | Autodesk ...
 
Evolve 19 | Gina Petruccelli | Let’s Dig Into Requirements
Evolve 19 | Gina Petruccelli | Let’s Dig Into RequirementsEvolve 19 | Gina Petruccelli | Let’s Dig Into Requirements
Evolve 19 | Gina Petruccelli | Let’s Dig Into Requirements
 
Evolve 19 | Dave Fox | Retaining Niche Talent in a Highly Competitive Environ...
Evolve 19 | Dave Fox | Retaining Niche Talent in a Highly Competitive Environ...Evolve 19 | Dave Fox | Retaining Niche Talent in a Highly Competitive Environ...
Evolve 19 | Dave Fox | Retaining Niche Talent in a Highly Competitive Environ...
 
Evolve 19 | Paul Legan | Going Beyond Metadata: Extracting Meaningful Informa...
Evolve 19 | Paul Legan | Going Beyond Metadata: Extracting Meaningful Informa...Evolve 19 | Paul Legan | Going Beyond Metadata: Extracting Meaningful Informa...
Evolve 19 | Paul Legan | Going Beyond Metadata: Extracting Meaningful Informa...
 
Evolve19 | Giancarlo Berner & Brett Butterfield | AI & Adobe Sensei
Evolve19 | Giancarlo Berner & Brett Butterfield | AI & Adobe SenseiEvolve19 | Giancarlo Berner & Brett Butterfield | AI & Adobe Sensei
Evolve19 | Giancarlo Berner & Brett Butterfield | AI & Adobe Sensei
 
Evolve 19 | Gordon Pike | Prepping for Tomorrow - Creating a Flexible AEM Arc...
Evolve 19 | Gordon Pike | Prepping for Tomorrow - Creating a Flexible AEM Arc...Evolve 19 | Gordon Pike | Prepping for Tomorrow - Creating a Flexible AEM Arc...
Evolve 19 | Gordon Pike | Prepping for Tomorrow - Creating a Flexible AEM Arc...
 
Evolve 19 | Jayan Kandathil | Running AEM Workloads on Microsoft Azure
Evolve 19 | Jayan Kandathil | Running AEM Workloads on Microsoft AzureEvolve 19 | Jayan Kandathil | Running AEM Workloads on Microsoft Azure
Evolve 19 | Jayan Kandathil | Running AEM Workloads on Microsoft Azure
 
Evolve 19 | Amol Anand & Daniel Gordon | Author in AEM Once - Deliver Everywhere
Evolve 19 | Amol Anand & Daniel Gordon | Author in AEM Once - Deliver EverywhereEvolve 19 | Amol Anand & Daniel Gordon | Author in AEM Once - Deliver Everywhere
Evolve 19 | Amol Anand & Daniel Gordon | Author in AEM Once - Deliver Everywhere
 
Evolve 19 | Benjie Wheeler | Intro to Adobe Experience Manager 6.5
Evolve 19 | Benjie Wheeler | Intro to Adobe Experience Manager 6.5Evolve 19 | Benjie Wheeler | Intro to Adobe Experience Manager 6.5
Evolve 19 | Benjie Wheeler | Intro to Adobe Experience Manager 6.5
 
Evolve 19 | Bruce Swann | Adobe Campaign - Capabilities, Roadmap, and Fit wit...
Evolve 19 | Bruce Swann | Adobe Campaign - Capabilities, Roadmap, and Fit wit...Evolve 19 | Bruce Swann | Adobe Campaign - Capabilities, Roadmap, and Fit wit...
Evolve 19 | Bruce Swann | Adobe Campaign - Capabilities, Roadmap, and Fit wit...
 
Evolve 19 | Pete Hoback & Francisco Fagalde | AEM QA, UAT, & Go Live
Evolve 19 | Pete Hoback & Francisco Fagalde | AEM QA, UAT, & Go LiveEvolve 19 | Pete Hoback & Francisco Fagalde | AEM QA, UAT, & Go Live
Evolve 19 | Pete Hoback & Francisco Fagalde | AEM QA, UAT, & Go Live
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Decarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational PerformanceDecarbonising Commercial Real Estate: The Role of Operational Performance
Decarbonising Commercial Real Estate: The Role of Operational Performance
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

EVOLVE'15 | Enhance | Loyola Baskar | Cisco - Multi-tenancy AEM Architecture enables FAST IT

  • 1. AUGUST 19, 2015 Multi-tenancy AEM Architecture enables FAST IT
  • 2. 2 Akhil Aggrawal Sr. Director, Architecture, EMC Previously - Distinguish Engineer & Chief Architect Cisco.com linkedin.com/in/akhilaggrawal @akhil183 BIO
  • 3. 3 Loyola Baskar Architect, Cisco • Believes data structure simplifies architecture • Loves adding numbers to his Fitbit • Practices ‘zero’ bug coding and ‘blind’ debugging BIO
  • 4. Agenda • Implementing Multi-tenant architecture • Supporting Fast-IT using Fast deploy architecture
  • 5. Cisco’s Digital Presence 355M visits to Cisco.com 11.5M social reach 3.9M paid search click- throughs 112M organic search referrals 40% 34% 71% 4% 10.7M mobile web visits 1.4M social referrers to Cisco.com 3M social media mentions 5.7M customer app downloads 2.5M video views on Cisco.com Social Media MobileWeb Video 7.5M video views on Cisco YouTube 47% [Date Range: Q1FY14 – Q4FY14] Q1FY14 – Q4FY14
  • 6. Cisco.com Web Experience Management • Ave 1200 hits/sec @ Edge • 1.75m visitors • 41% to Cisco Datacenter • 28m hits @ Adobe AEM • 82m hits @ non-AEM (migration in fy15) • Contains ~800K files (.html, .jpg, .gif, .pdf, .mobi and more) [35% of overall cisco.com content] • ~1.5 TB • 80M Nodes Source: Enterprise Operation Intelligence (Splunk) & Akamai Control Panel & Enterprise Web Analytics
  • 8. subtopic • Challenges in the past • Multitenant journey • Multitenant architecture • Content organization in AEM • weare.cisco.com use case
  • 9. Problem statement • 30+ Web Sites • No Consistent User Experience • No Governance • Inefficient Web Analytics • High Cost Per Site
  • 10. 10 Multitenant journey Mar 2013 Launched Intranet Site Corporate Sites * Marketi ng * Support * Solution weare.cisco.com AEM 5.5 Provisioned Microsites Implementation Global Sites * UK * Japan * China * ...Feb 2014 salesconnect Oct 2014 nic.cisco supplychain lifeconnections Jul 2015 Nov 2015FAST Deploy
  • 11. 11 DNS www.cisco.com Intranet Site All Microsites AEM App Server Farm Shared Dispatcher Cached Folder micro. dbm Apache Web Server Farm W W W VI P Microsite VIP Intranet VIP Internal VIP Domain Name AEM Folder weare.cisco.com weare nic.cisco csco/nic AEM Author Multitenant architecture 1. DNS/Site Selector 2. Corporate website Load Balancer 3. Microsites Load Balancer 4. Intranet/Employee Website Load Balancer 5. Apache web servers with Dispatcher 6. Apache DBM file 7. AEM 5.5 (Publish) 8. AEM 5.5 (Author) Special Rule to transform request URL to a destination Folder in AEM based on entry point • SEO Consideration • Separation of sites from one another • Security Requirements • Internal Vs External content Domain name to respective Load Balancer IP Mapping Identicalstackin3datacenters Active-Active-Passive httxt2dbm
  • 13. 13 DNS www.cisco.com Intranet Site All Microsites AEM App Server Farm Shared Dispatcher Cached Folder micro. dbm Apache Web Server Farm W W W VI P Microsite VIP Intranet VIP Internal VIP Domain Name AEM Folder weare.cisco.com weare nic.cisco csco/nic AEM Author How do we host a site on aem 1. Map weare.cisco.com to the microsite IP address 2. Map weare.cisco.com to an AEM Folder 3. Create the AEM Folders • /content/micro/weare • /content/dam/micro/weare
  • 14. 14 DNS www.cisco.com Intranet Site All Microsites AEM App Server Farm Shared Dispatcher Cached Folder micro. dbm Apache Web Server Farm W W W VI P Microsite VIP Intranet VIP Internal VIP Domain Name AEM Folder weare.cisco.com weare nic.cisco csco/nic AEM Author Under the hood http://weare.cisco.com/amazingpeople.html GET /amazingpeople.html HOST: weare.cisco.com Add Load Balancer Identifier GET /amazingpeople.html HOST: weare.cisco.com X-LB-ID: micro-cisco-public RewriteMap realms "dbm:~/db/mapping.dbm" RewriteCond %{HTTP:X-LB-ID} micro-cisco-public RewriteRule .? - [E=micro:${realms:%{HTTP_HOST}}0}] RewriteCond %{ENV:micro} !0 ReWriteRule /content/(.*) /content/micro/%{ENV:micro}/$1 /content/micro/weare/amazingpeople.html GET /content/micro/weare/amazingpeople. HOST: weare.cisco.com X-LB-ID: micro-cisco-public
  • 15. 15 Supporting Fast-IT using Fast deploy architecture
  • 16. What is fast deploy • Fast code deployment • < 5 minutes per DC for 30+ bundles (earlier 45 minutes) • Resumes deploy from where last stopped/failed • True ‘Zero’ Downtime to End User • No disruption to even the requests in progress • Sanity Test support on the deployment • Sanity users use the same domain as the end users
  • 17. Fast APP CODE deploy • Udeploy pulls the required bundles from Artifactory for a given build • First and last bundle go in sequence • Rest of the bundles go in parallel • Tool retries deploy only bundles that failed • The deployments progress parallel to all AEM in a DC pkgmgr
  • 18. 18 DNS DC 1 VIP DC 2 VIPDC 1'' VIP DC 2'' VIP AEM App Server Farm Apache Web Server Farm App VI P AEM App Server Farm Apache Web Server Farm App VI P Fast deploy architecture Domain to IP Address Resolution • Round Robin IP Distribution Primary Load Balancers •Use http probe health check •Synthetic DC failure Secondary Load Balancers (private) •Used for DC fail over •Use tcp/ip to stay connected during sanity testing Regular Traffic pattern Http probe Http probe tcp probe tcp probe failover 50 50 failover
  • 19. 19 DNS DC 1 VIP DC 2 VIPDC 1'' VIP DC 2'' VIP AEM App Server Farm Apache Web Server Farm App VI P AEM App Server Farm Apache Web Server Farm App VI P Http probe Http probe tcp probe tcp probe DC1 Deployment: END user use case 1. Probe page deleted manually to force the DC1 failure 2. End User Traffic moved to DC2 3. When all logs stop, DC1 ready for Code deployment The requests in DC will complete without fail New requests
  • 21. 21 DNS DC 1 VIP DC 2 VIPDC 1'' VIP DC 2'' VIP AEM App Server Farm Apache Web Server Farm App VI P AEM App Server Farm Apache Web Server Farm App VI P Http probe Http probe tcp probe tcp probe DC1 Deployment: sanity user use case Deployment Complete in DC1 and is ready for sanity testing Sanity user comes with a special cookie Apache Special Rewrite Rule Proxy the user to DC1 through DC1” ReWriteCond %{QUERY_STRING} sanitykey=xxkey [OR] ReWriteCond %{HTTP_COOKIE} sanitykey=xxkey ReWriteRule .? http://dc2shadow.cisco.com%{REQUEST_URI} [L,P]
  • 22. 22 Thank you. Recap 1. A new campaign/microsite can be launched in few hours 2. Costs nothing to host a site 3. Efficient deployment model < 5 min per dc 4. Zero downtime for end user 5. Realistic Sanity testing support
  • 23. Apache rewrite rules ReWriteCond %{QUERY_STRING} sanitykey=xxkey ReWriteRule .? - [CO=sanitykey:xxkey:.cisco.com:60:/] ReWriteCond %{QUERY_STRING} sanitykey=xxkey [OR] ReWriteCond %{HTTP_COOKIE} sanitykey=xxkey ReWriteCond ~/f/fastdeploy.at.dc1 -f ReWriteRule .? http://dc2shadow.cisco.com%{REQUEST_URI} [L,P] RewriteMap realms "dbm:~/db/mapping.dbm" RewriteCond %{HTTP:X-LB-ID} micro-cisco-public RewriteRule .? - [E=micro:${realms:%{HTTP_HOST}}0}] RewriteCond %{ENV:micro} !0 ReWriteRule /content/(.*) /content/micro/%{ENV:micro}/$1 MULTITENANT REWRITE RULE FAST DEPLOY REWRITE RULE

Editor's Notes

  1. Updated 8/11/14: 1 year of data / Q1FY14 – Q4FY14 Web: 4% growth y/y for visits to cisco.com Social Media: 40% growth y/y for social reach Mobile: 34% growth y/y for app downloads / 71% for mobile web visitors Video: 47% growth y/y for youtube views
  2. Talk about Splunk, New Relic