"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
Condé Nast Italy: Serverless Cost Optimization
1. Serverless Hamburg – 12 March 2018
Serverless Cost Optimization:
how Condé Nast went from $$$ to $$$/4
Marco Viganò
Digital CTO
Serverless On Stage #10
20 March 2018
6. Serverless Hamburg – 12 March 2018
• Infrastructure scaling problems due to traffic boost
• Non optimal delivery and uptime
• Aggressive time to market
• No automation
• Costs
onPremise(CN) = Error 500 Internal Server Error
2013 / 2014
8. Serverless Hamburg – 12 March 2018
CN.pilot === “Wired.it”
MigrationPreparationEvaluation Tuning
Pilot Cloud migrationEngagement of team
9. Serverless Hamburg – 12 March 2018
• Infrastructure migrated AS IS -> no optimization for the cloud
• 150 Server + 30 DB + more than 50 LB
• Application redundancy
• Costs explosion:
CN #epicfail
on premise +
cloud +
people +
external providers =
_______________
a lot of money!!!
15. Serverless Hamburg – 12 March 2018
CN.Vogue().photovogue
• > 300,000 photographers
more than 800,000 photos
image size up to 50 Mb
The Challenge
• PV was launched in 2011: needs new
UI/UX and to be re-engineered
• Photos and users growing by the day: old
legacy IT infrastructure wasn’t able to
manage the website traffic
• We need to provision resources quickly:
problems in scaling
• We wanted to give both photographers and
editorial staff a better, faster experience
• Problems with large file upload
16. Serverless Hamburg – 12 March 2018
serverless(CN.Vogue().photovogue)
• Quicker provisioning of resources: from days to hours
• No scaling problem due to traffic boost
• Cost saving: cut 30% in comparison to the old infrastructure
• Enabling innovation: Devs / DevOps, are now focused on innovation not on manage old infrastructure
survival
• UX 90% faster: photographer and editorial team now have an excellent experience
old_windows_cluster(CN.Vogue().photovogue)
23. Serverless Hamburg – 12 March 2018
• Build, Ship, and Run any App, Anywhere • Running containers across many different machines
• Scaling up or down by adding or removing containers
when demand changes
• Keeping storage consistent with multiple instances of
an application
• Distributing load between the containers
• Launching new containers on different machines if
something fails
29. Serverless Hamburg – 12 March 2018
Turn off the lights
25% 25% 25% 25%
• CPU from 8pm to 8am
• 0.2$/h
0.2$/h x 4VMs x 24h x 365day = 7008 $
• Turn of from 8pm to 8am
12h x 365day = 4380h saving = 876$
• 7008$ - 876$ = 6132$
• 12.5% Saving
33% 33% 33%
31. Serverless Hamburg – 12 March 2018
Last but not least
• Make investments on your team: training, summit, Meetup, certifications, R&D…
• Your team must be at the center of your Cloud Transformation
• No Team -> No Party -> No Saving!!!