SlideShare a Scribd company logo
1 of 43
Serverless Apps
The Startup Founder's Secret Weapon
Ardee Aram
KlaudSol Philippines, Inc.
λ
Who wants to start
their own IT-based
business?
Is it possible to start a business
while in college? YES!
Hypermedia Christmas Party 2004
Me at 20
What are Serverless Apps?
What is Serverless Computing?
“Serverless computing is a
cloud computing execution
model in which the cloud
provider allocates machine
resources on demand,
taking care of the servers
on behalf of their
customers.” - Wikipedia
What is Serverless Computing?
Instead, let’s do this:
● Serverless = developers need not worry about
servers!
● Let’s define Serverless Computing (or simply
Serverless) by the problems that it solves.
● Let’s define Serverless Computing against
alternatives.
Good?
Ji Pyeong the Student Founder
Strengths
● Time
● Energy
● Brains
● Desire to
win
Weaknesses
● Lack of
money
● Lack of
connections
Lean Product Development
Ideation (₱0.00)
1 Programming (₱0.00)
3
2
Validation (₱0.00) Presentation
& Feedback
(₱₱₱)
4
Lean Product Development
For people to use
your app, you
need to deploy it
on a server.
Problem: you
need ₱₱₱
Review: What is a Server?
Clients ask Servers reply
Chicken and Egg Problem
Need to upload
to server to earn
money
Need to earn
money to upload
to server
????
Success vs. Failure
Failure
● Nobody visits
● Nobody buys
● ₱0 Income
● Expense > Income
Success
● Money coming in
● ₱+ Income
● Income >> Expense
● Party!!!
Ideal Scenario
On Failure
● Nobody visits
● Nobody buys
● ₱0 Income
● ₱0 on server
● Try again!
● Addition to
Portfolio
On Success
● Became viral
● Money coming in
● ₱+ Income
● ₱+ on server
● Party!!!
Evolution of Servers
Physical
1 Hosting
2 Cloud
3 Serverless
4
Physical Servers
Physical Servers
Development Server:
2nd hand PC AMD ATHLON
(Shopee) - ₱8,500
Production Grade Server:
Dell PowerEdge T30 Entry Level
Mini Tower Server Intel Xeon
E3-1225 (Asianic) - ₱45,900
PLDT Asenso Fibr Plan - ₱2,099
Physical Servers
On Failure
● Nobody visits
● Nobody buys
● ₱0 Income
● ₱45,900 on server
● ₱- on electricity &
internet
● Reuse server for next
project
● Cannot turn off for
portfolio
On Success
● Became viral
● ₱+ Income
● ₱45,900 on server
● ₱- on electricity &
internet
● Hard, takes time to
upgrade
● Headaches (!!!)
Physical Server Headaches
● Overheating (needs aircon)
● Must ensure constant electricity
● Regular backups
● Software Updates
● Must ensure that volumes have
enough space
● Must ensure that internet is
available
● Must diagnose and replace
failing components
● Etc...
Physical Server Headaches
But I just want to code!!!!!!!
(And make money)
Evolution of Servers
Physical
1 Hosting
2 Cloud
3 Serverless
4
Hosting = Somebody Else’s
Problem
You keep the server, I’ll just
pay you “rent”.
K fine.
Hosting
Hosting
On Failure
● Nobody visits
● Nobody buys
● ₱0 Income
● ₱430/month on server
● Cannot turn off for
portfolio
On Success
● Became viral
● ₱+ Income
● ₱430/month on server
● Hard, takes time to
upgrade
● Will go down if
traffic > capacity (!!!)
Hosting - On Success
Small Machine
Big
Machine
Files
Evolution of Servers
Physical
1 Hosting
2 Cloud
3 Serverless
4
Cloud
Cloud computing allows you to increase or
decrease computing power and storage by a
click of a button. (vertical scaling)
dual-core quad-core 8-core 16-core
Cloud
Cloud computing allows also allows you to
create and destroy clones of the same server
indefinite number of times (horizontal scaling)
Cloud
On Failure
● Nobody visits
● Nobody buys
● ₱0 Income
● ₱923.52/month on
server (t3.small AP)
● You need at least 1
server to keep it running
● Cannot turn off for
portfolio
On Success
● Became viral
● ₱+ Income
● ₱(923.52 x N)/month on
server
● Very easy to upgrade!
● Very easy to
downgrade!
Evolution of Servers
Physical
1 Hosting
2 Cloud
3 Serverless
4
Serverless
● It is a cloud computing service.
● The difference lies in billing.
● Burst vs. Running Instance.
Runtime vs. Uptime
“1 + 1?”
“2”
Runtime: 100ms
“1 + 1?”
“2”
Uptime: 72h
Serverless
On Failure
● Nobody visits
● Nobody buys
● ₱0 Income
● ₱0 on server
● Try again!
● Addition to
Portfolio
On Success
● Became viral
● Money coming in
● ₱+ Income
● ₱+ on server
● Party!!!
Serverless Magic: Cheap Failures!
❌
Cost: ₱0
Portfolio: 1
❌
Cost: ₱0
Portfolio: 2
❌
Cost: ₱0
Portfolio: 3
❌
Cost: ₱0
Portfolio: 4
✅
Serverless Components
CDN / Edge
Static Files (HTML/CSS/JavaScript)
(JS: React/Vue/Angular)
Lambda / Function
Logic (NodeJS / Go)
Serverless Database
Database
Content Delivery Network (CDN)
Content Delivery Network (CDN)
● AWS CloudFront
● Netlify Edge
● Microsoft Azure CDN
● Google Cloud CDN
● Vercel Edge Network
Lambda / Function
● AWS Lambda
● Netlify Functions
● Microsoft Azure Functions
● Google Cloud Functions
● Vercel Serverless Functions
Serverless Database
● Upstash (Redis, Mongo)
● Amazon DynamoDB
● Amazon Aurora (MySQL)
Serverless App Demo!
https://www.facebook.com/groups
/serverless.ph
Let’s Connect!
Part-time dev job?
Project-based?
Full-time?
Let’s talk!
Flexible hours, Remote work.
ardee@klaudsol.com
Serverless apps:  The startup founder's secret weapon

