• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Chugalug
 

Chugalug

on

  • 180 views

Basic introduction to AWS EC2, EBS and S3

Basic introduction to AWS EC2, EBS and S3

Statistics

Views

Total Views
180
Views on SlideShare
180
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • adfas\n
  • background, schooling, etc\n
  • way back a long long time ago launched in 2006 with SQS\n
  • way back a long long time ago launched in 2006 with SQS\n
  • new renting economy, zip car, living social, Steve Case, America Online\n
  • You only pay while the servers are running.\n
  • windows is 25% to 33% more expensive\nreserved instances (pay it up front for discounted hourly rate)\n
  • it pays to know what you want. So, what are you paying for?\n\nYou're paying for a power and access to shared hardware running in a virtual\nmachine. Amazon calls this an 'instance.' \n
  • spot (based on supply and demand)\n
  • Anyone built or builds there own desktop machines? What are your steps?\n\nask for software installation steps. 1st thing? what next?\n
  • Imagine if you could record the state of your machine at that moment in time.\nNow, imagine if you needed to set up a new machine in the exact same manner.\nThat's what an AMI is. Its a template of the OS and software at a given time\nthat can be used to start a new running instance. Remember, you're only charged\nwhile the instance is running. Make an image. Use it when you need it.\n\nThere're good opinions on how configured your desktop should be. Should it have\nyour mail client configured? Should it have all your photos and precious\ndocuments?\n\nFrom an enterprise stand point, should the image be setup with the application\nsoftware set to a specific version? This is a good question that we'll revisit\na little later in the talk.\n
  • Amazon has different regions, us-east-1, us-west 1 and different availability\nzones within those regions.\n\nRegions are for close to your customer. Zones are independent of one another. \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • instance store to AMI\n
  • \n
  • snapshot problems,\nonly attached to one instance\n
  • \n
  • \n
  • i like to store them in a ~/.ec2 directory\n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Chugalug Chugalug Presentation Transcript

  • AWS andNephophobia*: never again! * fear of clouds
  • Get to know me!• software developer (C, Ruby, Rails, etc)• http://highgroove.com• jonathan.wallace@gmail.com• @jonathanwallace• http://blog.jonathanrwallace.com
  • OVER view• AWS• EC2• S3• EBS• Getting set up with the command line tools
  • AWS Services• 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/
  • EC2• “...web service providing resizeable computing capacity.”• You can add resources (CPUs) as you need them.
  • Pricing Tiers• $0.02/hr (micro) up to $2.97/hr (Cluster Compute Eight Extra Large)• Some focused on memory, some on CPU
  • Small Instance Example(Reserved vs. On Demand)• $490.30 = $262.80 (up • $744.60 front) + 227.50 (full time run for the year)
  • Instance Pricing• On Demand• Reserve• Spot
  • What is an “instance?”
  • AMI?• A template for a running computer• What should be on it? Software? Data? A kitchen sink?
  • Regions and Zones
  • Not always perfect
  • Where do those AMIs live?• First, let’s talk about...
  • S3• Simple Storage Service• HTTP, SOAP and REST interfaces• Many ftp clients have support
  • S3• You store objects which consist of data and metadata.• Metadata concerns access permissions, file type, etc.• Data is the actual file.
  • Data & Metadata
  • Buckets and Keys
  • A couple of more storage options• Ephemeral storage• EBS
  • EBS Volumes• Attach to any running instances• Create snapshots on the fly• Replicated within the availability zone
  • EC2 command line tools• Prerequisites• Setting up the tools
  • Prereqs• ensure java is set up on your machine• ssh client• setting up credentials
  • EC2 credentials
  • Environment variables
  • And a little somethingfor your .bash_profile• # ec2• source ~/.ec2_rc
  • Adventure time!
  • Setting up the tools• Download: http://aws.amazon.com/ developertools/351• Unzip ‘em!
  • Use the source http://docs.amazonwebservices.com/ AWSEC2/latest/UserGuide/ index.html?SettingUp_CommandLine.html
  • THANKS