You are on page 1of 71

AWS 101

Oron Adam
CTO
Emind Cloud Experts
Platform Breadth & Depth
A broad and deep platform helps
build sophisticated, scalable applications
Global deals Product prototyping Hotel booking Video streaming App streaming Firmware
engine engine upgrades

& design

Mobile music Audience Biological SIM card credit News Mobile games
discovery management & data research distribution
creative design
AWS Rapid Pace of Innovation
Amazon EC2
Container Service
Since inception AWS has: AWS Lambda
• Released 1111 new services and features AWS Service
• Introduced over 40 major new services Catalog
• Announced 49 price reductions Amazon AWS Config
AppStream
AWS CodeDeploy
Amazon Elastic
Transcoder AWS CodeCommit
Amazon EC2
AWS CodePipeline
Amazon Amazon Kinesis
CloudSearch AWS Key
GovCloud Management Service
Amazon
AWS OpsWorks
Dynamo DB
Elastic Load AWS Direct Amazon RDS
Balancing Connect Amazon Glacier Amazon for Aurora
Auto Scaling AWS Elastic CloudHSM
Amazon Cognito
Beanstalk Amazon Redshift
AWS Import Amazon VPC Amazon
AWS CloudTrail Amazon Mobile
& Export Analytics
Amazon RDS CloudFormation Amazon Route 53
AWS Identity AWS Data
& Access Amazon AWS Storage Pipeline AWS Zocalo
Amazon EMR ElastiCache
Management Gateway
Amazon EC2 Amazon Amazon AWS Directory
Amazon EBS Amazon SNS CloudWatch Amazon SES Amazon SWF WorkSpaces Service

2008 2009 2010 2011 2012 2013 2014


TECHNICAL &
AWS MANAGEMENT PLATFORM ENTERPRISE HYBRID CLOUD
BUSINESS
MARKETPLACE TOOLS SERVICES APPS MANAGEMENT
SUPPORT

Analytics Mobile Development App


Big Data Virtual Direct
Support Queuing
& HPC Desktops Connect
Mobile
Data
Sync Containers & Web
Warehousing
Front-end

Sharing & Identity


Professional Business Notifications
Collaboration Federation
Services Apps Source
Hadoop Identity Functions
Code

Email &
Search Deployment
Push Build Calendaring
Partner Streaming Identity
Security Notifications Tools
Ecosystem

Orchestration Data Mobile Deploymen Directories Backups


Data Store
Pipelines Analytics t
Training &
Development
Certification

Machine Mobile Storage Integrated


Email DevOps Real-time
Learning Backend Gateway Management

Account
Backup
Management
SECURITY &
MANAGEMENT

Virtual Private Identity & Encryption


Configuration Monitoring Dedicated
Solutions Networks Access Keys
Databases
Architects

INFRASTRUCTURE
SERVICES
Security
Industry Storage
& Pricing
Solutions Availability O b j e c t s Databases
Reports Regions Compute , SQL, NoSQL, Networking CDN
Zones B l o c k s , Caching
F i l e s
Compute
and Networking
Amazon EC2
(Amazon Elastic Compute Cloud)
Virtual servers in the Amazon Cloud
Amazon EC2

Virtual servers Scale up or down Pay for what Familiar operating


hosted in the quickly, as needed you use systems
Amazon Cloud
Amazon EC2 is Easy to Use

Root access control


Ability to stop or re-start remotely
Easy to use console and API’s
Mobile access
Amazon EC2 is Elastic

Automatically scale servers up or down


Simplify operations
Improve resiliency
Run applications securely
Run any application globally
Reduce costs
Amazon EC2 is Reliable

Easily build highly available applications

Use multiple Availability Zones (AZs)

AWS Elastic Load Balancing distributes load

Auto Scaling helps ensure availability and scale


6

4
Instance Count

0
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 25 26 27 28 29 30
Day of Month
6

4
Instance Count

Elastic Capacity
0
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 25 26 27 28 29 30
Day of Month
6

4
Instance Count

75% Savings
3

Elastic Capacity
0
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 25 26 27 28 29 30
Day of Month
Amazon EC2 is Secure and Compliant

Secure access Dedicated connection option

Unique users Perfect Forward Secrecy

Multi-factor authentication Security logs

Private Subnets Centralized key management

Encrypted data storage


Amazon EC2 is Cost Effective

Low cost computing capacity

Pay as you go pricing

Flexible pricing models


Amazon EC2 is Feature Rich

AWS Marketplace AMI’s

Ecosystem of partners and ISV’s

Familiar Operating Systems

3rd party integration

Analytics, deployment and enterprise applications services


Amazon EC2 is Flexible

Operating systems
Languages and Libraries
Storage options
Instance types
Amazon EC2 Instance Types

Instances to suit your application needs

Micro Storage Optimized

General Purpose GPU Optimized

Compute Optimized Memory Optimized


Amazon VPC
(Amazon Virtual Private Cloud)
Isolated Cloud Resources
Amazon Virtual Private Cloud (VPC)

Provision a logically isolated section of the AWS cloud

Control your virtual networking environment


• Subnets
• Route Tables
• Security Groups
• Network ACLs

Connect to your on-premises network via hardware VPN

Control if and how your instances access the Internet


Internet

Internet Gateway

VPC Subnet VPC Subnet

VPC Subnet
10.0.0.5 10.0.1.5 10.0.1.6

10.0.3.5
10.0.0.6
10.0.1.25 10.0.1.8
10.0.3.17

Availability Zone 1a Virtual Private Gateway Availability Zone 1b

VPN Connection
Customer Gateway
Customer
Data
Center
Amazon EC2 Container Service
Run and Manage Docker Containers
Amazon EC2 Container Service

Run Docker containers in EC2 cluster

API controlled

Support Images from private Docker repositories

Compatible with other services and features, security


groups,
Amazon Elastic Beanstalk
Run and Manage Web Apps
Amazon Elastic Beanstalk

Deploy and scale web applications easily

Languages: Java, .NET, PHP, Node.js, Python, Ruby, Docker

Servers: Apache, Nginx, Phusion Passenger, IIS

Simply upload your code; AWS handles:


Deployment Auto scaling
Capacity Provisioning Health Monitoring
Load balancing
Amazon Lambda
Run Code in Response to Events
Amazon Lambda: Event-Driven Compute

Runs stateless, request-driven code called Lambda functions: NodeJS Java &
Python (new)
Triggered by events (state transitions) in other AWS services
Pay only for the requests served and the compute time
Focus on business logic, not infrastructure.
Just upload your code; AWS Lambda handles:
Capacity Monitoring
Scaling Logging
Deployment Web service front end
Fault tolerance Security patching
Storage
AWS Storage Options

Scalable Object Storage

Inexpensive archive storage

Persistent Block Storage

Turn-key gateway solution


Amazon S3
Simple Storage Service
Amazon S3

Object storage

Store anything: 1 byte – 5 TB in size


Scalable

Performance
99.999999999% durability

Infrequent Access option


Amazon S3: buckets and objects
Amazon S3: hosting static content for a website
Amazon Glacier
Archive Storage in the Cloud
Amazon Glacier

Archive storage and backup

Secure and durable: 99.999999999% durability


Infrequent access

Retrieval time: 3-5 hours


Extremely low cost – 0.01$ per GB/month – 120$ per TB/year
Amazon EBS
Persistent Block Storage
Amazon EBS

Persistent Block Storage for Amazon EC2

Reliable: Automatically replicated within its Availability Zone


Secure: Encryption

Scalable: Easy to change the size

Performance: depending on the volume type

Snapshots to S3: Easy backup


Amazon EBS: Volume types
Price Performance

Latency Business impact

Magnetic General Purpose Provisioned IOPS


Boot volumes I/O intensive
Use Cases Infrequent data access Small to Med DBs Relational DBs
Dev and Test NoSQL DBs
Storage Media Magnetic disk-backed SSD-backed SSD-backed
Performance 100 IOPS on average. Burst to 3,000 IOPS Consistently performs at
Ability to burst to maximum, with a base provisioned level, 4000
hundreds of IOPS performance of 3 IOPS/GiB IOPS maximum
$.05/GB - Month $.125/GB - Month
Price $.10/GB – Month
$.05/million I/O $.065/provisioned IOPS
Amazon Storage Gateway
Integrates On-Premises IT Environments with Cloud Storage
Amazon Storage Gateway

