Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Chugalug AWS Presentation

Chugalug AWS Presentation

Check out the original recorded presentation here: http://www.ustream.tv/recorded/18582557

Jonathan Wallace

November 18, 2011

More Decks by Jonathan Wallace

Other Decks in Technology


  1. Get to know me! • software developer (C, Ruby, Rails,

    etc) • http://highgroove.com • [email protected] • @jonathanwallace • http://blog.jonathanrwallace.com Friday, November 18, 11 background, schooling, etc
  2. OVER view • AWS • EC2 • S3 • EBS

    • Getting set up with the command line tools Friday, November 18, 11 way back a long long time ago launched in 2006 with SQS
  3. • EC2, Route 53 (scalable DNS), VPC (virtual private cloud),

    CloudFront, • SimpleDB, RDS (relational database service), FPS (flexible payment systems), S3, • EBS, FWS (Fulfillment Web Service), SQS, SNS, SES • and more!!!!! (see http://aws.amazon.com/ AWS Services Friday, November 18, 11 way back a long long time ago launched in 2006 with SQS
  4. • “...web service providing resizeable computing capacity.” • You can

    add resources (CPUs) as you need them. EC2 Friday, November 18, 11 new renting economy, zip car, living social, Steve Case, America Online
  5. Pricing Tiers • $0.02/hr (micro) up to $2.97/hr (Cluster Compute

    Eight Extra Large) • Some focused on memory, some on CPU Friday, November 18, 11 windows is 25% to 33% more expensive reserved instances (pay it up front for discounted hourly rate)
  6. Small Instance Example (Reserved vs. On Demand) • $490.30 =

    $262.80 (up front) + 227.50 (full time run for the year) • $744.60 Friday, November 18, 11 it pays to know what you want. So, what are you paying for? You're paying for a power and access to shared hardware running in a virtual machine. Amazon calls this an 'instance.'
  7. Instance Pricing • On Demand • Reserve • Spot Friday,

    November 18, 11 spot (based on supply and demand)
  8. What is an “instance?” Friday, November 18, 11 Anyone built

    or builds there own desktop machines? What are your steps? ask for software installation steps. 1st thing? what next?
  9. AMI? • A template for a running computer • What

    should be on it? Software? Data? A kitchen sink? Friday, November 18, 11 Imagine if you could record the state of your machine at that moment in time. Now, imagine if you needed to set up a new machine in the exact same manner. That's what an AMI is. Its a template of the OS and software at a given time that can be used to start a new running instance. Remember, you're only charged while the instance is running. Make an image. Use it when you need it. There're good opinions on how configured your desktop should be. Should it have your mail client configured? Should it have all your photos and precious documents? From an enterprise stand point, should the image be setup with the application software set to a specific version? This is a good question that we'll revisit a little later in the talk.
  10. Regions and Zones Friday, November 18, 11 Amazon has different

    regions, us-east-1, us-west 1 and different availability zones within those regions. Regions are for close to your customer. Zones are independent of one another.
  11. S3 • Simple Storage Service • HTTP, SOAP and REST

    interfaces • Many ftp clients have support Friday, November 18, 11
  12. S3 • You store objects which consist of data and

    metadata. • Metadata concerns access permissions, file type, etc. • Data is the actual file. Friday, November 18, 11
  13. EBS Volumes • Attach to any running instances • Create

    snapshots on the fly • Replicated within the availability zone Friday, November 18, 11 snapshot problems, only attached to one instance
  14. Prereqs • ensure java is set up on your machine

    • ssh client • setting up credentials Friday, November 18, 11
  15. And a little something for your .bash_profile • # ec2

    • source ~/.ec2_rc Friday, November 18, 11