Introduction to Amazon Web Services (EC2)

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Introduction to Amazon Web Services (EC2) - Presentation Transcript

    1. Introduction to Amazon Web Services EC2 In Particular Nathan Powell, Consultant Tangeis, LLC http://tangeis.com (but we are changing our name soon)
    2. What are AWS?
      • Various web application components
        • Simple DB
        • S3
        • Simple Queue Service
        • EC2
        • All accessible via APIs
    3. Explain EC2.
      • EC2 is the Elastic Compute Cloud
        • It is physical hardware
        • Pwnd and operated by Amazon
        • Virtual servers
        • Self aware API
        • Grow and Shrink
    4. Uh huh, how's that work?
      • Xen Images/AMI's
        • Disk images of functional servers
        • Create your own, or customize public images
        • Save off/Upload image (to S3)
        • Spin up/down instances to handle needs
    5. Interesting. What are some uses?
      • Spin up a large number of instances churn a ton of data spin back down
        • No need to build/buy
        • No need to wait
      • Create self scaling web apps
        • Few applications are always busy
        • Cost prohibitive to be prepared for anything
      • Testing
        • R&D is now much much cheaper
    6. Ok, cool...tell me more
      • Root access to all instances
      • Multiple Locations
        • Reduce Geo-Failover costs
        • Content Delivery Network
      • Web service interface to firewall in the cloud
      • Eliminates Wasted Resources
    7. Drawbacks?
      • Instance storage not persistent
        • That is changing very soon
        • In beta now
      • Dynamic IP
        • This just ended
        • Now the IP is associated with account, not instance
        • Can programatically map IP to any instance
          • Good use for LB/VRRP? [citation needed]
    8. Anything else?
      • It's important to note that it introduces changes in how we build and deploy and think about applications and infrustructure.
    9. AWS goes together
      • S3 (Simple Storage Service)
      • Simple DB
      • SQS (Simple Queue Service)
      • Dev Pay
      • Mechanical Turk
    10. There is no free lunch
      • $0.10 - Small Instance (Default)
        • 1.7 GB of memory, 1 virtual core, 160 GB of instance storage, 32-bit platform
      • $0.40 - Large Instance
        • 7.5 GB of memory, 2 virtual cores, 850 GB of instance storage, 64-bit platform
      • $0.80 - Extra Large Instance
        • 15 GB of memory, 4 virtual cores, 1690 GB of instance storage, 64-bit platform
    11. And there's more!
      • $0.100 per GB - all data transfer in
      • $0.170 per GB - first 10 TB / month data transfer out
      • $0.130 per GB - next 40 TB / month data transfer out
      • $0.110 per GB - next 100 TB / month data transfer out
      • $0.100 per GB - data transfer out / month over 150 TB
    12. Ok, this is starting to suck, show us something...anything?!?
      • Psst, stop showing slides and move over to the demo side...that is where this stuff really starts to rock. (Make sure you take this out before the presentation and put a picture of a pony here a really pretty one...maybe on a beach or something. Ooo! I know show some girls, these nerds have probably never seen girls close up, they will really really like that!)
    13. In the terminal > java -version (should be 1.5 or Java 5) > Sign up for a AWS Account > Set up tools > Download the zip file of Java tools, and put them somwhere > export JAVA_HOME=/usr/lib/jvm/java-6-sun/jre/ > export EC2_HOME=/path/to/tools > export PATH=$PATH:$EC2_HOME/bin > export EC2_PRIVATE_KEY=~/.ec2/pk-OBxxxxxxPMAMK4RLMELxxxx2QI4L5WY.pem > export EC2_CERT=~/.ec2/cert-OB4CAAKxxxxMK4RxxxxxxxIZ2QI4L5WY.pem > Use tools/service > ec2-describe-images -o self -o amazon > ec2-add-keypair cplug > ec2-run-instances ami-f51aff9c -k cplug > ec2-describe-instances i-e9bb7480 > ssh -i id_dsa-cplug root@ec2-67-202-45-174.compute-1.amazonaws.com > ec2-terminate-instances i-e9bb7480
    14. Linky Loos
      • http://aws.amazon.com - Main Page
      • http://aws.amazon.com/ec2 - EC2
      • http://aws.amazon.com/s3 - S3
      • http://aws.typepad.com/aws/ - AWS Blog
      • http://en.wikipedia.org/wiki/Xen - Xen
      • http://www.virtualization.info/ - General Virtualization Blog

    + johnxjohnx, 2 years ago

    custom

    1734 views, 1 favs, 1 embeds more stats

    CPLUG, May 13, 2008

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1734
      • 1712 on SlideShare
      • 22 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 0
    Most viewed embeds
    • 22 views on http://cplug.net

    more

    All embeds
    • 22 views on http://cplug.net

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories