The Cloud: What’s Different?
Blackie Tsai
April 9, 2018
Today’s Section
• Contrast the AWS Cloud to traditional on-premises model.
• Serverless: The New Cloud Trend
• Q&A
14 YEARS
70%
66%
New Trends On The S&P 500
The average tenure of companies is forecast to
shrink to 14 years by 2026 from 20 years by 1990.
IT Budgets : 70% for Run Business, 20% for Grow
Business, only 10% for Transform Business.
66% planning to increase IT security budgets as a
direct response to this risk.
What The Meaning of Number?
The traditional model of enterprises lacks agility
and cannot keep pace with new companies.
Lack of the resources to meet new business
needs to ensure competitive advantage.
Safety, compliance, and lack of usability have
reduced the competitiveness and put into risk.
Traditional On-premises Model
Traditional
On-premises Model
Hardware
Virtualization
O/S
Containers
(optional)
Runtime
Application
Functions
Services
Datacenter
Business Really Care
Need To Hire Expert
Data Center : Compute Power and Time
Time
ComputePower
Planned Capacity
Actual Usage
Waste
Customer
Dissatisfaction
Waste
Waste
Application Architecture
Core Business
Sub-system
Sub-functions Non-functional requirements
The Facing Problems
• Hiring a group of people or buying equipment
unrelated to core business development.
• It is difficult to estimate the IT budget.
• Lack of flexibility in adjusting resources.
• Build own wheels that belong to the company.
The company loses competitiveness
How Companies Succeed
Innovation or adopting new technologies to
"incremental" improvement over time.
Minimum viable product and faster of delivery
speed to reached the target market.
Scalability of IT infrastructure for expansion and
reduction for response to the business cost.
Cloud Computing
A simple way to access servers, storage, databases and a
broad set of application services over the Internet.
Global Infrastructure
18 Regions - 54 Availability Zones – 103 Edge Locations
AWS Active Customers
2011
https://acloud.guru/
1 Million+
2012 2013 2014 2015 2016 2017
Startup
Customer
Enterprise
Customer
Public Sector
Customer
AWS Pricing : Paid as You Go
Time
ComputePower
Elastic Capacity
Actual Usage
Flexibility For Running A Business
Hardware
Virtualization
O/S
Containers
(optional)
Runtime
Applications
Functions
Services
Infrastructure
(as a Service)
Hardware
Virtualization
O/S
Containers
(optional)
Runtime
Applications
Functions
Services
Platform
(as a Service)
Hardware
Virtualization
O/S
Containers
Runtime
Applications
Functions
Services
Container
(as a Service)
Hardware
Virtualization
O/S
Containers
(optional)
Runtime
Applications
Functions
Services
Function
(as a Service)
YouManage
VendorManage
YouManage
VendorManage
AWS Global Infrastructure
(Region, AZ, Edge)
Compute Storage
Database
Migration
Networking& Content
Delivery Node
Developer Tools
Machine LearningMedia ServicesManagement Tools
Mobile Services
Security & Identity &
Compliance
Analytics
Customer EngagementApplication IntegrationAR / VR
Internet Of ThingsDesktop & App StreamingBusiness Productivity
Game Development
Extensive Platform Functionality
AWS Pace of Innovation
2011
Newservicesandupdates
https://acloud.guru/
1300+
82
2012 2013 2014 2015 2016 2017
Security & Compliance
https://aws.amazon.com/compliance
• Keep Infrastructure Data Safe
• Meet Compliance Requirements
• Save Money
• Scale Quickly
• Variety of Security Service and Permission Control
AWS Security Solutions
Identity
Detective
Control
Infrastructure
Security
Incident
Response
Data
Protection
AWS IAM
AWS Cognito
AWS Directory
Service
AWS Sigle Sign-on
AWS CloudTrail
AWS Config
Amazon CloudWatch
Amazon GuardDuty
Amazon EC2 System
Manager
AWS Shield
AWS WAF
Amazon Inspector
Amazon VPC
AWS KMS
AWS CloudHSM
Amazon Macle
Certificate Manager
Server Side Encryption
AWS Config Rules
AWS Lambda
The Traditional VS Cloud Computing
Traditional
• Massive Up-front cost, Big “Steps”
• IT Staff focus on the data center
• In-house knowledge limits
• Recreate the wheel
• It’s yours
• “Monster server” capability
Cloud
• Pay as you go, Pricing Models
• Elastic Computing, Grow as needed
• Economy of scale
• Immediate security accreditation
• Globalize Infrastructure
• Collaborative Innovation
• Horizontal Scaling
Six Advantages of AWS
VARIABLE
EXPENSE SCALABILITY
SPEED
&
AGILITY
STOP WASTE
ON DATA CENTER
STOP
GUESSING
GO GLOBAL
IN MINUTES
Change The Culture
A Culture of Innovation
Experiment Often & Fail Without Risk
Transferring of Enterprise IT
Your Datacenter Public CloudHybrid Cloud
1. Development,
Testing and New
workloads
2. Analysis existing workloads
and Migrating Applications
3. Data Center
Migration
4. All-in
Build & Maintain Create More Value
• Stop guessing capacity needs
• Test system at production scale
• Automate to ease architectural experimentation
• Allow for evolutionary architectures
• Drive your architecture using data
• Improve through Game Days
The Cloud: What’s Different?
AWS Build Well-Architected Framework
Operational Excellence Security & Compliance
Reliability
Performance EfficiencyCost Optimization
Serverless: The New Cloud Trend
Recap : How Companies Succeed
Innovation or adopting new technologies to
"incremental" improvement over time.
Minimum viable product and faster of delivery
speed to reached the target market.
Scalability of IT infrastructure for expansion and
reduction for response to the business cost.
How It Influence The Development Of IT?
Agile Lean Reactive
Agile
Build
Define Release Repeat
Agile
Continuous Delivery with
workable product to customer.
BUILD
Experiments
LEARN
Pivot or Persevere
MEASURE
MetricsAnalyze
Lean
Continuous Delivery with
workable product to delivery
Minimum Viable Product to
customer.
Elastic
React to Load
Responsive
Experiments
Resilient
React to Failures
Message Driven
Module / Components Interaction
GOAL
PRINCIPLES
METHOD
Reactive
Continuous Delivery with
workable product to delivery
Minimum Viable Product to
customer. And it response to
the business with High-
availability and Scalability
automatically.
Server to Serverless
Application and
Operation teams design,
acquire, and maintain
servers to meet the
specific needs of
application.
Hardware abstracted
away to allow for
specific CPU, Memory,
Storage, and Network to
meet the needs of
application on a per
server basis.
Hardware and Operating
System is abstracted
away. Can packaged to
run in resource-isolated
processes.
Applications are built
using a combination of
services. Break
application into small
bite sized pieces.
Server to Serverless
On-premise Virtual Machines Containers Serverless
Deploy in months
Live for years
Deploy in hours
Live for weeks
Deploy in minutes
Live for hours
Deploy in seconds
Live for seconds
From One Big To Many Small
Monolithic
Application
Microservice
Microservice
Microservice
Function
Function
Function
Function
Function
AWS Compute Offerings
EC2
IaaS
AMI
EKS FargateECS
CaaS
Container
Beanstalk
PaaS
Application
Lambda
FaaS
Function
Let’s Talk About Lambda
Serverless compute platform for stateless code execution
in response to events
AWS Lambda Architecture
Trigger Resources
Permissions
Amazon Kinesis
Amazon DynamoDBAmazon Dynamo DB Amazon SNS
AWS CodeCommitAmazon API Gateway
Alexa skillAlexa Skill
Amazon S3Amazon S3
AWS IoTAWS IoTAlexa smart home skillAlexa Smart Home
Amazon CloudWatch
Amazon CognitoAmazon Cognito
Code Permissions CloudFormation
Programming Language Support
• JavaScript with Node.js
• Java
• Python
• C# with .NET Core
https://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html
Pay per request
• Buy compute time in 100ms increments.
• Low request charge.
• No hourly, daily or monthly minimums.
• Only pay for running, never pay for idle.
Free tier: 1 million requests, and 400,000 GBs of compute
every month for every customer.
Case : Real-time File Processing
https://aws.amazon.com/lambda/ https://aws.amazon.com/solutions/case-studies/the-seattle-times/
Case : Real-time Stream Processing
https://aws.amazon.com/lambda/ https://aws.amazon.com/solutions/case-studies/localytics/
Case : IoT Backends
https://aws.amazon.com/lambda/
Case : Web Applications
https://aws.amazon.com/lambda/
Case Study
Background
As a Customer
I want a New Service that can auto-generate daily summary report
according to the display from current back-end system(web), and
send this report to related people
So that we can do the Marketing Analysis more accurately.
Todo List
• Make a Crawler to gathering information from system display.
• Design a mechanism to convert the information and generate
daily report.
• Integrate File System for report stored.
• Integrate Mail Service to send the report.
• Design the system high-availability and scalability.
Traditional Architecture
Buying Server and setup environment for 2 weeks.
Programing development
- 1 weeks for service setup(file server, email, web
server)
- 1 weeks for core functions
- 2 weeks for high availability and scalability.
Difficult to estimate Cost and Capacity. And Lost the
Focus on development.
Serverless Architecture – AWS Lambda
Development Flow
Design Coding Deploy
CloudFormation
https://cloudcraft.co/
AWS CLI
Results
• Delivery from 6 weeks reduce to 1 week.
• Save 90% cost in the front of the project and has
predictable billing report for evaluating.
• Enable fully Auto-scaling and High-availability.
• Report file been Protecting from AWS S3.
• 1 command to deploy and delivery in seconds.
Benefits of Going Serverless
6.7Cost-effective6.7
Time to
Market
6.7
Focus on
Logic
When to Use Serverless Architecture
Cron Job Service Lightweight API
Data Statistics Analysis
Chatbot & WebHookInternet Crawler
Trigger
AWS Serverless Application Repository
https://serverlessrepo.aws.amazon.com/applications
Q&A
Thank You
• http://creativecommons.tw
• https://www.flaticon.com
• https://pixabay.com
• https://thenounproject.com
Media Sources