SlideShare uma empresa Scribd logo
1 de 144
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Design, Build, and Modernize
Your Web Applications with
AWS
AWS Workshop Series
6 March 2018
Jakarta, Indonesia
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Quick Introduction
Donnie Prakoso, MSc
AWS Technology Evangelist, ASEAN
@donnieprakoso
donnieprakoso
• Speak in Go and Python
• Machine Learning and Serverless
• I AWS User Groups
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS User Group Indonesia
https://www.facebook.com/groups/awsindonesia/
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Before We Start
• Take notes – a lot of it
• Ask our expert team
• Create a Qwik Labs account
• https://qwiklabs.com/
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
Session 1
• Cloud Computing
• Why AWS?
• AWS Core Components
• Amazon EC2
• Use Cases
• Hands On
• Amazon VPC (Optional)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
Session 2
• Quick recap on Amazon EC2
• Amazon EC2 Auto Scaling
• Amazon Elastic Load Balancing
• Use Case
• Hands On Auto Scaling
• Hands On ELB
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agenda
Session 3
• AWS Lambda
• Demo
• Use Case
• Hands On
• Next Steps
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Session 1
Starting your Cloud Journey
with AWS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WHAT IS CLOUD COMPUTING?
On-demand delivery of IT resources
via the Internet
with pay-as-you-go pricing
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Indonesian Customers
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
WHY AWS?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Elasticity1
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Elastic Capacity
• “Fork-lift”
uprades
• Cap Ex up front =
more risk
• Risk of
wasted
capacity
• Over-
provisioning
• Risk of
unavailability
• Under-
Provisioning
• Near 100%
utilization is
possible in the
cloud!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cost Savings2
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Cost Savings
Replace Costly IT budget with Utility model
Pay as you go, only for what you use
Prevent Overspending
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Agility3
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Increase Your Business Agility
Cloud-readiness: Fit the infrastructure to the app, or
fit the app to the infrastructure
Increase Test-Dev Opportunities
Take ideas to market faster
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Breadth and Depth of Functionalities4
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
ENTERPRISE
APPS
DEVELOPMENT & OPERATIONSMOBILE SERVICESAPP SERVICESANALYTICS
Data
Warehousing
Hadoop/
Spark
Streaming Data
Collection
Machine
Learning
Elastic Search
Virtual
Desktops
Sharing &
Collaboration
Corporate
Email
Backup
Queuing &
Notifications
Workflow
Search
Email
Transcoding
One-click App
Deployment
Identity
Sync
Single Integrated
Console
Push
Notifications
DevOps Resource
Management
Application Lifecycle
Management
Containers
Triggers
Resource
Templates
TECHNICAL &
BUSINESS
SUPPORT
Account
Management
Support
Professional
Services
Training &
Certification
Security
& Pricing
Reports
Partner
Ecosystem
Solutions
Architects
MARKETPLACE
Business
Apps
Business
Intelligence
Databases
DevOps
Tools
NetworkingSecurity Storage
Regions
Availability
Zones
Points of
Presence
INFRASTRUCTURE
CORE SERVICES
Compute
VMs, Auto-scaling,
& Load Balancing
Storage
Object, Blocks,
Archival, Import/Export
Databases
Relational, NoSQL,
Caching, Migration
Networking
VPC, DX, DNS
CDN
Access
Control
Identity
Management
Key
Management
& Storage
Monitoring
& Logs
Assessment
and reporting
Resource &
Usage Auditing
SECURITY & COMPLIANCE
Configuration
Compliance
Web application
firewall
HYBRID
ARCHITECTURE
Data
Backups
Integrated
App
Deployments
Direct
Connect
Identity
Federation
Integrated
Resource
Management
Integrated
Networking
API
Gateway
IoT
Rules
Engine
Device
Shadows
Device
SDKs
Registry
Device
Gateway
Streaming Data
Analysis
Business
Intelligence
Mobile
Analytics
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
516
24 48
6
1
82
159
280
722
1,01
7
LAUNCHES
2 0 0 8 2 0 0 9 2 0 1 0 2 0 1 1 2 0 1 2 2 0 1 3 2 0 1 4 2 0 1 5 2 0 1 6
1,300+
2 0 1 7
P A C E O F
I N N O V A T I O N
New capabilities daily
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Shared Responsibility
Model
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Go global in a minute5
AW S
REGIONAL
EXPANSION
18 Regions 53 AZs, 100+ edge
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
STATE OF THE CLOUD
44.1%
7.7%
3.0
%
2.3%
1.0%
1.4%
0.7%
2.2%
0.5%
0.9%
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1
2
3
4
5
Agility
Cost Savings
Breadth and Depth of Functionalities
Elasticity
Go global in a minute
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Because time is valuable
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
By using AWS, Kumparan saves up to 30% on implementation
costs, compared to running an on-premise infrastructure. With
increased availability and close to zero downtime, we can focus on
our application delivery instead.
Autoscaling lets Kumparan deliver reliable services, even with up to
3X spike in traffic.
Using AWS allowed Kumparan to shorten time to market. It took
three months from web development to go ’live’, instead of six
months based on previous experience they had.
30%
Cost Saving
300%
Traffic
50%
Go To Market
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Core Components
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Core Components
Amazon
EC2
Auto
Scaling
• Elastic Compute Cloud
• Allow users to use virtual machines per their
requirement
• Configuration options to scale up and down
• On demand compute power
• Allows to scale Amazon EC2 instance up and
down automatically per instructions set by user
• Effective for applications that fluctuate on hourly,
daily or weekly usage
• Conditions can be based off of traffic schedule
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Core Components
Elastic
Load
Balancing
• Automatically distributes
incoming traffic across multiple
EC2 in multiple availability
zones
• Serves as a single point of
contact for clients, which
increases the availability of the
application
Amazon
S3
• Scalable, high-speed, low cost,
web based service for online
backup and archiving of data
and application program
• Allows to upload, store
download any type of files up
to 5GB in size
CloudFront
• CloudFront is a CDN. It retrieves data from Amazon S3 bucket and distribute it
to multiple data center locations
• It delivers data through a network of data centers called edge locations
• The nearest edge location routed when user requests fro data, resulting in
lowest latency, low network traffic, fast access to data
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon
Route 53
Amazon
RDS
AWS Core Components
• Highly available and scalable Domain Name
System (DNS) web service.
• Designed for developers and corporates to
route the end users to internet application
• Connects user requests to infrastructure
running in AWS – such as Amazon EC2
instances, Elastic Load Balancing load
balancers, or Amazon S3 buckets
• Fully managed SQL database cloud service
• Allows to create and operate relational
database
• Using RDS to access files and database
anywhere in cost effective and highly scalable
way
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Compute offerings
AWS Lambda
Serverless compute
platform for stateless
code execution in
response to triggers
Amazon
ECS&EKS
Container management
service for running
Docker & Kubernetes on
a managed cluster of
EC2 instances
Amazon
EC2
Virtual servers
in the cloud
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Compute Offerings
• VMs
• Machine as the unit of scale
• Abstracts the hardware
• Containers
• Application as the unit of scale
• Abstracts the OS
• Serverless
• Functions as the unit of scale
• Abstracts the language runtime
Amazon ECS
Amazon EC2
AWS Lambda
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
How do I choose?
• VMs
• “I want to configure machines,
storage, networking, and my OS”
• Containers
• “I want to run servers, configure
applications, and control scaling”
• Serverless
• “Run my code when it’s needed”
ECS
EC2
Lambda
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What is EC2?
aws ec2 run-instances 
--image-id ami-a10897d6 
--instance-type c4.8xlarge 
--count 1000 
--security-group-ids sg-0ba94d6e 
--key-name MyKeyPair
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Host Server
Hypervisor
Guest 1 Guest 2 Guest n
Amazon EC2 Instances
Instancegeneration
c4.large
Instancefamily Instancesize
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Instance sizing
c4.8xlarge 2 - c4.4xlarge
≈
4 - c4.2xlarge
≈
8 - c4.xlarge
≈
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EC2 Terminology
AMI
Virtual Machine
Configuration
Instance
Running or
Stopped VM
VPC
AZ Availability Zone
Amazon S3
EBS EBS EBS
VPC
EBS EBS EBS
EBS
Snapshots
S3 Buckets
Region
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EC2 Instance Families
Compute Optimized: C family
• Lowest price for compute performance
Memory Optimized: R and X families
• Lowest price per GiB of RAM
Storage optimized: I and D families
• Best value for IO performance or per GB instance storage
General purpose: M and T families
• Balance of compute, memory, and network resources
Accelerated Computing: F, G and P families
• Ideal for graphics and general purpose GPU compute applications
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EC2 Security Groups
Security Group Rules
• Name
• Description
• Protocol
• Port range
• IP address, IP range,
Security Group name
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
On-Demand
Pay for compute
capacity by the hour
with no long-term
commitments
For spiky workloads,
or to define needs
Reserved
Make a low, one-
time payment and
receive a significant
discount on the
hourly charge
For committed
utilization
Spot
Bid for unused
capacity, charged at a
Spot Price which
fluctuates based on
supply and demand
For time-insensitive
or transient
workloads
Dedicated
Launch instances
within Amazon VPC
that run on hardware
dedicated to a single
customer
For BYOL and highly
sensitive/regulated
workloads
Use a purchasing option (mix) that best fits your workload
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EC2 On-Demand Pricing
Short-term, Spiky and
unpredictable
Low cost and
flexible
Develop and test
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EC2 Reserved Pricing
Upfront payments to
reduce costs
Steady State Reserved Capacity
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Reserved Instance details
Options
No upfront
Partial upfront
All upfront
Commitment Level
1 Year
3 Year
RI Marketplace
* Dependent on specific AWS Service, size/type and Region
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
EC2 Spot Pricing
Users with urgent
computing needs or
large amounts of
additional capacity
Time or instance
flexible
Experiment and/or
build cost sensitive
businesses
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Spot Instance details
Options
• Spot fleet to maintain Instance
Availability
• Spot block durations (1-6
hours) for workloads that must
run continuously
Commitment level
• None
* Compared to On Demand price based on specific EC2 instance type, region and availability zone
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Spot Rules
Markets where the price of compute changes based on supply and
demand
You’ll never pay more than your bid.
50% Bid
of OD
75% Bid
of OD
25%
Bid
of ODYou pay the
market price
87% discount!
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
“By using AWS Spot instances, we've been able to save 75% a month
simply by changing four lines of code. It makes perfect sense for saving
money when you're running continuous integration workloads or
pipeline processing.”
Matthew Leventi, Lead Engineer, Lyft
Why use Spot – customer examples
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Use a Combination of All Three!
1. Use Reserved Instances for
known/steady-state workloads
2. Set-up multiple Scaling groups
3. Scale using Spot, On-Demand or
both
0
2
4
6
8
10
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
/Spot
On Demand
Spot
Reserved Instance
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon VPC
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
VPC
AZ Availability Zone
Amazon S3
EBS EBS EBS
VPC
EBS EBS EBS
EBS
Snapshots
S3 Buckets
Region
• Amazon VPC is the networking layer
for Amazon EC2
• Virtual Private Cloud (VPC) is a
virtual network dedicated to your
AWS account
• Isolated with other virtual networks
• Public subnet or private subnet
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Build secure architectures
Use VPC - Provision a logically isolated section of the AWS cloud
Control your virtual networking environment with:
• Subnets
• Route tables
• Security groups
• Network ACLs
• Flow logging (new!)
Control if and how your instances access the Internet
Connect to your on-premises network via a hardware VPN or AWS Direct Connect
Monitor all changes via Amazon CloudWatch Logs and AWS CloudTrail
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Availability Zone 1a Availability Zone 1b
Internet
10.0.0.5
10.0.0.6
10.0.3.17
10.0.3.5
10.0.1.5
10.0.1.25
10.0.1.8
10.0.1.6
VPC Subnet
VPC Subnet
VPC Subnet
Virtual Private Gateway
Customer Gateway
VPN Connection
Internet Gateway
Customer Data Center
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Notes
Classroom Environment URL
https://qwiklabs.com/ilt/classrooms/15039
Upon log in, click on the
Catalog link in the top left-
hand corner of the screen
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Hands On – Amazon EC2
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Session 2
Dynamically Scale Web
Applications with Amazon EC2
Auto Scaling
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Serverload
Hour of day
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Serverload
Hour of day
Capacity of 1 server
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Serverload
Hour of day
Capacity of 1 server
Traditional capacity required
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Serverload
Hour of day
Capacity of 1 server
Traditional capacity required
1 server for 8 hours
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Serverload
Hour of day
Capacity of 1 server
Traditional capacity required
1 server for 8 hours 1 server for 8 hours
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Serverload
Hour of day
Capacity of 1 server
Traditional capacity required
1 server for 8 hours 1 server for 8 hours
1 server for 8 hours
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Serverload
Hour of day
Capacity of 1 server
Traditional capacity required
1 server for 8 hours 1 server for 8 hours
1 server for 8 hours
1 server for 8 hours
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Serverload
Hour of day
Capacity of 1 server
Traditional capacity required
1/3rd
saving
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
0
1
2
3
4
5
6
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30
Instancecount
Day of month
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
0
1
2
3
4
5
6
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30
Instancecount
Day of month
Monthly
predictable
peak
processing
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
0
1
2
3
4
5
6
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30
Instancecount
Day of month
Traditional capacity required
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
0
1
2
3
4
5
6
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30
Instancecount
Day of month
Elastic capacity
Traditional capacity required
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
0
1
2
3
4
5
6
0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30
Instancecount
Day of month
75% savings
Traditional capacity required
Elastic capacity
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Example: 3-tier web application architecture
Scalable Web Apps
A very popular use-case for AWS services
Applications with growing, variable or cyclical demand fit AWS well
Elasticity and automation can be exercised to real advantage
AWS services allow you to accelerate application development
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Compute & Networking
Autoscaling
Automatic re-sizing of compute clusters based
upon demand.
Trigger auto-
scaling policy
Feature Details
Control Define minimum and maximum instance pool sizes
and when scaling and cool down occurs
Integrated to
CloudWatch
Use metrics gathered by CloudWatch to drive
scaling
Instance types Run auto scaling for on-demand instances and spot.
Compatible with VPC
Actual
EC2
72
Databas
e
Analytic
s
AWS Global Infrastructure
Mobile
Services
Application Services
Security &
Identity
Compute
Managemen
t Tools
Developer
Tools
Networkin
g
Storage &
Content
Distribution
Application
s
IoT
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Compute & Networking
Elastic Load Balancing
Create highly scalable applications.
Distribute load across EC2 instances in multiple availability zones.
Feature Details
Auto-scaling Automatically scales to handle request volume
Available Load balance across instances in multiple
availability zones
Health checks Automatically checks health of instances and
takes them in or out of service
Session stickiness Route requests to the same instance
Secure sockets layer Supports SSL offload from web and application
servers with flexible cipher support
Monitoring Publishes metrics to Cloud Watch
73
Databas
e
Analytic
s
AWS Global Infrastructure
Mobile
Services
Application Services
Security &
Identity
Compute
Managemen
t Tools
Developer
Tools
Networkin
g
Storage &
Content
Distribution
Application
s
IoT
WHY AWS FOR SCALABLE
WEB APPLICATIONS?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Websites & Digital Transformation
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
BEING IN THE CLOUD
GIVES
US THE
SCALABILITY
OF ADDING
APPLICATION
AND DATABASE
SERVERS
AS WE NEED
THEM.
Keith Mitchell
Programmer
reddit.com
• reddit is a San Francisco, CA company that provides
reddit.com, a social news and entertainment website where
users can submit and rank ideas, images, and links
• reddit originally operated reddit.com on physical servers, but
after the number of users quadrupled in 18 months, the
company realized it couldn’t scale with an on-premises
environment
• By migrating to AWS, reddit can scale to manage 4 billion
page views per month and run its website with only 20
employees
With AWS, reddit scales its social news site to handle 4 billion
page views per month with only 20 employees
Find out more here : aws.amazon.com/solutions/case-studies/reddit/
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Pick your platform
Use your favourite tools
Grow & shrink capacity to match demand
Spend your money on what matters
Take your app or site global in minutes
Never make your customers wait
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
RULE BOOK FOR SCALABLE WEB
APPLICATIONS ON AWS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Service all requests
Service requests as fast as possible
Handle requests at any volume
Simply your architecture
Automate operations & management
Use the unique properties of the cloud
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Service all requests1
DNS APPLICATION DATA
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Service all requests1
DNS APPLICATION DATAREQUEST
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Service all requests1
DNS APPLICATION DATAREQUEST
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Service all requests1
DNS APPLICATION DATAREQUEST ╳
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Service all requests1
DNS APPLICATION DATAREQUEST
100%
Availability
SLA
aws.amazon.com/route53/sla
Global Delivered from AWS global edge locations for fast
and reliable domain name resolution
Scalable Automatically scales based upon query volumes
Latency based
routing
Supports resolution of endpoints based upon
latency, enabling multi-region application delivery
Integrated Integrates with other AWS services allowing Route
53 to front elastic load balancers, S3 and EC2
Secure Integrates with IAM giving fine grained control over
DNS record access
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Service all requests1
DNS APPLICATION DATAREQUEST
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1
DNS APPLICATION DATAREQUEST
Region
Region
Elastic
Load
Balancer
Elastic
Load
Balancer
Availability Zone
Availability Zone
Availability Zone
Availability Zone
Elastic load balancing
Multi-availability zone
Multi-region
Service all requests
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
1
DNS APPLICATION DATAREQUEST
Region
Region
Elastic
Load
Balancer
Elastic
Load
Balancer
Availability Zone
Availability Zone
Availability Zone
Availability Zone
Amazon
DynamoDB
Amazon
DynamoDB
Service all requests
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Service requests as fast as possible2
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Service requests as fast as possible
1) Chose the ‘closest’ endpoint
2
REQUEST
Amazon
Route 53
Region A Region B
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2
REQUEST
Amazon
Route 53
Region A Region B
16ms 92ms
Service requests as fast as possible
1) Chose the ‘closest’ endpoint
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2
REQUEST
Amazon
Route 53
Region A Region B
16ms 92ms
Service requests as fast as possible
1) Chose the ‘closest’ endpoint
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
2
Amazon
Route 53
Region A Region B
16ms
REGION A DNS ENTRY
REQUEST
Service requests as fast as possible
1) Chose the ‘closest’ endpoint
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Service requests as fast as possible
2) Offload your application servers
2
London
Paris
NY
Served from S3
/images/*
3
Served from EC2
*.php
2
Single CNAME
www.mysite.com
1
Amazon CloudFront
Content delivery web service
Integrates with other Amazon Web Services
Products
Easily distribute content to end users with
low latency, high data transfer speeds, and
no minimum usage commitments
aws.amazon.com/cloudfront
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Service requests as fast as possible
2) Offload your application servers
2
Without Amazon CloudFront
EC2 Instances running web and application
servers are loaded with user requests for content
assets
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Service requests as fast as possible
2) Offload your application servers
2
With Amazon CloudFront
A significant proportion of the load from user
requests is handled by Amazon CloudFront and
the EC2 cluster can be scaled down
Offload
Scale
Down
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Service requests as fast as possible
2) Offload your application servers
2
Offload
Scale
Down
ResponseTime
ServerLoad
ResponseTime
ServerLoad
ResponseTime
Server
Load
No CDN CDN for
Static
Content
CDN for
Static &
Dynamic
Content
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Service requests as fast as possible
3) Cache it if you can
2
Amazon ElastiCache
A web service that makes it easy to deploy,
operate, and scale an in-memory cache
Allows you to retrieve information from fast,
managed, in-memory caches, instead of
relying entirely on slower disk-based
databases
Supports two open-source in memory
caching engines: Memcached & Redis
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Service requests as fast as possible
4) Single digit latencies where it matters
2
DatabaseQueryPerformance
Desired consistency & predictability
Scale
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Service requests as fast as possible
4) Single digit latencies where it matters
2
DatabaseQueryPerformance
Desired consistency & predictability
Scale
Actual performance
degrades with scale
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DatabaseQueryPerformance
Desired consistency & predictability
Scale
Actual performance
degrades with scale
Filling this gap requires:
Database sharding
Data caching
Provisioning
Cluster management
Fault management
Service requests as fast as possible
4) Single digit latencies where it matters
2
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
DatabaseQueryPerformance
Amazon DynamoDB Query Performance
Scale
Relational Database
Query Performance
Amazon
DynamoDB
Service requests as fast as possible
4) Single digit latencies where it matters
2
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon
DynamoDB
Amazon DynamoDB
A fast and flexible NoSQL database service
Consistent, single-digit millisecond latency at
any scale
Fully managed
Supports both document & key-value store
models
aws.amazon.com/dynamodb
Service requests as fast as possible
4) Single digit latencies where it matters
2
aws.amazon.com/solutions/case-studies/adroll/
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3 Handle requests at any volume & scale
1) Scale up
Basic unit of compute capacity
Broad range of CPU, memory & local disk options
7 families available, from micro to compute, memory & storage optimized
Scale up with Elastic Compute Cloud (EC2)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3 Handle requests at any volume & scale
2) Scale out
Trigger auto-
scaling policy
Auto Scaling
Amazon EC2 Auto
Scaling
Allows you to scale your EC2 capacity up or
down automatically according to conditions
that you define
Increase the number of Amazon EC2
instances during demand spikes to maintain
performance & decrease capacity during lulls
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3
Manually
Send an API call or use CLI to
launch/terminate instances – Only
need to specify capacity change (+/-)
By Schedule
Scale up/down based on date and time
By Policy
Scale in response to changing
conditions, based on user configured
real-time monitoring and alerts
Auto-Rebalance
Instances are automatically
launched/terminated to ensure the
application is balanced across multiple
Azs
Handle requests at any volume & scale
2) Scale out
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3
Manually
Send an API call or use CLI to
launch/terminate instances – Only
need to specify capacity change (+/-)
By Schedule
Scale up/down based on date and time
By Policy
Scale in response to changing
conditions, based on user configured
real-time monitoring and alerts
Auto-Rebalance
Instances are automatically
launched/terminated to ensure the
application is balanced across multiple
Azs
Preemptive manual scaling of
capacity
Adding 10 more instances before a
marketing event
Handle requests at any volume & scale
2) Scale out
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3
Manually
Send an API call or use CLI to
launch/terminate instances – Only
need to specify capacity change (+/-)
By Schedule
Scale up/down based on date and time
By Policy
Scale in response to changing
conditions, based on user configured
real-time monitoring and alerts
Auto-Rebalance
Instances are automatically
launched/terminated to ensure the
application is balanced across multiple
Azs
Preemptive manual scaling of
capacity
Adding 10 more instances before a
marketing event
Regular scaling up & down of
instances
Scaling from 0 to 2 to process SQS
messages every night or doubling
capacity on a Friday night
Handle requests at any volume & scale
2) Scale out
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3
Manually
Send an API call or use CLI to
launch/terminate instances – Only
need to specify capacity change (+/-)
By Schedule
Scale up/down based on date and time
By Policy
Scale in response to changing
conditions, based on user configured
real-time monitoring and alerts
Auto-Rebalance
Instances are automatically
launched/terminated to ensure the
application is balanced across multiple
Azs
Preemptive manual scaling of
capacity
Adding 10 more instances before a
marketing event
Regular scaling up & down of
instances
Scaling from 0 to 2 to process SQS
messages every night or doubling
capacity on a Friday night
Dynamic scaling based on
custom metrics
Scaling on SQS queue depth, average
CPU load or ELB latency
Handle requests at any volume & scale
2) Scale out
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3
Manually
Send an API call or use CLI to
launch/terminate instances – Only
need to specify capacity change (+/-)
By Schedule
Scale up/down based on date and time
By Policy
Scale in response to changing
conditions, based on user configured
real-time monitoring and alerts
Auto-Rebalance
Instances are automatically
launched/terminated to ensure the
application is balanced across multiple
Azs
Preemptive manual scaling of
capacity
Adding 10 more instances before a
marketing event
Regular scaling up & down of
instances
Scaling from 0 to 2 to process SQS
messages every night or doubling
capacity on a Friday night
Dynamic scaling based on
custom metrics
Scaling on SQS queue depth, average
CPU load or ELB latency
Maintaining capacity across
availability zones
Instance availability is maintained in
the event of AZ becoming unavailable
Handle requests at any volume & scale
2) Scale out
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
3 Handle requests at any volume & scale
3) Dial up throughout
Elastic Block Store
Provisioned IOPS up to 20,000
per EBS volume
Predictable performance for
demanding workloads such as
databases
DynamoDB
Provisioned read/write
performance per table
Predictable high performance
scaled via console or API
https://aws.amazon.com/blogs/aws/auto-scale-
dynamodb-with-dynamic-dynamodb/
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
4 Simplify your architecture with services
Relational Database Service
Database-as-a-Service
No need to install or manage database instances
Scalable and fault tolerant configurations
DynamoDB
Provisioned throughput NoSQL database
Fast, predictable performance
Fully distributed, fault tolerant architecture
Use RDS for relational
databases such as
MySQL or Oracle
Use DynamoDB as high
performance document
or key-value database
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
4 Simplify your architecture with services
Amazon SQS
Reliable, highly scalable, queue
service for storing messages as they
travel between instances
Reliable message
queuing without
additional software
Elastic MapReduce
Elastic Hadoop cluster
Integrates with S3 & DynamoDB
Leverage Hive & Pig analytics scripts
Integrates with instance types such as
spot
Process large volumes of
data cost effectively with
Amazon EMR
Amazon SQS
Processing
task/processing
trigger
Processing results
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
5
Access everything via
CLI, API or Console
Achieve the highest levels of
automation with ease
Find out more at: aws.amazon.com/developers/getting-started/
Automate operations & management
1) Everything is programmable
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
5 Automate operations & management
2) Think immutable, one click-deployments
AWS CloudFormation
An easy way to create & manage a collection of
related AWS resources, called a ‘stack’
Automate creation of ‘stacks’ in a repeatable way
Version control your infrastructure as you do your
software
Feature Details
Platform support Support for AWS resources from EC2 to IAM
Resource creation Creates AWS resources behind the scenes and reports
on progress
Declarative Specify stacks in JSON format and source control your
environments
Customizable Drive stack creation with paramaters
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
5 Automate operations & management
3) Design for availability, implement self healing
Customize instance startup
Get instances to ask ‘who am I?’
question on startup and be
configured dynamically upon being
answered
Maintain capacity of
instances
Using a minimum pool size
will maintain capacity in the
event of instance failures
Know what’s going on, take
automated actions
Use CloudWatch standard and
custom metrics to create alarms.
Respond with automated
administration actions
Bootstrapping Auto-scaling CloudWatch
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
6 Use the unique properties of the cloud
1) Optimize costs with different instance types
Choose an instance
that best meets your basic
requirements
Start with memory & then
choose closest virtual cores
Assess peak IOPS storage
requirements
Deploy & run multiple instances
in multiple Availability Zones
Change instance size up or
down based upon monitoring
Use CloudWatch & Trusted
Advisor to assess
Start Deploy & ScaleTune
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
6 Use the unique properties of the cloud
1) Optimize costs with different instance types
00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00
100%
75%
58%
38%
13%
8%On Demand Instance
Reserved Instance
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Notes
Classroom Environment URL
https://qwiklabs.com/ilt/classrooms/15039
Upon log in, click on the
Catalog link in the top left-
hand corner of the screen
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Hands On – Auto Scaling
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Hands On – Elastic Load
Balancer
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Session 3
Go Serverless! Modernize Your
Applications with AWS Lambda
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lambda – Serverless code
execution?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
High performance at any scale;
Cost-effective and efficient
No Infrastructure to manage
Pay only for what you use: Lambda
automatically matches capacity to
your request rate. Purchase
compute in 100ms increments.
Bring Your Own Code
Stateless, trigger-based code execution
Run code in a choice of standard
languages. Use threads, processes,
files, and shell scripts normally.
Focus on business logic, not
infrastructure. You upload code; AWS
Lambda handles everything else.
AWS Lambda Functions
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lambda – Why use it?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
No Server is Easier to Manage
Than No Server
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Architect to be Serverless
Fully managed
• No provisioning
• Zero administration
• High availability
Developer productivity
• Focus on the code that
matters
• Innovate rapidly
• Reduce time to market
Continuous scaling
• Automatically
• Scale up and scale down
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Components of Lambda
• A Lambda function (that you write)
• An event source
• The AWS Lambda service
• The function networking environment
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Event Sources
• When should your function
execute?
• Many AWS services can be
an event source today:
• Amazon S3
• Amazon Kinesis
• Amazon SNS
• Amazon DynamoDB
• Amazon CloudWatch
• AWS Config Rules
• Amazon Echo
• Etc.
• …and Amazon API
Gateway (more later)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
What’s Unique About Lambda?
Abstraction at the code/function level (arbitrary, flexible,
familiar)
The security model (IAM, VPC)
The pricing model
The community
Integration with the AWS service ecosystem!
• Scale
• Triggers
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Lambda – How do I use it?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Key Lambda scenarios
Data processing
Stateless processing of
discrete or streaming
updates to your data-
store or message bus
Control systems
Customize responses
and response workflows
to state and data
changes within AWS
App backend
development
Execute server side
backend logic in a cross
platform fashion
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Amazon API Gateway: Serverless APIs
Internet
Mobile
apps
Websites
Partner
Services
AWS Lambda
functions
API
Gateway
response
cache
Endpoints on
Amazon EC2
Any publicly
accessible
endpoint
Amazon
CloudWatch
Amazon
CloudFront
API
Gateway
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Serverless Website
AWS Lambda
function
web browser
Amazon S3
Dynamic content
Amazon API
Gateway
Static content
Amazon
DynamoDB
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Lambda use case – Data processing
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Notes
Classroom Environment URL
https://qwiklabs.com/ilt/classrooms/15039
Upon log in, click on the
Catalog link in the top left-
hand corner of the screen
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Hands On – AWS Lambda
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Hands On – AWS Lambda
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Your
Business
70%
Infrastructure
that you own
& operate
30%
Managing All of the
“Undifferentiated Heavy Lifting”
Simplify your architecture with AWS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Your
Business
70%
Infrastructure
that you own
& operate
30%
Managing All of the
“Undifferentiated Heavy Lifting”
AWS
Cloud-Based
Infrastructure
More Time to Focus on
Your Business
Configuring Your
Cloud Services
30%70%
Simplify your architecture with AWS
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
AWS Activate | Builders
Benefits
• $1,000 AWS Promotional Credit, valid up to 2 years
• AWS Business Essentials Online Training ($600 value)
• AWS Technical Essentials Online Training ($600 value)
• 80 credits for self-paced labs ($80 value)
http://bit.ly/AWSActivateBuilders
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Another View
of
Shifting Perspective
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Builders
Data scientist
CEO
Web Developer
Dev Ops
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
People who are building for
tomorrow
Builders
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Thank you!
For being a builder.

Mais conteúdo relacionado

Mais procurados

GAM309-Breathe Life into a Mobile Game_NoNotes.pdf
GAM309-Breathe Life into a Mobile Game_NoNotes.pdfGAM309-Breathe Life into a Mobile Game_NoNotes.pdf
GAM309-Breathe Life into a Mobile Game_NoNotes.pdfAmazon Web Services
 
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017Amazon Web Services
 
CON318_Interstella 8888 Monolith to Microservices with Amazon ECS
CON318_Interstella 8888 Monolith to Microservices with Amazon ECSCON318_Interstella 8888 Monolith to Microservices with Amazon ECS
CON318_Interstella 8888 Monolith to Microservices with Amazon ECSAmazon Web Services
 
LFS309-High-Throughput Genomics on AWS.pdf
LFS309-High-Throughput Genomics on AWS.pdfLFS309-High-Throughput Genomics on AWS.pdf
LFS309-High-Throughput Genomics on AWS.pdfAmazon Web Services
 
Building Best Practices and the Right Foundation for your 1st Production Work...
Building Best Practices and the Right Foundation for your 1st Production Work...Building Best Practices and the Right Foundation for your 1st Production Work...
Building Best Practices and the Right Foundation for your 1st Production Work...Amazon Web Services
 
Serverless Text Analytics with Amazon Comprehend
Serverless Text Analytics with Amazon ComprehendServerless Text Analytics with Amazon Comprehend
Serverless Text Analytics with Amazon ComprehendDonnie Prakoso
 
CMP314_Bringing Deep Learning to the Cloud with Amazon EC2
CMP314_Bringing Deep Learning to the Cloud with Amazon EC2CMP314_Bringing Deep Learning to the Cloud with Amazon EC2
CMP314_Bringing Deep Learning to the Cloud with Amazon EC2Amazon Web Services
 
MCL205_Introduction to Deep Learning
MCL205_Introduction to Deep LearningMCL205_Introduction to Deep Learning
MCL205_Introduction to Deep LearningAmazon Web Services
 
Comparing Compute Options for Microservices - AWS Summti Sydney 2018
Comparing Compute Options for Microservices - AWS Summti Sydney 2018Comparing Compute Options for Microservices - AWS Summti Sydney 2018
Comparing Compute Options for Microservices - AWS Summti Sydney 2018Amazon Web Services
 
MBL306_Mobile State of the Union
MBL306_Mobile State of the UnionMBL306_Mobile State of the Union
MBL306_Mobile State of the UnionAmazon Web Services
 
AI Services on AWS - CTO Club JLM
AI Services on AWS - CTO Club JLMAI Services on AWS - CTO Club JLM
AI Services on AWS - CTO Club JLMBoaz Ziniman
 
HLC302_Adopting Microservices in Healthcare Building a Compliant DevOps Pipel...
HLC302_Adopting Microservices in Healthcare Building a Compliant DevOps Pipel...HLC302_Adopting Microservices in Healthcare Building a Compliant DevOps Pipel...
HLC302_Adopting Microservices in Healthcare Building a Compliant DevOps Pipel...Amazon Web Services
 
MAE304-Turners Cloud Archive for CNN's Video Library and Global Multiplatform...
MAE304-Turners Cloud Archive for CNN's Video Library and Global Multiplatform...MAE304-Turners Cloud Archive for CNN's Video Library and Global Multiplatform...
MAE304-Turners Cloud Archive for CNN's Video Library and Global Multiplatform...Amazon Web Services
 
Dow Jones & Wall Street Journal's journey to manage traffic spikes while miti...
Dow Jones & Wall Street Journal's journey to manage traffic spikes while miti...Dow Jones & Wall Street Journal's journey to manage traffic spikes while miti...
Dow Jones & Wall Street Journal's journey to manage traffic spikes while miti...Amazon Web Services
 
SecOps 2021 Today: Using AWS Services to Deliver SecOps - SID304 - re:Invent ...
SecOps 2021 Today: Using AWS Services to Deliver SecOps - SID304 - re:Invent ...SecOps 2021 Today: Using AWS Services to Deliver SecOps - SID304 - re:Invent ...
SecOps 2021 Today: Using AWS Services to Deliver SecOps - SID304 - re:Invent ...Amazon Web Services
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural PatternsAmazon Web Services
 
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdf
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdfRET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdf
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdfAmazon Web Services
 

Mais procurados (20)

GAM309-Breathe Life into a Mobile Game_NoNotes.pdf
GAM309-Breathe Life into a Mobile Game_NoNotes.pdfGAM309-Breathe Life into a Mobile Game_NoNotes.pdf
GAM309-Breathe Life into a Mobile Game_NoNotes.pdf
 
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
Building Serverless Websites with Lambda@Edge - CTD309 - re:Invent 2017
 
CON318_Interstella 8888 Monolith to Microservices with Amazon ECS
CON318_Interstella 8888 Monolith to Microservices with Amazon ECSCON318_Interstella 8888 Monolith to Microservices with Amazon ECS
CON318_Interstella 8888 Monolith to Microservices with Amazon ECS
 
LFS309-High-Throughput Genomics on AWS.pdf
LFS309-High-Throughput Genomics on AWS.pdfLFS309-High-Throughput Genomics on AWS.pdf
LFS309-High-Throughput Genomics on AWS.pdf
 
Building Best Practices and the Right Foundation for your 1st Production Work...
Building Best Practices and the Right Foundation for your 1st Production Work...Building Best Practices and the Right Foundation for your 1st Production Work...
Building Best Practices and the Right Foundation for your 1st Production Work...
 
AI: State of the Union
AI: State of the UnionAI: State of the Union
AI: State of the Union
 
AI State of the Union
AI State of the UnionAI State of the Union
AI State of the Union
 
Serverless Text Analytics with Amazon Comprehend
Serverless Text Analytics with Amazon ComprehendServerless Text Analytics with Amazon Comprehend
Serverless Text Analytics with Amazon Comprehend
 
CMP314_Bringing Deep Learning to the Cloud with Amazon EC2
CMP314_Bringing Deep Learning to the Cloud with Amazon EC2CMP314_Bringing Deep Learning to the Cloud with Amazon EC2
CMP314_Bringing Deep Learning to the Cloud with Amazon EC2
 
MCL205_Introduction to Deep Learning
MCL205_Introduction to Deep LearningMCL205_Introduction to Deep Learning
MCL205_Introduction to Deep Learning
 
Comparing Compute Options for Microservices - AWS Summti Sydney 2018
Comparing Compute Options for Microservices - AWS Summti Sydney 2018Comparing Compute Options for Microservices - AWS Summti Sydney 2018
Comparing Compute Options for Microservices - AWS Summti Sydney 2018
 
MBL306_Mobile State of the Union
MBL306_Mobile State of the UnionMBL306_Mobile State of the Union
MBL306_Mobile State of the Union
 
ALX328_Smart Devices Everywhere
ALX328_Smart Devices EverywhereALX328_Smart Devices Everywhere
ALX328_Smart Devices Everywhere
 
AI Services on AWS - CTO Club JLM
AI Services on AWS - CTO Club JLMAI Services on AWS - CTO Club JLM
AI Services on AWS - CTO Club JLM
 
HLC302_Adopting Microservices in Healthcare Building a Compliant DevOps Pipel...
HLC302_Adopting Microservices in Healthcare Building a Compliant DevOps Pipel...HLC302_Adopting Microservices in Healthcare Building a Compliant DevOps Pipel...
HLC302_Adopting Microservices in Healthcare Building a Compliant DevOps Pipel...
 
MAE304-Turners Cloud Archive for CNN's Video Library and Global Multiplatform...
MAE304-Turners Cloud Archive for CNN's Video Library and Global Multiplatform...MAE304-Turners Cloud Archive for CNN's Video Library and Global Multiplatform...
MAE304-Turners Cloud Archive for CNN's Video Library and Global Multiplatform...
 
Dow Jones & Wall Street Journal's journey to manage traffic spikes while miti...
Dow Jones & Wall Street Journal's journey to manage traffic spikes while miti...Dow Jones & Wall Street Journal's journey to manage traffic spikes while miti...
Dow Jones & Wall Street Journal's journey to manage traffic spikes while miti...
 
SecOps 2021 Today: Using AWS Services to Deliver SecOps - SID304 - re:Invent ...
SecOps 2021 Today: Using AWS Services to Deliver SecOps - SID304 - re:Invent ...SecOps 2021 Today: Using AWS Services to Deliver SecOps - SID304 - re:Invent ...
SecOps 2021 Today: Using AWS Services to Deliver SecOps - SID304 - re:Invent ...
 
Serverless Architectural Patterns
Serverless Architectural PatternsServerless Architectural Patterns
Serverless Architectural Patterns
 
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdf
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdfRET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdf
RET305-Turbo Charge Your E-Commerce Site wAmazon Cache and Search Solutions.pdf
 

Semelhante a Design, Build, and Modernize Your Web Applications with AWS

Scaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million UsersScaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million UsersAmazon Web Services
 
Learn how to build serverless applications using the AWS Serverless Platform-...
Learn how to build serverless applications using the AWS Serverless Platform-...Learn how to build serverless applications using the AWS Serverless Platform-...
Learn how to build serverless applications using the AWS Serverless Platform-...Amazon Web Services
 
AWS Webinar CZSK Uvod do cloud computingu
AWS Webinar CZSK Uvod do cloud computinguAWS Webinar CZSK Uvod do cloud computingu
AWS Webinar CZSK Uvod do cloud computinguVladimir Simek
 
Moving to Amazon ECS – the Not-So-Obvious Benefits - CON356 - re:Invent 2017
Moving to Amazon ECS – the Not-So-Obvious Benefits - CON356 - re:Invent 2017Moving to Amazon ECS – the Not-So-Obvious Benefits - CON356 - re:Invent 2017
Moving to Amazon ECS – the Not-So-Obvious Benefits - CON356 - re:Invent 2017Amazon Web Services
 
Design, Build, and Modernize Your Web Applications with AWS
Design, Build, and Modernize Your Web Applications with AWSDesign, Build, and Modernize Your Web Applications with AWS
Design, Build, and Modernize Your Web Applications with AWSIrene Luong
 
Digital Transformation: Adapt or Perish - CON207 - re:Invent 2017
Digital Transformation: Adapt or Perish - CON207 - re:Invent 2017Digital Transformation: Adapt or Perish - CON207 - re:Invent 2017
Digital Transformation: Adapt or Perish - CON207 - re:Invent 2017Amazon Web Services
 
Oracle Enterprise Solutions on AWS - ENT326 - re:Invent 2017
Oracle Enterprise Solutions on AWS - ENT326 - re:Invent 2017Oracle Enterprise Solutions on AWS - ENT326 - re:Invent 2017
Oracle Enterprise Solutions on AWS - ENT326 - re:Invent 2017Amazon Web Services
 
Migrating Microsoft Workloads to AWS
Migrating Microsoft Workloads to AWSMigrating Microsoft Workloads to AWS
Migrating Microsoft Workloads to AWSAmazon Web Services
 
ARC303_Running Lean Architectures How to Optimize for Cost Efficiency
ARC303_Running Lean Architectures How to Optimize for Cost EfficiencyARC303_Running Lean Architectures How to Optimize for Cost Efficiency
ARC303_Running Lean Architectures How to Optimize for Cost EfficiencyAmazon Web Services
 
ARC303_Running Lean Architectures How to Optimize for Cost Efficiency
ARC303_Running Lean Architectures How to Optimize for Cost EfficiencyARC303_Running Lean Architectures How to Optimize for Cost Efficiency
ARC303_Running Lean Architectures How to Optimize for Cost EfficiencyAmazon Web Services
 
ARC201_Scaling Up to Your First 10 Million Users
ARC201_Scaling Up to Your First 10 Million UsersARC201_Scaling Up to Your First 10 Million Users
ARC201_Scaling Up to Your First 10 Million UsersAmazon Web Services
 
DAT317_Migrating Databases and Data Warehouses to the Cloud
DAT317_Migrating Databases and Data Warehouses to the CloudDAT317_Migrating Databases and Data Warehouses to the Cloud
DAT317_Migrating Databases and Data Warehouses to the CloudAmazon Web Services
 
End-User Computing on AWS with Amazon WorkSpaces and Amazon AppStream 2.0 - E...
End-User Computing on AWS with Amazon WorkSpaces and Amazon AppStream 2.0 - E...End-User Computing on AWS with Amazon WorkSpaces and Amazon AppStream 2.0 - E...
End-User Computing on AWS with Amazon WorkSpaces and Amazon AppStream 2.0 - E...Amazon Web Services
 
AWS User Group Wellington - re:Invent 2017 Recap
AWS User Group Wellington - re:Invent 2017 RecapAWS User Group Wellington - re:Invent 2017 Recap
AWS User Group Wellington - re:Invent 2017 RecapAPI Talent
 
Introduction to Serverless Computing and AWS Lambda - AWS IL Meetup
Introduction to Serverless Computing and AWS Lambda - AWS IL MeetupIntroduction to Serverless Computing and AWS Lambda - AWS IL Meetup
Introduction to Serverless Computing and AWS Lambda - AWS IL MeetupBoaz Ziniman
 
Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...
Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...
Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...Amazon Web Services
 
GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...
GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...
GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...Amazon Web Services
 
Zero to Lightspeed: Building production apps easily with Amazon Lightsail - C...
Zero to Lightspeed: Building production apps easily with Amazon Lightsail - C...Zero to Lightspeed: Building production apps easily with Amazon Lightsail - C...
Zero to Lightspeed: Building production apps easily with Amazon Lightsail - C...Amazon Web Services
 
Getting from Here to There: A Journey from On-premises to Serverless Architec...
Getting from Here to There: A Journey from On-premises to Serverless Architec...Getting from Here to There: A Journey from On-premises to Serverless Architec...
Getting from Here to There: A Journey from On-premises to Serverless Architec...Amazon Web Services
 
Scale Website dan Mobile Applications Anda di AWS hingga 10 juta pengguna
Scale Website dan Mobile Applications Anda di AWS hingga 10 juta penggunaScale Website dan Mobile Applications Anda di AWS hingga 10 juta pengguna
Scale Website dan Mobile Applications Anda di AWS hingga 10 juta penggunaAmazon Web Services
 

Semelhante a Design, Build, and Modernize Your Web Applications with AWS (20)

Scaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million UsersScaling Up to Your First 10 Million Users
Scaling Up to Your First 10 Million Users
 
Learn how to build serverless applications using the AWS Serverless Platform-...
Learn how to build serverless applications using the AWS Serverless Platform-...Learn how to build serverless applications using the AWS Serverless Platform-...
Learn how to build serverless applications using the AWS Serverless Platform-...
 
AWS Webinar CZSK Uvod do cloud computingu
AWS Webinar CZSK Uvod do cloud computinguAWS Webinar CZSK Uvod do cloud computingu
AWS Webinar CZSK Uvod do cloud computingu
 
Moving to Amazon ECS – the Not-So-Obvious Benefits - CON356 - re:Invent 2017
Moving to Amazon ECS – the Not-So-Obvious Benefits - CON356 - re:Invent 2017Moving to Amazon ECS – the Not-So-Obvious Benefits - CON356 - re:Invent 2017
Moving to Amazon ECS – the Not-So-Obvious Benefits - CON356 - re:Invent 2017
 
Design, Build, and Modernize Your Web Applications with AWS
Design, Build, and Modernize Your Web Applications with AWSDesign, Build, and Modernize Your Web Applications with AWS
Design, Build, and Modernize Your Web Applications with AWS
 
Digital Transformation: Adapt or Perish - CON207 - re:Invent 2017
Digital Transformation: Adapt or Perish - CON207 - re:Invent 2017Digital Transformation: Adapt or Perish - CON207 - re:Invent 2017
Digital Transformation: Adapt or Perish - CON207 - re:Invent 2017
 
Oracle Enterprise Solutions on AWS - ENT326 - re:Invent 2017
Oracle Enterprise Solutions on AWS - ENT326 - re:Invent 2017Oracle Enterprise Solutions on AWS - ENT326 - re:Invent 2017
Oracle Enterprise Solutions on AWS - ENT326 - re:Invent 2017
 
Migrating Microsoft Workloads to AWS
Migrating Microsoft Workloads to AWSMigrating Microsoft Workloads to AWS
Migrating Microsoft Workloads to AWS
 
ARC303_Running Lean Architectures How to Optimize for Cost Efficiency
ARC303_Running Lean Architectures How to Optimize for Cost EfficiencyARC303_Running Lean Architectures How to Optimize for Cost Efficiency
ARC303_Running Lean Architectures How to Optimize for Cost Efficiency
 
ARC303_Running Lean Architectures How to Optimize for Cost Efficiency
ARC303_Running Lean Architectures How to Optimize for Cost EfficiencyARC303_Running Lean Architectures How to Optimize for Cost Efficiency
ARC303_Running Lean Architectures How to Optimize for Cost Efficiency
 
ARC201_Scaling Up to Your First 10 Million Users
ARC201_Scaling Up to Your First 10 Million UsersARC201_Scaling Up to Your First 10 Million Users
ARC201_Scaling Up to Your First 10 Million Users
 
DAT317_Migrating Databases and Data Warehouses to the Cloud
DAT317_Migrating Databases and Data Warehouses to the CloudDAT317_Migrating Databases and Data Warehouses to the Cloud
DAT317_Migrating Databases and Data Warehouses to the Cloud
 
End-User Computing on AWS with Amazon WorkSpaces and Amazon AppStream 2.0 - E...
End-User Computing on AWS with Amazon WorkSpaces and Amazon AppStream 2.0 - E...End-User Computing on AWS with Amazon WorkSpaces and Amazon AppStream 2.0 - E...
End-User Computing on AWS with Amazon WorkSpaces and Amazon AppStream 2.0 - E...
 
AWS User Group Wellington - re:Invent 2017 Recap
AWS User Group Wellington - re:Invent 2017 RecapAWS User Group Wellington - re:Invent 2017 Recap
AWS User Group Wellington - re:Invent 2017 Recap
 
Introduction to Serverless Computing and AWS Lambda - AWS IL Meetup
Introduction to Serverless Computing and AWS Lambda - AWS IL MeetupIntroduction to Serverless Computing and AWS Lambda - AWS IL Meetup
Introduction to Serverless Computing and AWS Lambda - AWS IL Meetup
 
Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...
Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...
Navigating Microservice Architecture with AWS - AWS Public Sector Summit Sing...
 
GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...
GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...
GPSBUS220-Refactor and Replatform .NET Apps to Use the Latest Microsoft SQL S...
 
Zero to Lightspeed: Building production apps easily with Amazon Lightsail - C...
Zero to Lightspeed: Building production apps easily with Amazon Lightsail - C...Zero to Lightspeed: Building production apps easily with Amazon Lightsail - C...
Zero to Lightspeed: Building production apps easily with Amazon Lightsail - C...
 
Getting from Here to There: A Journey from On-premises to Serverless Architec...
Getting from Here to There: A Journey from On-premises to Serverless Architec...Getting from Here to There: A Journey from On-premises to Serverless Architec...
Getting from Here to There: A Journey from On-premises to Serverless Architec...
 
Scale Website dan Mobile Applications Anda di AWS hingga 10 juta pengguna
Scale Website dan Mobile Applications Anda di AWS hingga 10 juta penggunaScale Website dan Mobile Applications Anda di AWS hingga 10 juta pengguna
Scale Website dan Mobile Applications Anda di AWS hingga 10 juta pengguna
 

Último

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
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...Drew Madelung
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
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 MenDelhi Call girls
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
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 slidevu2urc
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 

Último (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
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
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave 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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

Design, Build, and Modernize Your Web Applications with AWS

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Design, Build, and Modernize Your Web Applications with AWS AWS Workshop Series 6 March 2018 Jakarta, Indonesia
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Quick Introduction Donnie Prakoso, MSc AWS Technology Evangelist, ASEAN @donnieprakoso donnieprakoso • Speak in Go and Python • Machine Learning and Serverless • I AWS User Groups
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS User Group Indonesia https://www.facebook.com/groups/awsindonesia/
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Before We Start • Take notes – a lot of it • Ask our expert team • Create a Qwik Labs account • https://qwiklabs.com/
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda Session 1 • Cloud Computing • Why AWS? • AWS Core Components • Amazon EC2 • Use Cases • Hands On • Amazon VPC (Optional)
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda Session 2 • Quick recap on Amazon EC2 • Amazon EC2 Auto Scaling • Amazon Elastic Load Balancing • Use Case • Hands On Auto Scaling • Hands On ELB
  • 7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agenda Session 3 • AWS Lambda • Demo • Use Case • Hands On • Next Steps
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Session 1 Starting your Cloud Journey with AWS
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WHAT IS CLOUD COMPUTING? On-demand delivery of IT resources via the Internet with pay-as-you-go pricing
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Indonesian Customers
  • 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. WHY AWS?
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Elasticity1
  • 13. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Elastic Capacity • “Fork-lift” uprades • Cap Ex up front = more risk • Risk of wasted capacity • Over- provisioning • Risk of unavailability • Under- Provisioning • Near 100% utilization is possible in the cloud!
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Cost Savings2
  • 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Cost Savings Replace Costly IT budget with Utility model Pay as you go, only for what you use Prevent Overspending
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Agility3
  • 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Increase Your Business Agility Cloud-readiness: Fit the infrastructure to the app, or fit the app to the infrastructure Increase Test-Dev Opportunities Take ideas to market faster
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Breadth and Depth of Functionalities4
  • 19. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. ENTERPRISE APPS DEVELOPMENT & OPERATIONSMOBILE SERVICESAPP SERVICESANALYTICS Data Warehousing Hadoop/ Spark Streaming Data Collection Machine Learning Elastic Search Virtual Desktops Sharing & Collaboration Corporate Email Backup Queuing & Notifications Workflow Search Email Transcoding One-click App Deployment Identity Sync Single Integrated Console Push Notifications DevOps Resource Management Application Lifecycle Management Containers Triggers Resource Templates TECHNICAL & BUSINESS SUPPORT Account Management Support Professional Services Training & Certification Security & Pricing Reports Partner Ecosystem Solutions Architects MARKETPLACE Business Apps Business Intelligence Databases DevOps Tools NetworkingSecurity Storage Regions Availability Zones Points of Presence INFRASTRUCTURE CORE SERVICES Compute VMs, Auto-scaling, & Load Balancing Storage Object, Blocks, Archival, Import/Export Databases Relational, NoSQL, Caching, Migration Networking VPC, DX, DNS CDN Access Control Identity Management Key Management & Storage Monitoring & Logs Assessment and reporting Resource & Usage Auditing SECURITY & COMPLIANCE Configuration Compliance Web application firewall HYBRID ARCHITECTURE Data Backups Integrated App Deployments Direct Connect Identity Federation Integrated Resource Management Integrated Networking API Gateway IoT Rules Engine Device Shadows Device SDKs Registry Device Gateway Streaming Data Analysis Business Intelligence Mobile Analytics
  • 20. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 516 24 48 6 1 82 159 280 722 1,01 7 LAUNCHES 2 0 0 8 2 0 0 9 2 0 1 0 2 0 1 1 2 0 1 2 2 0 1 3 2 0 1 4 2 0 1 5 2 0 1 6 1,300+ 2 0 1 7 P A C E O F I N N O V A T I O N New capabilities daily
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Shared Responsibility Model
  • 22. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Go global in a minute5
  • 24. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. STATE OF THE CLOUD 44.1% 7.7% 3.0 % 2.3% 1.0% 1.4% 0.7% 2.2% 0.5% 0.9%
  • 25. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 1 2 3 4 5 Agility Cost Savings Breadth and Depth of Functionalities Elasticity Go global in a minute
  • 26. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Because time is valuable
  • 27. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. By using AWS, Kumparan saves up to 30% on implementation costs, compared to running an on-premise infrastructure. With increased availability and close to zero downtime, we can focus on our application delivery instead. Autoscaling lets Kumparan deliver reliable services, even with up to 3X spike in traffic. Using AWS allowed Kumparan to shorten time to market. It took three months from web development to go ’live’, instead of six months based on previous experience they had. 30% Cost Saving 300% Traffic 50% Go To Market
  • 28. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved.© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Core Components
  • 29. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Core Components Amazon EC2 Auto Scaling • Elastic Compute Cloud • Allow users to use virtual machines per their requirement • Configuration options to scale up and down • On demand compute power • Allows to scale Amazon EC2 instance up and down automatically per instructions set by user • Effective for applications that fluctuate on hourly, daily or weekly usage • Conditions can be based off of traffic schedule
  • 30. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Core Components Elastic Load Balancing • Automatically distributes incoming traffic across multiple EC2 in multiple availability zones • Serves as a single point of contact for clients, which increases the availability of the application Amazon S3 • Scalable, high-speed, low cost, web based service for online backup and archiving of data and application program • Allows to upload, store download any type of files up to 5GB in size CloudFront • CloudFront is a CDN. It retrieves data from Amazon S3 bucket and distribute it to multiple data center locations • It delivers data through a network of data centers called edge locations • The nearest edge location routed when user requests fro data, resulting in lowest latency, low network traffic, fast access to data
  • 31. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon Route 53 Amazon RDS AWS Core Components • Highly available and scalable Domain Name System (DNS) web service. • Designed for developers and corporates to route the end users to internet application • Connects user requests to infrastructure running in AWS – such as Amazon EC2 instances, Elastic Load Balancing load balancers, or Amazon S3 buckets • Fully managed SQL database cloud service • Allows to create and operate relational database • Using RDS to access files and database anywhere in cost effective and highly scalable way
  • 32. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Compute offerings AWS Lambda Serverless compute platform for stateless code execution in response to triggers Amazon ECS&EKS Container management service for running Docker & Kubernetes on a managed cluster of EC2 instances Amazon EC2 Virtual servers in the cloud
  • 33. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Compute Offerings • VMs • Machine as the unit of scale • Abstracts the hardware • Containers • Application as the unit of scale • Abstracts the OS • Serverless • Functions as the unit of scale • Abstracts the language runtime Amazon ECS Amazon EC2 AWS Lambda
  • 34. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. How do I choose? • VMs • “I want to configure machines, storage, networking, and my OS” • Containers • “I want to run servers, configure applications, and control scaling” • Serverless • “Run my code when it’s needed” ECS EC2 Lambda
  • 35. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What is EC2? aws ec2 run-instances --image-id ami-a10897d6 --instance-type c4.8xlarge --count 1000 --security-group-ids sg-0ba94d6e --key-name MyKeyPair
  • 36. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Host Server Hypervisor Guest 1 Guest 2 Guest n Amazon EC2 Instances Instancegeneration c4.large Instancefamily Instancesize
  • 37. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Instance sizing c4.8xlarge 2 - c4.4xlarge ≈ 4 - c4.2xlarge ≈ 8 - c4.xlarge ≈
  • 38. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. EC2 Terminology AMI Virtual Machine Configuration Instance Running or Stopped VM VPC AZ Availability Zone Amazon S3 EBS EBS EBS VPC EBS EBS EBS EBS Snapshots S3 Buckets Region
  • 39. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. EC2 Instance Families Compute Optimized: C family • Lowest price for compute performance Memory Optimized: R and X families • Lowest price per GiB of RAM Storage optimized: I and D families • Best value for IO performance or per GB instance storage General purpose: M and T families • Balance of compute, memory, and network resources Accelerated Computing: F, G and P families • Ideal for graphics and general purpose GPU compute applications
  • 40. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. EC2 Security Groups Security Group Rules • Name • Description • Protocol • Port range • IP address, IP range, Security Group name
  • 41. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. On-Demand Pay for compute capacity by the hour with no long-term commitments For spiky workloads, or to define needs Reserved Make a low, one- time payment and receive a significant discount on the hourly charge For committed utilization Spot Bid for unused capacity, charged at a Spot Price which fluctuates based on supply and demand For time-insensitive or transient workloads Dedicated Launch instances within Amazon VPC that run on hardware dedicated to a single customer For BYOL and highly sensitive/regulated workloads Use a purchasing option (mix) that best fits your workload
  • 42. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. EC2 On-Demand Pricing Short-term, Spiky and unpredictable Low cost and flexible Develop and test
  • 43. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. EC2 Reserved Pricing Upfront payments to reduce costs Steady State Reserved Capacity
  • 44. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Reserved Instance details Options No upfront Partial upfront All upfront Commitment Level 1 Year 3 Year RI Marketplace * Dependent on specific AWS Service, size/type and Region
  • 45. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. EC2 Spot Pricing Users with urgent computing needs or large amounts of additional capacity Time or instance flexible Experiment and/or build cost sensitive businesses
  • 46. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Spot Instance details Options • Spot fleet to maintain Instance Availability • Spot block durations (1-6 hours) for workloads that must run continuously Commitment level • None * Compared to On Demand price based on specific EC2 instance type, region and availability zone
  • 47. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Spot Rules Markets where the price of compute changes based on supply and demand You’ll never pay more than your bid. 50% Bid of OD 75% Bid of OD 25% Bid of ODYou pay the market price 87% discount!
  • 48. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. “By using AWS Spot instances, we've been able to save 75% a month simply by changing four lines of code. It makes perfect sense for saving money when you're running continuous integration workloads or pipeline processing.” Matthew Leventi, Lead Engineer, Lyft Why use Spot – customer examples
  • 49. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Use a Combination of All Three! 1. Use Reserved Instances for known/steady-state workloads 2. Set-up multiple Scaling groups 3. Scale using Spot, On-Demand or both 0 2 4 6 8 10 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 /Spot On Demand Spot Reserved Instance
  • 50. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon VPC
  • 51. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. VPC AZ Availability Zone Amazon S3 EBS EBS EBS VPC EBS EBS EBS EBS Snapshots S3 Buckets Region • Amazon VPC is the networking layer for Amazon EC2 • Virtual Private Cloud (VPC) is a virtual network dedicated to your AWS account • Isolated with other virtual networks • Public subnet or private subnet
  • 52. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Build secure architectures Use VPC - Provision a logically isolated section of the AWS cloud Control your virtual networking environment with: • Subnets • Route tables • Security groups • Network ACLs • Flow logging (new!) Control if and how your instances access the Internet Connect to your on-premises network via a hardware VPN or AWS Direct Connect Monitor all changes via Amazon CloudWatch Logs and AWS CloudTrail
  • 53. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Availability Zone 1a Availability Zone 1b Internet 10.0.0.5 10.0.0.6 10.0.3.17 10.0.3.5 10.0.1.5 10.0.1.25 10.0.1.8 10.0.1.6 VPC Subnet VPC Subnet VPC Subnet Virtual Private Gateway Customer Gateway VPN Connection Internet Gateway Customer Data Center
  • 54. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Notes Classroom Environment URL https://qwiklabs.com/ilt/classrooms/15039 Upon log in, click on the Catalog link in the top left- hand corner of the screen
  • 55. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Hands On – Amazon EC2
  • 56. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Session 2 Dynamically Scale Web Applications with Amazon EC2 Auto Scaling
  • 57. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Serverload Hour of day
  • 58. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Serverload Hour of day Capacity of 1 server
  • 59. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Serverload Hour of day Capacity of 1 server Traditional capacity required
  • 60. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Serverload Hour of day Capacity of 1 server Traditional capacity required 1 server for 8 hours
  • 61. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Serverload Hour of day Capacity of 1 server Traditional capacity required 1 server for 8 hours 1 server for 8 hours
  • 62. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Serverload Hour of day Capacity of 1 server Traditional capacity required 1 server for 8 hours 1 server for 8 hours 1 server for 8 hours
  • 63. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Serverload Hour of day Capacity of 1 server Traditional capacity required 1 server for 8 hours 1 server for 8 hours 1 server for 8 hours 1 server for 8 hours
  • 64. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Serverload Hour of day Capacity of 1 server Traditional capacity required 1/3rd saving
  • 65. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 0 1 2 3 4 5 6 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 Instancecount Day of month
  • 66. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 0 1 2 3 4 5 6 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 Instancecount Day of month Monthly predictable peak processing
  • 67. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 0 1 2 3 4 5 6 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 Instancecount Day of month Traditional capacity required
  • 68. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 0 1 2 3 4 5 6 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 Instancecount Day of month Elastic capacity Traditional capacity required
  • 69. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 0 1 2 3 4 5 6 0 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 Instancecount Day of month 75% savings Traditional capacity required Elastic capacity
  • 70. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Example: 3-tier web application architecture
  • 71. Scalable Web Apps A very popular use-case for AWS services Applications with growing, variable or cyclical demand fit AWS well Elasticity and automation can be exercised to real advantage AWS services allow you to accelerate application development
  • 72. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Compute & Networking Autoscaling Automatic re-sizing of compute clusters based upon demand. Trigger auto- scaling policy Feature Details Control Define minimum and maximum instance pool sizes and when scaling and cool down occurs Integrated to CloudWatch Use metrics gathered by CloudWatch to drive scaling Instance types Run auto scaling for on-demand instances and spot. Compatible with VPC Actual EC2 72 Databas e Analytic s AWS Global Infrastructure Mobile Services Application Services Security & Identity Compute Managemen t Tools Developer Tools Networkin g Storage & Content Distribution Application s IoT
  • 73. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Compute & Networking Elastic Load Balancing Create highly scalable applications. Distribute load across EC2 instances in multiple availability zones. Feature Details Auto-scaling Automatically scales to handle request volume Available Load balance across instances in multiple availability zones Health checks Automatically checks health of instances and takes them in or out of service Session stickiness Route requests to the same instance Secure sockets layer Supports SSL offload from web and application servers with flexible cipher support Monitoring Publishes metrics to Cloud Watch 73 Databas e Analytic s AWS Global Infrastructure Mobile Services Application Services Security & Identity Compute Managemen t Tools Developer Tools Networkin g Storage & Content Distribution Application s IoT
  • 74. WHY AWS FOR SCALABLE WEB APPLICATIONS?
  • 75. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Websites & Digital Transformation
  • 76. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. BEING IN THE CLOUD GIVES US THE SCALABILITY OF ADDING APPLICATION AND DATABASE SERVERS AS WE NEED THEM. Keith Mitchell Programmer reddit.com • reddit is a San Francisco, CA company that provides reddit.com, a social news and entertainment website where users can submit and rank ideas, images, and links • reddit originally operated reddit.com on physical servers, but after the number of users quadrupled in 18 months, the company realized it couldn’t scale with an on-premises environment • By migrating to AWS, reddit can scale to manage 4 billion page views per month and run its website with only 20 employees With AWS, reddit scales its social news site to handle 4 billion page views per month with only 20 employees Find out more here : aws.amazon.com/solutions/case-studies/reddit/
  • 77. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Pick your platform Use your favourite tools Grow & shrink capacity to match demand Spend your money on what matters Take your app or site global in minutes Never make your customers wait
  • 78. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. RULE BOOK FOR SCALABLE WEB APPLICATIONS ON AWS
  • 79. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Service all requests Service requests as fast as possible Handle requests at any volume Simply your architecture Automate operations & management Use the unique properties of the cloud
  • 80. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Service all requests1 DNS APPLICATION DATA
  • 81. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Service all requests1 DNS APPLICATION DATAREQUEST
  • 82. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Service all requests1 DNS APPLICATION DATAREQUEST
  • 83. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Service all requests1 DNS APPLICATION DATAREQUEST ╳
  • 84. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Service all requests1 DNS APPLICATION DATAREQUEST 100% Availability SLA aws.amazon.com/route53/sla Global Delivered from AWS global edge locations for fast and reliable domain name resolution Scalable Automatically scales based upon query volumes Latency based routing Supports resolution of endpoints based upon latency, enabling multi-region application delivery Integrated Integrates with other AWS services allowing Route 53 to front elastic load balancers, S3 and EC2 Secure Integrates with IAM giving fine grained control over DNS record access
  • 85. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Service all requests1 DNS APPLICATION DATAREQUEST
  • 86. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 1 DNS APPLICATION DATAREQUEST Region Region Elastic Load Balancer Elastic Load Balancer Availability Zone Availability Zone Availability Zone Availability Zone Elastic load balancing Multi-availability zone Multi-region Service all requests
  • 87. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 1 DNS APPLICATION DATAREQUEST Region Region Elastic Load Balancer Elastic Load Balancer Availability Zone Availability Zone Availability Zone Availability Zone Amazon DynamoDB Amazon DynamoDB Service all requests
  • 88. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Service requests as fast as possible2
  • 89. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Service requests as fast as possible 1) Chose the ‘closest’ endpoint 2 REQUEST Amazon Route 53 Region A Region B
  • 90. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2 REQUEST Amazon Route 53 Region A Region B 16ms 92ms Service requests as fast as possible 1) Chose the ‘closest’ endpoint
  • 91. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2 REQUEST Amazon Route 53 Region A Region B 16ms 92ms Service requests as fast as possible 1) Chose the ‘closest’ endpoint
  • 92. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 2 Amazon Route 53 Region A Region B 16ms REGION A DNS ENTRY REQUEST Service requests as fast as possible 1) Chose the ‘closest’ endpoint
  • 93. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Service requests as fast as possible 2) Offload your application servers 2 London Paris NY Served from S3 /images/* 3 Served from EC2 *.php 2 Single CNAME www.mysite.com 1 Amazon CloudFront Content delivery web service Integrates with other Amazon Web Services Products Easily distribute content to end users with low latency, high data transfer speeds, and no minimum usage commitments aws.amazon.com/cloudfront
  • 94. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Service requests as fast as possible 2) Offload your application servers 2 Without Amazon CloudFront EC2 Instances running web and application servers are loaded with user requests for content assets
  • 95. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Service requests as fast as possible 2) Offload your application servers 2 With Amazon CloudFront A significant proportion of the load from user requests is handled by Amazon CloudFront and the EC2 cluster can be scaled down Offload Scale Down
  • 96. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Service requests as fast as possible 2) Offload your application servers 2 Offload Scale Down ResponseTime ServerLoad ResponseTime ServerLoad ResponseTime Server Load No CDN CDN for Static Content CDN for Static & Dynamic Content
  • 97. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Service requests as fast as possible 3) Cache it if you can 2 Amazon ElastiCache A web service that makes it easy to deploy, operate, and scale an in-memory cache Allows you to retrieve information from fast, managed, in-memory caches, instead of relying entirely on slower disk-based databases Supports two open-source in memory caching engines: Memcached & Redis
  • 98. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Service requests as fast as possible 4) Single digit latencies where it matters 2 DatabaseQueryPerformance Desired consistency & predictability Scale
  • 99. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Service requests as fast as possible 4) Single digit latencies where it matters 2 DatabaseQueryPerformance Desired consistency & predictability Scale Actual performance degrades with scale
  • 100. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DatabaseQueryPerformance Desired consistency & predictability Scale Actual performance degrades with scale Filling this gap requires: Database sharding Data caching Provisioning Cluster management Fault management Service requests as fast as possible 4) Single digit latencies where it matters 2
  • 101. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. DatabaseQueryPerformance Amazon DynamoDB Query Performance Scale Relational Database Query Performance Amazon DynamoDB Service requests as fast as possible 4) Single digit latencies where it matters 2
  • 102. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon DynamoDB Amazon DynamoDB A fast and flexible NoSQL database service Consistent, single-digit millisecond latency at any scale Fully managed Supports both document & key-value store models aws.amazon.com/dynamodb Service requests as fast as possible 4) Single digit latencies where it matters 2 aws.amazon.com/solutions/case-studies/adroll/
  • 103. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3 Handle requests at any volume & scale 1) Scale up Basic unit of compute capacity Broad range of CPU, memory & local disk options 7 families available, from micro to compute, memory & storage optimized Scale up with Elastic Compute Cloud (EC2)
  • 104. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3 Handle requests at any volume & scale 2) Scale out Trigger auto- scaling policy Auto Scaling Amazon EC2 Auto Scaling Allows you to scale your EC2 capacity up or down automatically according to conditions that you define Increase the number of Amazon EC2 instances during demand spikes to maintain performance & decrease capacity during lulls
  • 105. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3 Manually Send an API call or use CLI to launch/terminate instances – Only need to specify capacity change (+/-) By Schedule Scale up/down based on date and time By Policy Scale in response to changing conditions, based on user configured real-time monitoring and alerts Auto-Rebalance Instances are automatically launched/terminated to ensure the application is balanced across multiple Azs Handle requests at any volume & scale 2) Scale out
  • 106. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3 Manually Send an API call or use CLI to launch/terminate instances – Only need to specify capacity change (+/-) By Schedule Scale up/down based on date and time By Policy Scale in response to changing conditions, based on user configured real-time monitoring and alerts Auto-Rebalance Instances are automatically launched/terminated to ensure the application is balanced across multiple Azs Preemptive manual scaling of capacity Adding 10 more instances before a marketing event Handle requests at any volume & scale 2) Scale out
  • 107. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3 Manually Send an API call or use CLI to launch/terminate instances – Only need to specify capacity change (+/-) By Schedule Scale up/down based on date and time By Policy Scale in response to changing conditions, based on user configured real-time monitoring and alerts Auto-Rebalance Instances are automatically launched/terminated to ensure the application is balanced across multiple Azs Preemptive manual scaling of capacity Adding 10 more instances before a marketing event Regular scaling up & down of instances Scaling from 0 to 2 to process SQS messages every night or doubling capacity on a Friday night Handle requests at any volume & scale 2) Scale out
  • 108. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3 Manually Send an API call or use CLI to launch/terminate instances – Only need to specify capacity change (+/-) By Schedule Scale up/down based on date and time By Policy Scale in response to changing conditions, based on user configured real-time monitoring and alerts Auto-Rebalance Instances are automatically launched/terminated to ensure the application is balanced across multiple Azs Preemptive manual scaling of capacity Adding 10 more instances before a marketing event Regular scaling up & down of instances Scaling from 0 to 2 to process SQS messages every night or doubling capacity on a Friday night Dynamic scaling based on custom metrics Scaling on SQS queue depth, average CPU load or ELB latency Handle requests at any volume & scale 2) Scale out
  • 109. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3 Manually Send an API call or use CLI to launch/terminate instances – Only need to specify capacity change (+/-) By Schedule Scale up/down based on date and time By Policy Scale in response to changing conditions, based on user configured real-time monitoring and alerts Auto-Rebalance Instances are automatically launched/terminated to ensure the application is balanced across multiple Azs Preemptive manual scaling of capacity Adding 10 more instances before a marketing event Regular scaling up & down of instances Scaling from 0 to 2 to process SQS messages every night or doubling capacity on a Friday night Dynamic scaling based on custom metrics Scaling on SQS queue depth, average CPU load or ELB latency Maintaining capacity across availability zones Instance availability is maintained in the event of AZ becoming unavailable Handle requests at any volume & scale 2) Scale out
  • 110. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 3 Handle requests at any volume & scale 3) Dial up throughout Elastic Block Store Provisioned IOPS up to 20,000 per EBS volume Predictable performance for demanding workloads such as databases DynamoDB Provisioned read/write performance per table Predictable high performance scaled via console or API https://aws.amazon.com/blogs/aws/auto-scale- dynamodb-with-dynamic-dynamodb/
  • 111. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 4 Simplify your architecture with services Relational Database Service Database-as-a-Service No need to install or manage database instances Scalable and fault tolerant configurations DynamoDB Provisioned throughput NoSQL database Fast, predictable performance Fully distributed, fault tolerant architecture Use RDS for relational databases such as MySQL or Oracle Use DynamoDB as high performance document or key-value database
  • 112. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 4 Simplify your architecture with services Amazon SQS Reliable, highly scalable, queue service for storing messages as they travel between instances Reliable message queuing without additional software Elastic MapReduce Elastic Hadoop cluster Integrates with S3 & DynamoDB Leverage Hive & Pig analytics scripts Integrates with instance types such as spot Process large volumes of data cost effectively with Amazon EMR Amazon SQS Processing task/processing trigger Processing results
  • 113. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 5 Access everything via CLI, API or Console Achieve the highest levels of automation with ease Find out more at: aws.amazon.com/developers/getting-started/ Automate operations & management 1) Everything is programmable
  • 114. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 5 Automate operations & management 2) Think immutable, one click-deployments AWS CloudFormation An easy way to create & manage a collection of related AWS resources, called a ‘stack’ Automate creation of ‘stacks’ in a repeatable way Version control your infrastructure as you do your software Feature Details Platform support Support for AWS resources from EC2 to IAM Resource creation Creates AWS resources behind the scenes and reports on progress Declarative Specify stacks in JSON format and source control your environments Customizable Drive stack creation with paramaters
  • 115. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 5 Automate operations & management 3) Design for availability, implement self healing Customize instance startup Get instances to ask ‘who am I?’ question on startup and be configured dynamically upon being answered Maintain capacity of instances Using a minimum pool size will maintain capacity in the event of instance failures Know what’s going on, take automated actions Use CloudWatch standard and custom metrics to create alarms. Respond with automated administration actions Bootstrapping Auto-scaling CloudWatch
  • 116. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 6 Use the unique properties of the cloud 1) Optimize costs with different instance types Choose an instance that best meets your basic requirements Start with memory & then choose closest virtual cores Assess peak IOPS storage requirements Deploy & run multiple instances in multiple Availability Zones Change instance size up or down based upon monitoring Use CloudWatch & Trusted Advisor to assess Start Deploy & ScaleTune
  • 117. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. 6 Use the unique properties of the cloud 1) Optimize costs with different instance types 00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 11:00 12:00 13:00 14:00 15:00 16:00 17:00 18:00 19:00 20:00 21:00 22:00 23:00 100% 75% 58% 38% 13% 8%On Demand Instance Reserved Instance
  • 118. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Notes Classroom Environment URL https://qwiklabs.com/ilt/classrooms/15039 Upon log in, click on the Catalog link in the top left- hand corner of the screen
  • 119. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Hands On – Auto Scaling
  • 120. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Hands On – Elastic Load Balancer
  • 121. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Session 3 Go Serverless! Modernize Your Applications with AWS Lambda
  • 122. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lambda – Serverless code execution?
  • 123. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. High performance at any scale; Cost-effective and efficient No Infrastructure to manage Pay only for what you use: Lambda automatically matches capacity to your request rate. Purchase compute in 100ms increments. Bring Your Own Code Stateless, trigger-based code execution Run code in a choice of standard languages. Use threads, processes, files, and shell scripts normally. Focus on business logic, not infrastructure. You upload code; AWS Lambda handles everything else. AWS Lambda Functions
  • 124. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lambda – Why use it?
  • 125. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. No Server is Easier to Manage Than No Server
  • 126. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Architect to be Serverless Fully managed • No provisioning • Zero administration • High availability Developer productivity • Focus on the code that matters • Innovate rapidly • Reduce time to market Continuous scaling • Automatically • Scale up and scale down
  • 127. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Components of Lambda • A Lambda function (that you write) • An event source • The AWS Lambda service • The function networking environment
  • 128. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Event Sources • When should your function execute? • Many AWS services can be an event source today: • Amazon S3 • Amazon Kinesis • Amazon SNS • Amazon DynamoDB • Amazon CloudWatch • AWS Config Rules • Amazon Echo • Etc. • …and Amazon API Gateway (more later)
  • 129. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. What’s Unique About Lambda? Abstraction at the code/function level (arbitrary, flexible, familiar) The security model (IAM, VPC) The pricing model The community Integration with the AWS service ecosystem! • Scale • Triggers
  • 130. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Lambda – How do I use it?
  • 131. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Key Lambda scenarios Data processing Stateless processing of discrete or streaming updates to your data- store or message bus Control systems Customize responses and response workflows to state and data changes within AWS App backend development Execute server side backend logic in a cross platform fashion
  • 132. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Amazon API Gateway: Serverless APIs Internet Mobile apps Websites Partner Services AWS Lambda functions API Gateway response cache Endpoints on Amazon EC2 Any publicly accessible endpoint Amazon CloudWatch Amazon CloudFront API Gateway
  • 133. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Serverless Website AWS Lambda function web browser Amazon S3 Dynamic content Amazon API Gateway Static content Amazon DynamoDB
  • 134. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Lambda use case – Data processing
  • 135. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Notes Classroom Environment URL https://qwiklabs.com/ilt/classrooms/15039 Upon log in, click on the Catalog link in the top left- hand corner of the screen
  • 136. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Hands On – AWS Lambda
  • 137. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Hands On – AWS Lambda
  • 138. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Your Business 70% Infrastructure that you own & operate 30% Managing All of the “Undifferentiated Heavy Lifting” Simplify your architecture with AWS
  • 139. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Your Business 70% Infrastructure that you own & operate 30% Managing All of the “Undifferentiated Heavy Lifting” AWS Cloud-Based Infrastructure More Time to Focus on Your Business Configuring Your Cloud Services 30%70% Simplify your architecture with AWS
  • 140. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. AWS Activate | Builders Benefits • $1,000 AWS Promotional Credit, valid up to 2 years • AWS Business Essentials Online Training ($600 value) • AWS Technical Essentials Online Training ($600 value) • 80 credits for self-paced labs ($80 value) http://bit.ly/AWSActivateBuilders
  • 141. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Another View of Shifting Perspective
  • 142. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Builders Data scientist CEO Web Developer Dev Ops
  • 143. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. People who are building for tomorrow Builders
  • 144. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Thank you! For being a builder.

Notas do Editor

  1. ”Cloud computing is the use of computing resources (hardware and software) that are delivered as a service over a network (typically the Internet ”Cloud computing is a type of computing that relies on sharing computing resources rather than having local servers or personal devices to handle applications.” ”Cloud computing is a style of computing in which scalable and elastic IT – enabled capabilities are delivered as a service using Internet technologies
  2. Most cloud providers are extremely reliable in providing their services, with many maintaining 99.99% uptime. The connection is always on and as long as workers have an Internet connection. Moving to the cloud gives access to enterprise-class technology, for everyone. It also allows smaller businesses to act faster than big, established competitors. Pay-as-you-go service and cloud business applications mean small outfits can run with the big boys, and disrupt the market, while remaining lean and nimble..
  3. Cloud-based services are ideal for businesses with growing or fluctuating bandwidth demands. If your needs increase it’s easy to scale up your cloud capacity, drawing on the service’s remote servers. Likewise, if you need to scale down again, the flexibility is baked into the service. This level of agility can give businesses using cloud computing a real advantage over competitors – it’s not surprising that CIOs and IT Directors rank ‘operational agility’ as a top driver for cloud adoption.
  4. Most cloud providers are extremely reliable in providing their services, with many maintaining 99.99% uptime. The connection is always on and as long as workers have an Internet connection. Moving to the cloud gives access to enterprise-class technology, for everyone. It also allows smaller businesses to act faster than big, established competitors. Pay-as-you-go service and cloud business applications mean small outfits can run with the big boys, and disrupt the market, while remaining lean and nimble..
  5. Cloud computing cuts out the high cost of hardware. You simply pay as you go and enjoy a subscription-based model that’s kind to your cash flow. Add to that the ease of setup and management and suddenly your scary, hairy IT project looks at lot friendlier. Cloud computing offers a flexible cost structure, thereby limiting exposure.
  6. Most cloud providers are extremely reliable in providing their services, with many maintaining 99.99% uptime. The connection is always on and as long as workers have an Internet connection. Moving to the cloud gives access to enterprise-class technology, for everyone. It also allows smaller businesses to act faster than big, established competitors. Pay-as-you-go service and cloud business applications mean small outfits can run with the big boys, and disrupt the market, while remaining lean and nimble..
  7. Most cloud providers are extremely reliable in providing their services, with many maintaining 99.99% uptime. The connection is always on and as long as workers have an Internet connection. Moving to the cloud gives access to enterprise-class technology, for everyone. It also allows smaller businesses to act faster than big, established competitors. Pay-as-you-go service and cloud business applications mean small outfits can run with the big boys, and disrupt the market, while remaining lean and nimble..
  8. Most cloud providers are extremely reliable in providing their services, with many maintaining 99.99% uptime. The connection is always on and as long as workers have an Internet connection. Moving to the cloud gives access to enterprise-class technology, for everyone. It also allows smaller businesses to act faster than big, established competitors. Pay-as-you-go service and cloud business applications mean small outfits can run with the big boys, and disrupt the market, while remaining lean and nimble..
  9. AWS provides the deepest and broadest cloud platform in the world. Virtually every conceivable use case can be built and deployed on the AWS Cloud. This is a simple view of the set of services offered by AWS. At the core are the compute, storage and data services that are the heart of our offering. We then surround these offerings with a range of supporting components like management tools, networking services and application services. All these capabilities are hosted within our global data center footprint that allows you to consume services without having to build out your own facilities or procure hardware equipment. TALKING POINTS AWS has developed the broadest collection of services available from any cloud provider. Our approach to regions, availability zones, and POPs provides global coverage for high availability, low latency applications. Foundation services across compute, storage, security, and networking offer customers flexibility in their architecture. We have a full spectrum of options to meet most price-to-performance scenarios. We offer the capability for both managed and unmanaged database options. The offerings for Analytics and Application Services enable advanced data processing and workloads. AWS Redshift, our cloud-based data warehouse, is the fastest growing service in the history of AWS. Our management tools offer a lot of insight and flexibility to let you manage your AWS resources through either our tools or the management tools you’re already familiar with. Recent expansion into enterprise applications has been entirely driven by customer feedback on where they’d like us to deliver value.   Core Services: The core services of the platform provide a strong foundation to build upon. Compute: Broad selection of instance types for general-purpose computing, high-performance computing, high-memory computing, GPUs, high-IO computing, even dedicated instances for regulated workloads. And we actually have twice as many as the nearest competitor for compute instances. Storage: We launched S3 10 years ago. Since then, we’ve added: Archival storage with Glacier, file systems with Elastic File System or block store with the Elastic Block Store. Additionally, inside EBS we have general-purpose volumes for the block store. We have provisioned IOPS, and we have magnetic media. Innovation on behalf of our customers has also provided latency-sensitive transactional workloads with a consistent high-IOPS environment to run. Databases: The same is true for databases. Today we have six different database engines available on the relational database service: Aurora, PostgreSQL, MySQL, MariaDB, and the traditional Oracle and SQL Server databases. All of these databases can run in multi-AZ configurations, so you can split your database for higher availability. Security: If we take a look at identity and access control, we have a very, very deep and fine-grained set of identity and access controls which allow you to not just specify a high-level role, but get really detailed on who can do what to which resource. So you can say that a specific individual inside your organization -- Bill -- can add a table to a specific RDS instance at a particular time only from within the corporate network between 9am and 5pm. Enterprise Apps: Server infrastructure isn’t the only place we’ve invested. For instance, Amazon WorkSpaces provides an extremely capable desktop-as-a-service service, and customers like Johnson & Johnson are currently deploying it across more than 25,000 seats. Marketplace: Finally, I want to call your attention to the AWS Marketplace, which allows you deploy third-party software directly to your AWS environment. At present, the Marketplace offers over 2600 products across more than 900 sellers and customers consume over 205 million running hours a month.   I’d like to walk through a few examples of how we think the AWS Cloud can help you…  
  10. 1/ And we continue to iterate at a faster clip than anybody. 2/ In 2014 we launched 516 significant services and features 3/ In 2015: 722; last year 1,017; this year over 1,300 (over 3 new features/day) 4/ So, pace of innovation continues to accelerate which is extending the gap in functionality when you study it closely
  11. ”Cloud computing is the use of computing resources (hardware and software) that are delivered as a service over a network (typically the Internet ”Cloud computing is a type of computing that relies on sharing computing resources rather than having local servers or personal devices to handle applications.” ”Cloud computing is a style of computing in which scalable and elastic IT – enabled capabilities are delivered as a service using Internet technologies
  12. Most cloud providers are extremely reliable in providing their services, with many maintaining 99.99% uptime. The connection is always on and as long as workers have an Internet connection. Moving to the cloud gives access to enterprise-class technology, for everyone. It also allows smaller businesses to act faster than big, established competitors. Pay-as-you-go service and cloud business applications mean small outfits can run with the big boys, and disrupt the market, while remaining lean and nimble..
  13. And finally, here are the regions we either have launched or will launch in 2016, 2017, and 2018….in this three year period we will add 11 regions. That is as many regions as we launched in our first 10 years. And we’re just getting started. I fully expect that our pace of global expansion is going to continue to accelerate. Let’s review the bidding here. We have launched 2 new North America regions – Ohio and Montreal. We launched our third European region in London. And we launched 2 new regions in Asia Pacific – Mumbia and Seoul. And we have preannounced another 6 regions. In the US, we will add a second region for certain government workloads on the east coast. In Europe, we will add a region in Paris and a region in Sweden. We will launch our first middle eastern region in Bahrain. And we will add two more Asia Pacific regions – one in Hong Kong and a second mainland China region in Ninjxia. Phew…that was tiring to just list. And we are not done…we are just getting started…stay tuned.
  14. This is Gartner’s latest market segment share sizing released this past Fall Can see they estimate AWS’s market segment share at 44.1%, up from 39.7% a year before More than double the other 9 providers listed here combined… So significant market segment leadership position that’s expanding
  15. So as a quick refresher, EC2 instances are virtual machines. They are guests that are running on top of a hypervisor that is running on a physical piece of hardware.
  16. Now, this may be a little obvious to some people, but I wanted to talk about how the different sizes of EC2 instances actually work using the c4 as an example. A c4.8xlarge will give you roughly double the amount of resources as two c4.4xlarge’s. These are things like CPU, memory, and network. and those 4xlarges are roughly equal to four 2xlarges and so on and so forth.
  17. Walk through the terminology from what an AMI is, launching an instance into a specific network environment, in specific AZ/Region, there are multiple regions, block storage is in an AZ, S3 is regional and holds snapshots.
  18. High-level description of Security Groups. Focus on how they control network traffic and the differences between EC2 Classic and VPC security groups.
  19. Users that want the low cost and flexibility of Amazon EC2 without any up-front payment or long-term commitment Applications being developed or tested on Amazon EC2 for the first time Applications with short term, spiky, or unpredictable workloads that cannot be interrupted
  20. Applications with steady state or predictable usage Applications that require reserved capacity Users able to make upfront payments to reduce their total computing costs even further
  21. You can save up to 75% off the On-Demand rate. You can choose between three payment options when you purchase a Standard Reserved Instance. With the All Upfront option, you pay for the entire Reserved Instance with one upfront payment. This option provides you with the largest discount compared to On-Demand Instance pricing. With the Partial Upfront option, you make a low upfront payment and are then charged a discounted hourly rate for the instance for the duration of the Reserved Instance term. The No Upfront option does not require any upfront payment and provides a discounted hourly rate for the duration of the term. Now if your needs change after you have purchased a Reserved Instance, you can request to move your Reserved Instance to another Availability Zone within the same region, change its Network Platform or, for Linux/UNIX RIs, modify the instance type of your reservation to another type in the same instance family, at no additional cost. The other option is to sell your unneeded RI’s on the RI Marketplace!
  22. Applications that have flexible start and end times Experiments that can only be conducted at very low compute prices (Brookhaven and Fermi – analyzing the origins of our universe). Or business that need extremely low infrastructure costs to achieve profitability such as Adtech. Users with urgent computing needs or large amounts of additional capacity
  23. Spot Instances provide the ability for customers to purchase compute capacity with no upfront commitment and at hourly rates usually lower than the On-Demand rate, often as much as 90% cheaper - for those wondering what is a 90% discount? It is about 1c per core hour. Ask yourself what could your best people do, or how well could your application perform with a 10,000 core data center that costs just $100 per hour..
  24. So the spot rules are actually pretty simple. There is a market determined pricing mechanism, that is often as much as 90% off the On-Demand price. You never pay more than your bid, in fact you’ll often pay significantly less than your bid! Should the market price exceed your bid, we give you 2 minutes to wrap up your work! Here is a quick example of the impact of bidding on interruptions and price. 25% you kept your instance for almost 7 days, being impacted during a few short periods. However, you only paid the market price which was 86% off, just less than 20c per hour during the last week, only 14% of the OD price. At 50% you would have been interrupted just once, for a very short period of time during the sixth day. You’re average discount during the week is 85% just 21c per hour, paying just 15% of OD. At 75% you would not once have been interrupted, achieving an average discount of 85% just 21c an hour, again paying just 15% of OD. So a simple tip for getting started with Spot is bid the on-demand price and you’ll still only pay the market rate often just 10% of the on-demand price! If you’re using Spot fleet it will automagically handle the re-provisioning of your capacity!
  25. So having a balanced meal means - Use Reserved Instances for known/steady-state workloads Set-up multiple Scaling groups Scale using Spot, On-Demand or both
  26. Amazon Virtual Private Cloud (Amazon VPC) lets you provision a logically isolated section of the Amazon Web Services (AWS) Cloud where you can launch AWS resources in a virtual network that you define. You have complete control over your virtual networking environment, including selection of your own IP address range, creation of subnets, and configuration of route tables and network gateways. You can also create a Hardware Virtual Private Network (VPN) connection between your corporate datacenter and your VPC and leverage the AWS cloud as an extension of your corporate datacenter.
  27. Here’s a visualization of the network components of a VPC, which can span availability zones Traffic can be routed from a subnet to the internet, or it can be kept private You can also route subnet traffic to a Virtual Private Gateway which connects via VPC to a customer data center
  28. Here’s a directional chart of server load versus time, where you can see a gradual spike in activity mid day This is common for many applications, to see a surge of activity during the day when customers wake up and then a ramp down when customer go to bed
  29. Overlayed onto the chart is the capacity of one server, which in the case is enough to serve customer up until about 8am, and then later between 4pm and midnight
  30. So two servers are traditionally required, since you’ll have to buy for the peak, although for roughly 16 hours out of the day, you don’t need the second server Notice that the area under the curve represents server capacity needed as well as the expense of that server capacity. The difference between the capacity provisioned and the need is the savings opportunity
  31. What if you could provision one server for the first 8 hours…
  32. Continue using that server for the next 8 hours…
  33. Add an additional server for the middle of the day to accommodate peak demand…
  34. And then scale back down to one server for the final 8 hours…
  35. That would save you a third of the traditional capacity requirement You can do this with Amazon EC2 by purchasing On-Demand Instances, where you pay by the hour
  36. Some applications are spikier, for example some enterprise applications that may by sitting dormant for most of the month but require substantial server capacity for the final days
  37. In this example, the end of month need is predictably 6x what is required during the remainder of the month
  38. The expense to provision for peak is significantly higher than in the previous example, The area under the curve traditionally provisioned is significantly larger than what is needed, making the savings opportunity higher
  39. With this predictable workload pattern, you can capitalize on the savings opportunity with Amazon EC2
  40. In this case it’s 75%
  41. Elastic Load Balancer does health checks. If Elastic Load Balancing finds an unhealthy instance, it stops sending traffic to the instance and reroutes traffic to healthy instances. At the same time, Auto Scaling periodically performs health checks on instances. When Auto Scaling determines that an instance is unhealthy, it terminates that instance and launches a new one. Using this functionality across multiple availability zones allows your architecture to fail over to either availability zone, enabling a highly available web architecture within a region You’ll notice as well that static content is delivered through CloudFront our Content Delivery Network
  42. Lamborghini: Automobili Lamborghini manufactures luxury super sports cars in Italy. When the company’s outdated website and infrastructure needed an update, they chose AWS to bring a new website online in less than one month, supporting a new product launch that generated a 250% increase in website traffic. Unilever: Unilever migrated 500 web properties in less than 5 months to a standardized digital marketing platform running on AWS capable of supporting global campaigns, and reducing the time to launch new projects by 75%. Discovery Communications: Discovery Communications is a leader in nonfiction media, reaching more than 1.8 billion cumulative subscribers in 218 countries and territories. Discovery uses AWS to run more than 40 websites while easily meeting fluctuating traffic. Airbnb: Tobi Knaup, an engineer at Airbnb says, “Because of AWS, there has always been an easy answer (in terms of time required and cost) to scale our site.” McCormick: McCormick & Company is a global leader in the flavor industry with more than $4 billion in annual sales. McCormick uses AWS to host the FlavorPrint website and store user profiles, photographs, and how-to videos. By using AWS, McCormick was able to create an entirely new way to present its products to customers, and along the way, double capacity and reduced infrastructure costs by over 50%. Lafarge: A leader in building materials, Lafarge uses AWS to host 20 active corporate website and plans to expand its use to more websites and applications. Using AWS gives Lafarge the ability to instantaneously add or remove instances in order to manage website load during peak periods. Dow Jones: Dow Jones & Company is a global provider of news and business information, delivering content to consumers and organizations via newspapers, Web sites, mobile apps, video, newsletters, magazines, proprietary databases, conferences, and radio. The WSJ.com product running on AWS Tokyo leverages multiple Availability Zones on Amazon EC2 instances to run Dow Jones app code and Oracle databases. Ziff Davis: Ziff Davis is an American publisher and Internet company. Ziff Davis is using AWS to host its web properties such as PCMags.com, IGN.com and AskMen.com. AWS provides a uniform environment for the enterprise’s web properties, and eliminates the cost of licensing, on-site maintenance, and hardware refreshes. Reddit: 4 billion page views per month with only 20 people in the whole company
  43. …then this is irrelevant if clients can’t resolve you?
  44. Magnetic 1TB max 2 flavours with Max 16TB volume size General Purpose 3,000 per volume up to 1TB 10,000 maximum 20,000 max on PIOPS
  45. If you could use everything you’ve already learned about designing service-based applications without the need to manage the server-based infrastructure, that would be pretty compelling, right? You can have your applications operations be fully managed, no provisioning, high availability built in, no patching or monitoring Operating Systems. Also, when creating web services, a lot of the code that your development team will be responsible for writing is relevant to the web services paradigm itself. Running a web server, exposing an API, marshalling requests/responses, etc. By architecting to be serverless, your developers can focus on the core business logic that matters. And finally, the serverless applications you build will have their scaling managed for you, no matter the what that scale is.
  46. I’ll explain the service by describing the four different components that I think about when building a Lambda-based application. We jump into each one of these components now.
  47. Next is the event source. For the code that you’ve written and would like to have executed, the event source will define how and when that occurs. There are a number of different event sources available today and that’s continuing to grow at a very rapid pace. Each different event source type will define what data and metadata passed to your function so that it’s able to process with all the context that it needs for your application. For example, if you would like your code to execute whenever a new object lands inside an S3 bucket and choose S3 as an event source… when your Lambda function is triggered it will be provided metadata like the userIdentity that uploaded the object, the bucket the object was created in, and the key and size of that new object. And if, for example, you choose Amazon API Gateway as your event source, your Lambda function will receive all of the HTTPS request details it needs to process that API request.
  48. Lambda allows you to work within a model that provides an amazing balance between abstraction and control. You get to be abstracted away from all the undifferentiated heavy lifting of infrastructure, and you get full control over the code required to run your application. All of the practices and tools your developers are using for code creation and management can still be used before deploying to Lambda. Security is AWS’s #1 priority and always will be. Using Lambda means you get native integration with AWS features and services like IAM and VPC that make implementing security best practices easier. Lambda is already part of many mission critical applications for AWS customers already today. You pay per function execution. When you’ve provisioned a server that no users are interacting with, you’re still paying for that unused capacity. Not with Lambda. No concept of paying for idle capacity, no commitments required. And there is a gigantic free tier available. The first 1 million function executions per month are free with Lambda. And the Lambda free tier does not expire after 12 months like some other AWS free tiers. There is already a booming community around Lambda, there for your support and they’ve documented answers for a lot of questions that you may run into when starting out. Your function is collocated on the AWS platform with all of the other services at your functions fingertips. You could write a simple API and a simple code function that’s deployed and managed by AWS Lambda that directly (and securely) integrates with a single relational database that could grow and scale up to 64TB with Amazon Aurora. That’s insane! Not to mention the Support, Solutions Architect, and Partner organization that are here to help make you successful.
  49. Now I’m going to give a demonstration for how to build a serverless application on AWS using AWS Lambda and Amazon API Gateway. It will be a very typical three-tier web application. The presentation tier will be a static HTML front end stored inside of S3. Which will reach out to the logic tier via HTTPS API requests. The logic tier will be an API will be deployed through Amazon API Gateway and processing will occur by functions inside of AWS Lambda. Those functions will persist data inside a DynamoDB table which will be our data tier. Once we’re completed, we’ll have a fully scalable and managed application that requires no server-based operations.