Andrew Taylor
Senior European Live
Services Specialist for Sage
UK
Utterly Forked - Contract
Infrastructure / Architecture...
AWS - IaaS
CloudFormation
EC2 with IAM Roles
Amazon Linux / CLI tools / CloudInit
S3 / SQS / SNS
CloudFormation
Repeatable and Predictable
Amazon handles dependency ordering
JSON
Write templates, create stacks
EC2
Resizable compute capacity designed for
developers
Full access. Build what you need / Own what you
build
EC2 compute u...
Amazon Linux
Supported and maintained by AWS
Lightweight and designed for EC2
Twice yearly releases - continual package up...
Unified CLI Tools
Unified interface to all* AWS products
Autocomplete and built-in help
Installed by default to Amazon Lin...
cfn-init
< Salt/Ansible/Puppet/Chef
> Custom bash scripts
Installed by default on Amazon Linux AMI
Bootstrap through UserD...
cfn-init…
packages - Yum
sources - S3 or GitHub
users & groups
files - Create a file
commands - Do a thing
services - sysv...
IAM
Identity and Access management
User / Groups / Roles
Fine-grained permission model
Supports SSO / Federated logins via...
SQS / SNS / S3
Simple Queue Service
Not FIFO / 256KB / DLQ
Simple Notification Service
Mobile push / SMS / Email / HTTP / ...
“the hello world of infrastructure”
_____________________
< COWSAY as a SERVICE >
---------------------
 ^__^
 (oo)_______
(__) )/
||----w |
|| ||
The challenge
A scalable, fault tolerant worker tier that gets
messages from SQS and processes the output to
S3
Built thro...
CloudFormation - Elements
An optional list of template parameters (input
values supplied at stack creation time)
An option...
AWS Resources
An SQS queue to pull from
An autoscaling group of EC2 worker nodes
CloudInit config to configure the node
An...
Questions?
Upcoming SlideShare
Loading in …5
×

AWS NE Meetup - Introduction to AWS IAAS

352 views

Published on

An overview presentation given to the AWSNE Meetup on 2014-07-03. Covers the basics of combining EC2, SQS, CloudFormation and IAM to make a reusable worker tier.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

AWS NE Meetup - Introduction to AWS IAAS

  1. 1. Andrew Taylor Senior European Live Services Specialist for Sage UK Utterly Forked - Contract Infrastructure / Architecture @ukandrewtaylor
  2. 2. AWS - IaaS CloudFormation EC2 with IAM Roles Amazon Linux / CLI tools / CloudInit S3 / SQS / SNS
  3. 3. CloudFormation Repeatable and Predictable Amazon handles dependency ordering JSON Write templates, create stacks
  4. 4. EC2 Resizable compute capacity designed for developers Full access. Build what you need / Own what you build EC2 compute unit - consistent measure of instance performance Choice of operating systems Tags
  5. 5. Amazon Linux Supported and maintained by AWS Lightweight and designed for EC2 Twice yearly releases - continual package updates Compatible with EPEL
  6. 6. Unified CLI Tools Unified interface to all* AWS products Autocomplete and built-in help Installed by default to Amazon Linux AMI JSON Supports EC2 IAM roles
  7. 7. cfn-init < Salt/Ansible/Puppet/Chef > Custom bash scripts Installed by default on Amazon Linux AMI Bootstrap through UserData command
  8. 8. cfn-init… packages - Yum sources - S3 or GitHub users & groups files - Create a file commands - Do a thing services - sysvinit control
  9. 9. IAM Identity and Access management User / Groups / Roles Fine-grained permission model Supports SSO / Federated logins via SAML
  10. 10. SQS / SNS / S3 Simple Queue Service Not FIFO / 256KB / DLQ Simple Notification Service Mobile push / SMS / Email / HTTP / SQS Simple Storage
  11. 11. “the hello world of infrastructure”
  12. 12. _____________________ < COWSAY as a SERVICE > --------------------- ^__^ (oo)_______ (__) )/ ||----w | || ||
  13. 13. The challenge A scalable, fault tolerant worker tier that gets messages from SQS and processes the output to S3 Built through code and configuration without manual intervention Easy to deploy and maintain
  14. 14. CloudFormation - Elements An optional list of template parameters (input values supplied at stack creation time) An optional list of output values (e.g. the complete URL to a web application) An optional list of data tables used to lookup static configuration values (e.g., AMI names) The list of AWS resources and their configuration values
  15. 15. AWS Resources An SQS queue to pull from An autoscaling group of EC2 worker nodes CloudInit config to configure the node An IAM role and instance profile for the node to assume An S3 bucket to store output A CloudWatch alarm to trigger scaling
  16. 16. Questions?

×