Your on-ramp to AWS cloud storage:

• Backup into Amazon S3

• DR on Amazon EC2

• Archive into Amazon Glacier

• Frequently access data on-premises

• iSCSI based block storage


Database
AWS Database Options

1. Self-Managed in Amazon
EC2

2. Use one of our Managed DB


Services
Why managed database
services?
If you host your databases on-premises
App optimization
Scaling
High availability
Database backups
DB s/w patches
DB s/w installs
OS patches
OS installation
Server maintenance
Rack & stack
Power, HVAC, net

you
If you host your databases on-premises
App optimization
Scaling
High availability
Database backups
DB s/w patches
DB s/w installs
OS patches
OS installation
Server maintenance
Rack & stack
Power, HVAC, net

you
If you host your databases in Amazon EC2

App optimization
Scaling
High availability
Database backups OS installation
DB s/w patches Server maintenance
DB s/w installs Rack & stack
OS patches Power, HVAC, net

you
If you host your databases in
Amazon EC2

App optimization
Scaling
High availability
Database backups OS installation
DB s/w patches Server maintenance
DB s/w installs Rack & stack
OS patches Power, HVAC, net

you
If you choose a managed DB service

Scaling
High availability
Database backups
DB s/w patches
DB s/w installs
OS patches
OS installation
Server maintenance
Rack & stack
App optimization Power, HVAC, net

you
The self-managed vs. AWS-managed decision

Self-managed database AWS-managed database


You have full responsibility for AWS provides upgrades, backup, and
upgrades and backup failover as a service
You have full responsibility for security AWS provides high infrastructure
security, certifications; gives you tools
to ensure DB security
Full control over parameters of server, Database is a managed appliance, so
OS, and database you can easily automate
Replication is expensive, complex, AWS provides failover as a packaged
and requires a lot of engineering service
A managed service for each major DB type

Amazon Amazon Amazon Amazon


DynamoDB RDS ElastiCache Redshift

Document SQL In-memory Data


and key- database cache warehouse
value store engines
Amazon DynamoDB
Predictable and Scalable NoSQL Data Store
Amazon DynamoDB

NoSQL Database
Document and key-value store

Fast, consistent performance: Single digit millisecond latency


Seamless scalability
Zero administration
Amazon RDS
Managed Relational Database Service
Amazon RDS

Simple and fast to deploy


• Simple and fast to scale
• AWS handles patching, backups, replication
Compatible with your applications
• Choose among MySQL, PostgreSQL,
Oracle, SQL Server, Aurora, MariaDB (new)
Fast, predictable performance
No cost to get started; pay only for what you consume
Amazon Elasticache
In-Memory Cache
Amazon Elasticache

Improve performance of applications

Speed your application by bypassing database access and


disk storage

Supports two engines:


• Memcached
• Redis
Amazon Redshift
In-Memory Cache
Amazon Redshift

Columnar Relational data warehouse


Massively parallel
Petabyte scale
$1,000/TB/year
Use existing BI tools
based on PostgreSQL 8.0.2
Analytics
Amazon EMR
(Amazon Elastic MapReduce)
Managed Hadoop Framework
Amazon EMR

Hadoop/HDFS or Spark clusters

Hive, Pig, Impala, HBase

Easy to use; fully managed

On-demand and spot pricing

Tight integration with S3, DynamoDB, and Kinesis


Amazon Kinesis
Real-time Processing of Streaming Big Data
Amazon Kinesis

Real-time processing

High throughput; elastic

Easy to use

EMR, S3, Redshift, DynamoDB Integrations


Amazon Machine Learning
Build Smart Applications Quickly and Easily
Amazon Machine Learning

Easy to use, managed machine learning


service built for developers

Robust, powerful machine learning


technology based on Amazon’s internal
systems

Create models using your data already


stored in the AWS cloud

Deploy models to production in seconds


And lots of other Services (I)
And lots of other Services (II)
Example 3-tier Web App architecture
Questions?
Oron Adam - @oronoa

You might also like