aws webcast - website hosting in the cloud
Post on 28-Nov-2014
536 Views
Preview:
DESCRIPTION
TRANSCRIPT
Website Hosting in the Cloud
Sri Elaprolu
Manager, Solutions Architecture
elaprolu@amazon.com
AWS Global Infrastructure
Application Services
Networking
Deployment & Administration
DatabaseStorageCompute
Compute
EC2Virtual servers in the cloud
Elastic Compute Cloud
• Resizable compute capacity in 30+ instance types
• Reduces the time required to obtain and boot new server instances to minutes
or seconds
• Scale capacity as your computing requirements change
• Pay only for capacity that you actually use
• Choose Linux or Windows
• Deploy across Regions and Availability Zones for reliability
• Support for virtual network interfaces that can be attached to EC2 instances in
your VPC
General Purpose
Name vCPUMemory
(GiB)
m3.medium 1 3.75
m3.large 2 7.5
m3.xlarge 4 15
m3.2xlarge 8 30
Compute Optimized
Name vCPUMemory
(GiB)
c3.large 2 3.75
c3.xlarge 4 7
c3.2xlarge 8 15
c3.4xlarge 16 30
c3.8xlarge 32 60
cc2.8xlarge 32 60.5
Memory Optimized
Name vCPUMemory
(GiB)
r3.large 2 15
r3.xlarge 4 30.5
r3.2xlarge 8 61
r3.4xlarge 16 122
r3.8xlarge 32 244
Storage Optimized
Name vCPUMemory
(GiB)
Local Storage
(GB)
i2.xlarge 4 30.5 1 x 800 SSD
i2.2xlarge 8 61 2 x 800 SSD
i2.4xlarge 16 122 4 x 800 SSD
i2.8xlarge 32 244 8 x 800 SSD
hs1.8xlarge 16 117 24 x 2048
GPU Instances
Name vCPUMemory
(GiB)
g2.2xlarge 8 15
Cost Optimized Instances
Name vCPUMemory
(GiB)
t2.micro 1 1
t2.small 1 2
t2.medium 2 4
Compute
EC2Virtual servers in the cloud
Amazon Machine Image
• Building blocks of EC2 instances
• An AMI is like a template of a computer's root volume.
• Can be public or private and shared with other accounts
• Create hardened or gold “Images” of your EC2 infrastructure
• Copy AMIs between regions
Compute
EC2Virtual servers in the cloud
Elastic Block Storage (EBS)
• Use for persistent storage from 1GB – 1TB
• Can use to create RAID configuration for a server
• Off-instance block storage that persists independently
• Storage volumes for use with Amazon EC2 instances – create, attach, backup,
restore and delete
• Can be attached to a running Amazon EC2 instance and exposed as a block
device for raw or formatted (file system) access
• Snapshots are durably saved to S3
• Ideal use cases:
– OS Boot device / root file system; secondary volumes/file systems
– Typical basis for database storage
– Raw block devices for RAID, some databases
• Available in both standard and provisioned IOPS (up to 4k IOPS)
Compute
EC2Virtual servers in the cloud
Auto Scaling
• Client Defined Business Rules
• Scale your Amazon EC2 capacity automatically once you define the conditions
(may be 1000’s of servers)
• Can scale up just a little…doesn’t need to be massive number of servers (may
be simply 2 servers)
• Well suited for applications that experience variability in usage
• Set minimum and maximum scaling policies
• Alternate Use is for Fault Tolerance
Compute
EC2Virtual servers in the cloud
Elastic Load Balancing
• Supports the routing and load balancing of HTTP, HTTPS and generic TCP
traffic to EC2 instances
• Supports SSL termination and Proxy protocol
• Supports health checks to ensure detect and remove failing instances
• Dynamically grows and shrinks required resources based on traffic
• Seamlessly integrates with Auto-scaling to add and remove instances based
on scaling activities
• Single CNAME provides stable entry point for DNS configuration
• Supports internal load balancing within a VPC
AWS Global Infrastructure
Application Services
Networking
Deployment & Administration
DatabaseStorageCompute Database
Database
Relational Database Service
• Fully-managed, tuned MySQL, PostgreSQL, Oracle 11g, or MS SQL
• Cost-efficient and resizable capacity
• Manages time-consuming database admin tasks
• Code, applications, and tools you already use today work seamlessly
• Automatically patches the database software and backs up your database
• Flexible Licensing: BYOL or License Include
• Multi-AZ deployment option for MySQL, PostgreSQL and Oracle
• Cross-Region Read Replica support for MySQL
RDSManaged Relational Database Service
AWS Global Infrastructure
Application Services
Networking
Deployment & Administration
DatabaseStorageCompute
Networking
AWS Global AWS Infrastructure
Networking
Route 53Route 53Scalable DNS
• Route end users to Internet applications
• Answers DNS queries with low latency by using a global network of DNS
servers
• Latency based routing to closest AWS endpoint (e.g. EC2 instances, Elastic
IPs or ELBs)
• Application Health Checks
• Deep integration with other AWS services (ELB,
EC2 NAT/EIP, etc.)
• DNS failover
AWS Global Infrastructure
Application Services
Networking
Deployment & Administration
DatabaseStorageCompute StorageCompute
Storage
S3
Scalable Storage in the Cloud
Simple Storage Service
• A “Bucket” is equivalent to a “folder”
• Able to store unlimited number of Objects in a Bucket
• Objects from 1B-5 TB; no bucket size limit
• Highly available storage for the Internet (object store)
• HTTP/S endpoint to store and retrieve any amount of data, at any time, from
anywhere on the web
• Highly scalable, reliable, fast, and inexpensive
• Designed to provide annual durability of 99.999999999%
• Designed for 99.99% availability
• Trillions of objects stored
• Peak requests 1,500,000+ per second
Storage
CloudFront
• Web service for content delivery
• Distribute content to end users with low latency, high data transfer speeds, and
no commitments
• Delivers your content using a global network of 52 edge locations
• Supports download, streaming, live streaming, and dynamic content
– Key features: RTMP Streaming, HTTPS Delivery, Private Content for HTTP &
Streaming, Programmatic Invalidation, Detailed Logs for HTTP & Streaming, Default
Root Object
• Use Cases: Video and Rich Media, Online Gaming, Interactive Agencies,
Software Downloads, Static Websites
– Static web content that must be delivered to global user base at Highest bandwidth /
Lowest latency / Lowest cost
S3
Scalable Storage in the Cloud
CloudFrontGlobal Content Delivery Network
AWS Global Infrastructure
Application Services
Networking
Deployment & Administration
DatabaseStorageCompute
Deployment & Administration
Deployment & Administration
IAMSecure AWS Access Control
CloudFormation
• Create templates of stack of resources
• Deploy stack from template with runtime parameters
• Templates are simple JSON formatted text files
• CloudFormer supports generating templates from running environments
CloudWatchResource Monitoring
CloudFormationTemplated AWS Resource Creation
"Resources" : {
"Ec2Instance" : {
"Type" : "AWS::EC2::Instance",
"Properties" : {
"SecurityGroups" : [ { "Ref" : "InstanceSecurityGroup" } ],
"ImageId" : { "Fn::FindInMap" : [ "RegionMap", { "Ref" : "AWS::Region" }, "AMI" ]},
"Tags" : [{
"Key" : "MyTag",
"Value" : "TagValue"
}]
}
},
Deployment & Administration
IAMSecure AWS Access Control
Elastic Beanstalk
• Simply upload your application (Java, NET, PHP, Node.js, Ruby and Python)
• Automatically handles the deployment details of capacity provisioning, load
balancing, auto-scaling, and application health monitoring
• Retain full control over the AWS resources powering your application
CloudWatchResource Monitoring
CloudFormationTemplated AWS Resource Creation
Elastic BeanstalkAWS Application Container
Deployment & Administration
IAMSecure AWS Access Control
OpsWorks
• DevOps service for applications in the AWS cloud
• Helps manage complete application lifecycle:
– Resource provisioning
– Configuration management
– Application deployment
– Software updates
– Monitoring
– Access control
• Visualized through application layers
• Uses Chef recipes used to deploy and configure software components on EC2
instances
CloudWatchResource Monitoring
CloudFormationTemplated AWS Resource Creation
Elastic BeanstalkAWS Application Container
OpsWorksDevOps Application Management
Architect for High Availability
1. Use Multiple
Availability Zones
2. Use Amazon RDS with
Replicas and Standby
3. Use Amazon Auto
Scaling groups
4. Use Amazon Elastic
Load Balancing
A lot of options…
• Configuration Management Systems
– Puppet
– Chef
– Saltstack
• Deployment Frameworks
– Elastic Beanstalk
– OpsWorks
– Ansible
– Fabric
– Capistrano
• Infrastructure Management
– CloudFormation
LIVE DEMO
top related