1. amazon
web services
Lunch and Learn Series
Enterprise Cloud Journey
2. Silence your phones
Restrooms / Emergency Exits
Your instructor:
Joe Ziegler, zieglerj@amazon.com
Technical Evangelist @jiyosub
[ Before we start ]
2
3. • Efficiencies of cloud computing
• Appropriate applications for migration
• Low hanging fruit & long term strategies
• Key AWS services
• Reducing your spend
[ Our plan for today ]
3
4. • Efficiencies of cloud computing
• Appropriate applications for migration
• Low hanging fruit & long term strategies
• Key AWS services
• Reducing your spend
4
14. Complex technology stack – development = 46
servers
All configuration and deployment manual
56 days and 6 teams to build a new environment
Impact
Slow project start up
Only run one major project at a time
Lack of innovation
14
15. • Developers can run up or tear down
environments
• Ability to stand up 8 distinct environments
quickly
• Time to set up environment reduced from 56
days to 6 hours
15
16. • Efficiencies of cloud computing
• Appropriate applications for migration
• Low hanging fruit & long term strategies
• Key AWS services
• Reducing your spend
16
17. Apps for Migration
• Intranet Applications with few internal
dependencies
• Stateless & Horizontally scalable
• Development and Test
• Continuous Integration
• Web Front Ends
17
18. Easy Apps
• Web and application hosting
• Collaborative tools
• Online marketing campaigns and data analysis
• Already virtualised systems
18
19. Attributes of Easy Apps
• Few dependencies
• Packaged independent software
• Developers as users
• Benefits from reusability
• Not currently highly available
19
20. • Efficiencies of cloud computing
• Appropriate applications for migration
• Low hanging fruit & long term strategies
• Key AWS services
• Reducing your spend
20
21. Cloud Adoption Scenarios
• Lift and Shift
• Greenfield or Skunk Works Projects
• Data Centre Extension
• Bursting into the Cloud
• Pure Development and Test
• 12 – 24 Month Long Term Adoption Plan
21
22. Low Hanging Fruit
• Decide a Virtual Private Cloud strategy if at all
• Empower Development and Test
• Employ Load Testing Tools
• Offload Content Delivery
• Utilise Backup with S3
• Consider Disaster Recovery Scenarios
22
23. • Efficiencies of cloud computing
• Appropriate applications for migration
• Low hanging fruit & long term strategies
• Key AWS services
• Reducing your spend
23
24. I Want All this “Goodness” of the Cloud
But there are challenges…
• My applications/tools • I want all of my
need fixed IP addresses. corporate traffic secure
• I need network control and encrypted.
to create extended • I don’t want my traffic to
defence-in-depth. even transit the
• I want the option of Internet.
having my own • I want to use my
dedicated servers. existing AD/LDAP
• I want to “burst out” to Service
the Public Cloud – but • I want to use my in-
not be “public” myself. house monitoring system
24
25. Virtual Private Cloud (VPC)
• Provision a private, isolated • static IP addresses
section of the AWS Cloud
• creation of subnets, ACLs
• Define a virtual network & route tables
topology that closely
resembles a traditional • configuration of route
network tables and network
gateways
• Complete control:
• Access public endpoints
• selection of your own IP using Internet Gateway
address range and NAT
26. Scenarios for Using VPC
• VPC with Public Subnet Only
• VPC with Public & Private Subnets
• VPC with Public, Private & Hardware VPN
Access
• VPC with Private Subnet only & Hardware VPN
Access
27. Rich Capabilities in VPC
• Elastic Load • And many others, with
Balancer, AutoScaling, Cl more to come…
oudWatch, Alarms
• “Blackbox” services with
• Relational Database public endpoints
Service (MySQL reachable via Internet
engine, for now) gateway (or VPN via your
• Elastic MapReduce
own network)
• CloudFormation
28. VM Import / Export
• VMware ESX VMDK
* Currently for Windows Only
Import
• VMware ESX VMDK • VMware ESX OVA
images
• Microsoft Hyper-V
• Citrix Xen VHD VHD
images
• Citrix Xen VHD file
• Microsoft Hyper-V formats
VHD images
Export
28
29. 15 Daily Newspapers
50 Web Sites
62 MM unique users per month
Over 1 Billion page views per
month
30. NY Times EC2 Expansion (April 2011)
Amazon EC2
Courtesy NY Times
31. NY Times EC2 Expansion (April 2011)
Amazon EC2
Courtesy NY Times
32. • Efficiencies of cloud computing
• Appropriate applications for migration
• Low hanging fruit & long term strategies
• Key AWS services
• Reducing your spend
32
34. Auto scaling : Types of Scaling
• Scaling by Schedule 31 days into the
• Use Scheduled Actions in
future, for each of your
auto scaling groups. This
Auto Scaling Service gives you the ability to
• Date scale up to four times a
day for a month.
• Time
• Scaling by Policy
• Min and Max of Auto
• Scaling up Policy -
Scaling Group Size
Double the group size
• You can create up to 125
• Scaling down Policy -
actions, scheduled up to
Decrement by 1
35. m2.xlarge running Linux in US-East Region
over 3 Year period
Reserved Instances
Utilization Sweet Spot Feature Savings over On-Demand
<10% On-Demand No Upfront Commitment
10% - 40% Light Utilization RI Ideal for Disaster Recovery Up to 56% (3-Year)
40% - 75% Medium Utilization RI Standard Reserved Capacity Up to 66% (3-Year)
>75% Heavy Utilization RI Lowest Total Cost Up to 71% (3-Year)
Ideal for Baseline Servers
36. Spot Instances
Use Case Types of Applications
Batch Processing Generic background processing (scale out computing)
Hadoop Hadoop/MapReduce processing type jobs (e.g. Search,
Big Data, etc.)
Scientific Computing Scientific trials/simulations/analysis in chemistry, physics,
and biology
Video and Image Transform videos into specific formats
Processing/Rendering
Testing Provide testing of software, web sites, etc
Web/Data Crawling Analyzing data and processing it
Financial Hedgefund analytics, energy trading, etc
HPC Utilize HPC servers to do embarrassingly parallel jobs
Cheap Compute Backend servers for Facebook games
37. Managed Services
• Simple Email Services • S3 Directly
instead of a dedicated
email server
• Simple Workflow
Service to manage
• Simple Queuing complex business
Service instead of logic
EC2 instances
• Database Services –
• CloudFront to offload RDS & DynamoDB
content
37
39. Next Steps
• Run Trusted Advisor
• Talk to your Account Manager
• Learn about our AWS Partners
• Access our Solution Architects
39
40. amazon
web services
http://aws.amazon.com
Joe Ziegler, Technical Evangelist
zieglerj@amazon.com
40
Notas del editor
DIFFERENT WAYS PROVISIONING HAS HAPPENEDMANUAL - LOTS OF HUMAN DECISIONSSCRIPTED - PIECEMEAL, NOT SHAREDPROGRAMMATIC - S/W ENG DISCIPLINE: VERSION CONTROL, TESTED---Because environments and services have always needed to be provisioned, historically there have been a number of ways this has happened. At the most basic level, there is manual provisioning which is still using computers but also involves a large amount of human decision making and input, even if there are written instructions to follow.In all but the most basic of environments, some form of scripting is applied to remove some of the human error risk from the deployment process. Typically, these scripts will be patched together using a variety of languages and approaches and often kept safe and sound by the person who wrote them.Full infrastructure-as-code programmatic provisioning takes the discipline agile engineers apply to their source code and transfers that to the code used to specify infrastructure. The languages used for this coding are generally customised specifically for infrastructure. The scripts built with these languages are maintained in version control and many of them can be the subject of automated testing, just like application code.And as you move further and further along this path of maturity, the speed of your provisioning increases, likewise the repeatability and the reliability of the same process also increases.