Digital Talent Scholarship 2019: AWS Compute Service
Digital Talent Scholarship 2019: AWS Compute Service
UNIV/POLTEK
DIGITAL TALENT
SCHOLARSHIP
2019
Contents
• AWS Compute Service Overview
• EC2
• ECS
• Lambda
• How to Choose?
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
Compute Services
• Amazon EC2
• Virtual machine on AWS
• Possible for vertical and horizontal scaling
• Payments : on demand, reserved, spot
• AWS Lambda
• Serverless architecture
• No need machine provisioning
• Highly scalable
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
Compute Services
• Amazon Lightsail
• Service for quick application deployment
• Web and applications server for backend
• Amazon ECS
• Manage containerized application
• Bundling applications and libraries on container
• AWS Fargate
• Allow running containers without managing servers or cluster
• Seamless scaling
• Amazon EKS
• Running containers on Kubernets
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
VM 1 VM 2 VM 3
Virtual Servers in the Cloud
Hypervisor
Server
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
• 17,500 nonprofits
• 12 regions
• 33 Availability Zones
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
Supported OS
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
Instance Types
Families Description Example Use Cases
General Purpose Websites, web applications, Dev, code
t2, m4, m3
Balanced Performance repos,micro services, business apps
Compute Optimized Front-end fleets, web-servers, batch processing,
c3, c4, cc2 High CPU distributed analytics, science and engineering
Performance apps,ad serving, M M O gaming,video-encoding
GPU Optimized Amazon AppStream 2.0, video encoding,
g2, p2
High-end GPU machine learning, high perf databases,
science
Memory Optimized
r3, r4, x1, cr1 In-memory databases, data mining
Large RAM footprint
Storage Optimized
d2, i2, i3, hi1, hs1 NAS, data warehousing, NoSQL
High I/O, High density
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
Storage Options
• Locally attached or “instance storage”
• Network attached:
• Amazon EBS General Purpose (SSD) volumes
• Amazon EBS Provisioned IOPS (SSD) volumes
• Amazon EBS Magnetic volumes
• Amazon EFS
• Amazon S3 and Amazon Glacier for object storage
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
Auto Scaling
Resources scaled to demand
Actual demand
Waste Customer
dissatisfaction
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
Purchasing Options
Pay for compute Make a low, one- Bid for unused Launch instances
capacity by the time payment and capacity, charged at a within Amazon VPC
hour with no long- receive a significant Spot Price which that run on hardware
term commitments discount on the fluctuates based on dedicated to a single
hourly charge supply and demand customer
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
Applications Evolved
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
Monolithic Architecture
Shipping
Order Service User Service
Service
Data Access
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
A Microservices Architecture
Shipping
Order Service User Service
Service
Data Access
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
Data Access
Data Access
Data Access
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
Docker
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
Guest OS Images
Server
Automation
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
Container Advantages
App1 App2
Portable
Bins/Libs Bins/Libs Flexible
Guest OS Fast
Server
Efficient
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
App1 App2
Bins/Libs Bins/Libs
Guest OS
Server
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS
Server Server Server Server Server Server Server Server Server Server Server Server
Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS
Server Server Server Server Server Server Server Server Server Server Server Server
Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS
Server Server Server Server Server Server Server Server Server Server Server Server
Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS
Server Server Server Server Server Server Server Server Server Server Server Server
Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS Guest OS
Server Server Server Server Server Server Server Server Server Server Server Server
AZ 3
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
• Nothing to run
• Complete state Control and monitoring
scale
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
• Batch jobs
• Multiple schedulers
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
• AWS CloudTrail
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
What is Serverless?
• Operations and Management
• Provisioning and Utilization
• Scaling
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
Benefits of Serverless
• Simple
• Scalable
• Low Cost
• Reliable
• Low Latency
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
• You pay only for the compute time you consume - there is
no charge when your code is not running.
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
Flexible use
• Call or send events • Flexible authorization
• Integrated with other • Securely grant access to
AWS services resources, including VPCs
• Build whole • Fine-grained control over
serverless who can call your
ecosystems functions
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
Pay-per Request
• Buy compute time in
100 ms increments for
21 microcents
• Request charge of 20
microcents
• No hourly, daily, or Free Tier
monthly minimums 1 million requests and 400,000 GBs of compute
every month, every customer
• No per-device fees
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
How to Choose
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
How Do I Choose?
• VMs
• “I want to configure machines,
storage, networking, and my OS” EC2
• Containers
• “I want to run servers, configure
applications, and control scaling” ECS
• Serverless
• “Run my code when it’s needed” Lambda
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
EC2
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
ECS
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
Lambda
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
List of Reference
• Overview AWS Compute Services
https://docs.aws.amazon.com/whitepapers/latest/aws-
overview/compute-services.html
• AWS EC2
https://aws.amazon.com/ec2/
• AWS ECS
https://aws.amazon.com/ecs/
• AWS Lambda
https://aws.amazon.com/lambda/
digitalent.kominfo.go.id
LOGO
UNIV/POLTEK
IKUTI KAMI
digitalent.kominfo
digitalent.kominfo
DTS_kominfo
Digital Talent Scholarship 2019
digitalent.kominfo.go.id
digitalent.kominfo.go.id