AWS User Group July 2014 - Getting Started with cloud computing and AWS
Getting Started with cloud computing and AWS
Slides for the following AWS User Group Talks:
"Public Cloud and AWS Overview" - Ryan Koop, Director of Products and Marketing at Cohesive @ryankoop
"Getting Started in AWS" - Jonny Sywulak, Continuous Delivery Engineer at Stelligent Systems LLC @jonathansywulak
July Sponsors:
Hosts: Cohesive
Beers and drinks: Cohesive
Pizza: el el see
Organizers: Cohesive
Interested in getting involved next time? Have an idea for a talk? email margaret.walkerATcohesive.net
#AWSChicago
11. copyright 2013
Public Cloud: the Zipcar of Computing
11
Cloud Computing and Zipcar are:
• On-demand
• Self-service
• Flexible & easy to use
• Shared resources
• Pay-as-you-go pricing
• Creating new ways to use and connect resources
SaaSSaaS
Images: Wikipedia
15. copyright 2013
Cloud Providers
15
AWS offers 5x the compute
capacity of next 14 cloud providers
in the Gartner Magic Quadrant,
combined.
!
Analysts estimate AWS’ sales
around $1.2 billion for Qi 2014, up
from $750 million in Q1 2013 2
1. Gartner -Toolkit: Comparison Matrix for Cloud Infrastructure as a Service Providers,
2013 https://www.gartner.com/doc/2575815
21. copyright 2013
Amazon Web Services Offerings (Console)
21
More information at aws.amazon.com/console
22. copyright 2013
AWS Regions & Availability Zones
22
Each region is a separate geographic area. Each region has multiple,
isolated locations known as Availability Zones. Choose specific regions to:
• Optimize latency
• Address regulatory requirements
• Create a point-of-presence (POP)
Internet Availability
Zone
Servers
Region: US East
Servers
Availability
Zone
Availability
Zone
Servers
Region: US West
Servers
Availability
Zone
24. copyright 2013
Image & Instance
24
Image - template to launch an Amazon EC2 instance with your software
!
Instance - the AWS name for a server / virtual machine
Image
Detailed information can be found at: http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/instance-types.html
Instance
25. copyright 2013
EBS-BackedInstance Store-Backed
Two Kinds of AMI Storage
• Boot in <5mins
• Limited to 10GB*
• Data on instance only
persists during the life of
the instance
• Instance attributes are fixed
for the life of the instance
• Cheaper only charged
runtime
• Boot in <1min
• Limited to 1TB
• Data persists after instance
termination
• Stop to change instance
settings
• Pay for runtime & storage
• All AWS Marketplace AMIs
are EBS-backed
25
26. copyright 2013
Using an Instance
26
• Launching an instance: creating a virtual machine with
the specifications you provide.
!
• Terminating = destroying it, forever.
!
• Stopping = pausing. No data is lost and while stopped
you aren’t being charged.
!
• Starting = un-pausing.Your data should still be there.
27. copyright 2013
Security Groups
27
Security Groups
• Acts as a firewall that controls the
traffic allowed into a group of
instances
!
• Add rules that govern inbound traffic;
can add or modify rules at any time
!
• Cannot map security groups across
regions
Rules
• Specify a certain protocol (TCP, UDP or ICMP)
• Specify destination port or ports (if the protocol isTCP or UDP)
• Specify source (IP address or addresses using CIDR notation*)
*combination of IP addresses represented by xxx.xxx.xxx.xxx/n where n is the number of 1 bits in the mask.
Example 192.168.12.0/23 represents address range 192.168.12.0- 192.168.13.255
28. copyright 2013
IP Addresses
28
Elastic IP Address (Static IP address):
• Associated with account, rather than a particular instance
• If your instance fails, can map its replacement to the same IP address
• Each account is limited to 5 elastic IP addresses
•You are charged $.01/hr when these IP addresses are not mapped to an instance
Amazon
Instance
Amazon
Instance
204.236.202.134 63.250.226.146
Amazon
Instance
Amazon
Instance
204.236.202.134 204.236.202.134
Amazon randomly assigns public IP addresses Assign instances with your Elastic IP Address
29. copyright 2013
VPC
29
Logically isolated section of the
AWS Cloud -VLANs
•Control ofVirtual Network
!
•More Layers of Security (SG and
Network ACLs)
!
•Public and/or Private Subnets