More Related Content

Similar to Serverless apps: The startup founder's secret weapon

Move out from AppEngine, and Python PaaS alternatives
Move out from AppEngine, and Python PaaS alternativesMove out from AppEngine, and Python PaaS alternatives
Move out from AppEngine, and Python PaaS alternatives
tzang ms
 
Creating Virtual Infrastructure
Creating Virtual InfrastructureCreating Virtual Infrastructure
Creating Virtual Infrastructure
Jake Weston
 

Similar to Serverless apps: The startup founder's secret weapon (20)

THE RISE AND FALL OF SERVERLESS COSTS - TAMING THE (SERVERLESS) BEAST
THE RISE AND FALL OF SERVERLESS COSTS - TAMING THE (SERVERLESS) BEASTTHE RISE AND FALL OF SERVERLESS COSTS - TAMING THE (SERVERLESS) BEAST
THE RISE AND FALL OF SERVERLESS COSTS - TAMING THE (SERVERLESS) BEAST
 
St. Louis Day of .NET 2013 - Building Your Dev and Test Sandbox with Windows ...
St. Louis Day of .NET 2013 - Building Your Dev and Test Sandbox with Windows ...St. Louis Day of .NET 2013 - Building Your Dev and Test Sandbox with Windows ...
St. Louis Day of .NET 2013 - Building Your Dev and Test Sandbox with Windows ...
 
2016-JAN-28 -- High Performance Production Databases on Ceph
2016-JAN-28 -- High Performance Production Databases on Ceph2016-JAN-28 -- High Performance Production Databases on Ceph
2016-JAN-28 -- High Performance Production Databases on Ceph
 
Unite2014 Bunny Necropsy - Servers, Syncing Game State, Security and Optimiza...
Unite2014 Bunny Necropsy - Servers, Syncing Game State, Security and Optimiza...Unite2014 Bunny Necropsy - Servers, Syncing Game State, Security and Optimiza...
Unite2014 Bunny Necropsy - Servers, Syncing Game State, Security and Optimiza...
 
Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want...
Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want...Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want...
Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want...
 
Move out from AppEngine, and Python PaaS alternatives
Move out from AppEngine, and Python PaaS alternativesMove out from AppEngine, and Python PaaS alternatives
Move out from AppEngine, and Python PaaS alternatives
 
Creating Virtual Infrastructure
Creating Virtual InfrastructureCreating Virtual Infrastructure
Creating Virtual Infrastructure
 
Preparing for Neo - Singapore OutSystems User Group October 2022 Meetup
Preparing for Neo - Singapore OutSystems User Group October 2022 MeetupPreparing for Neo - Singapore OutSystems User Group October 2022 Meetup
Preparing for Neo - Singapore OutSystems User Group October 2022 Meetup
 
Scaling and Distributing
Scaling and DistributingScaling and Distributing
Scaling and Distributing
 
Compute Cloud Performance Showdown: Amazon Web Services, Oracle Cloud, IBM ...
Compute Cloud  Performance Showdown: Amazon Web Services, Oracle  Cloud, IBM ...Compute Cloud  Performance Showdown: Amazon Web Services, Oracle  Cloud, IBM ...
Compute Cloud Performance Showdown: Amazon Web Services, Oracle Cloud, IBM ...
 
The End of Data Entry: Liberate Your Organization Through Automation and Inte...
The End of Data Entry: Liberate Your Organization Through Automation and Inte...The End of Data Entry: Liberate Your Organization Through Automation and Inte...
The End of Data Entry: Liberate Your Organization Through Automation and Inte...
 
Infrastructure development on windows ldn cd meetup
Infrastructure development on windows   ldn cd meetup Infrastructure development on windows   ldn cd meetup
Infrastructure development on windows ldn cd meetup
 
Continuos Integration and Delivery: from Zero to Hero with TeamCity, Docker a...
Continuos Integration and Delivery: from Zero to Hero with TeamCity, Docker a...Continuos Integration and Delivery: from Zero to Hero with TeamCity, Docker a...
Continuos Integration and Delivery: from Zero to Hero with TeamCity, Docker a...
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
VMware-Dell-Virtualization.pptx
VMware-Dell-Virtualization.pptxVMware-Dell-Virtualization.pptx
VMware-Dell-Virtualization.pptx
 
The DevOps Journey at bwin.party
The DevOps Journey at bwin.partyThe DevOps Journey at bwin.party
The DevOps Journey at bwin.party
 
Managing Remote Teams
Managing Remote TeamsManaging Remote Teams
Managing Remote Teams
 
How to install IBM Connections in a Coffe Break
How to install IBM Connections in a Coffe BreakHow to install IBM Connections in a Coffe Break
How to install IBM Connections in a Coffe Break
 
Automatic Undo for Cloud Management via AI Planning
Automatic Undo for Cloud Management via AI PlanningAutomatic Undo for Cloud Management via AI Planning
Automatic Undo for Cloud Management via AI Planning
 
iFood on Delivering 100 Million Events a Month to Restaurants with Scylla
iFood on Delivering 100 Million Events a Month to Restaurants with ScyllaiFood on Delivering 100 Million Events a Month to Restaurants with Scylla
iFood on Delivering 100 Million Events a Month to Restaurants with Scylla
 

Recently uploaded

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 

Serverless apps: The startup founder's secret weapon

Editor's Notes

  1. Why? Who wants to start their own IT-based business Show of hands via chat This presentation is especially for you For non-entrepreneurs, learning Serverless Computing is still valuable in your IT career How old are you? 20 - 21? Is it possible to start a business while in college? YES! What does Serverless Computing have to do with starting a tech business? Everything. Problem: Jessie the Student Founder Has Laptop, Internet Connection Lives with Mom 20 pesos in pocket BRAINS + TIME Ideas Founder with limited resources Guerilla Tactics App Development Route Jessie thinks of an idea Jessie programs the web app / mobile app Jessie needs to show the world What? How? Basic components of a Serverless App Frontend - CDN Logic - Lambda Functions Persistence - Redis / Upstash
  2. Photo by Bermix Studio on Unsplash
  3. Sumakit ang ulo ko actually
  4. Lean Product Development = Experiment How can you make the experiments as cheap as possible? We have to make failure as cheap as possible Failure = Learning Success = Double-down 3 MVP - Minimum viable product Make the product with minimum features with minimum time spent to test a hypothesis 4. Presentation People Lie Will anyone buy your app?
  5. Before we define what Serverless is, we must first define what a server is. In a Client-Server architecture, we have a client who asks for something, and the server provides it Web servers - website - HTML, CSS, JavaScript Database servers - contain data File servers - return files The server’s primary role is to WAIT for incoming request from clients, and to respond appropriately.
  6. On Failure Failure = Learning Fail as cheap as possible Try again = starting over, or just modifying the app a little bit (Lean Terminology = Pivot) On Success Okay lang magbayad lalo na kung may pera Who is playing DOTA here? Super bano ko sa dota. One lesson I learned - do not die. Run, hide if you can, but do not die.
  7. Serverless is, ironically, a type of server Again, a server is where you put your application for the world to see. Evolution of server from the point of view of app developers. Each “generation” of server tries to solve a problem that is plaguing the previous generation. Will also evaluate the cost needed for our Student Founder We will also explore the cost on what will happen if the app flops, and what will happen if the app goes viral
  8. Tell story about Towa Intercon presentation Natanggal yung CPU habang nag-on Nagbus yung co-founder ko dala dala ang computer Laptops are super expensive back then!
  9. Tell story about Friendster Philippines Napatid yung isang employee sa isang power cable, nag-down ang site! Tell story about UP Diliman computerized registration system
  10. One of the main problems of a physical server is the difficulty in adding or subtracting resources as the need arises.
  11. Tell story of horror stories of maintaining computers in an internet cafe
  12. Ayoko ng servers, I just want to make an app
  13. There are companies that realized that server maintenance is too troublesome. So they setup their server farms, and just charge for hosting fee.
  14. Shared Hosting - you are renting the machine with other tenants. Dedicated Hosting - the whole machine is exclusively yours.
  15. The biggest issue with hosting is that when your site becomes popular, it is very hard to “upgrade” your plan.
  16. You may have to transfer manually all of your files to another server if you reached the machines capacity
  17. Tell story of Jeff Bezos and Amazon Retail Cloud computing allows you to increase or decrease computing power and storage by a click of a button. For software developers like us, cloud computing is heaven! How does AWS do this? I have no freaking idea. Vertical scaling is the easiest, but not the most cost-effective way to scale. The more powerful the
  18. Cloud computing allows you to increase or decrease computing power and storage by a click of a button. For software developers like us, cloud computing is heaven!
  19. Billed per hour, but you need at least 1 server to keep it running The reversed is true for the cloud: It can handle the success well, but it’s rather costly to maintain a failure for portfolio
  20. Do you know angry birds? Rovio created Angry Birds Do you know how many failed apps did they make before becoming successful? 51 This is why I think Serverless Computing and Serverless apps are perfect for Guerilla strategy
  21. Static files - by definition they do not change. I get rerouted to the closest CDN note to me. CDN charges you for two things: * bandwidth - how often your site gets visited * storage - how big your files are
  22. Static files - by definition they do not change. I get rerouted to the closest CDN note to me. CDN charges you for two things: * bandwidth - how often your site gets visited * storage - how big your files are
  23. Charged per connection and per storage
  24. Charged per connection and per storage
  25. Bonus, paki-type sa chat kung saang game galing ito?