Mediafed and Amazon Web Services

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

    2 Favorites & 1 Group

    Mediafed and Amazon Web Services - Presentation Transcript

    1. Amazon AWS & Mediafed Alan Williamson Director, MediaFed ltd Co-Founder, aw2.0 ltd the cloud experts
    2. MediaFed Ltd
      • RSS Experts
      • Monetize feeds
      • Track feeds
      • Value Added feeds
      • Feed Compliance
      • Focused on Premium publishers
    3. MediaFed’s work flow MediaFed Publishers MediaFed Services Millions of RSS Clients
    4. Traditional Setup
      • Fixed number of ‘real’ strokeable servers
      • Professionally managed servers
      • Costing £xxx’s per month just for one server
    5. Then things got interesting Started to grow FAST! http://www.flickr.com/photos/lunadirimmel /
    6. Where did MediaFed need to scale?
      • Front end Web Servers
        • Servicing the requests for feeds, article views, and click thru’s
      • RSS Ad Servers
        • Processing the ad insertion’s and click-thru’s
      • Feed Crawlers
        • Retrieving the feed content, cleaning and conversion
      • Database
        • Storage of feed data, and statistical analysis, running to TB’s of data
      • The current hosting company was asked for a quote
      • It came as quite a shock to us
      http://www.flickr.com/photos/alemdag/2779065156/
      • We needed servers FAST
      • Time Quoted 10 working days!
      • Need a modern approach
      http://www.flickr.com/photos/democzar/1729712347/
    7. http://www.flickr.com/photos/nanimo/ THE BIG FLUFFY CLOUD
    8. Which Cloud Provider …
      • … had experience with a number of cloud providers
      • … each one with their strengths and weaknesses
      • … different price/performance points
      • But …
    9. It’s “Hug Amazon” day! http://www.flickr.com/photos/devcentre/74685966/
    10. Amazon’s EC2 HOT features
      • Instance start up parameter passing
      • Instance snap shot
      • VERY FAST instance startup
      • Large ‘ free ’ disk space with each instance
      http://www.flickr.com/photos/qmnonic/554905977/
    11. Some EC2 problems …
      • No VLAN support
      • No ability to turn off public IP address
      • No reverse DNS
      http://www.flickr.com/photos/kimberlyfaye/2570018805/
    12. .. and instances do go down! But “ssssh” you didn’t hear it from me! http://www.flickr.com/photos/59953599@N00/2852302091/
    13. Our Amazon Family Usage
      • Amazon EC2 usage
        • Runs the main infrastructure; the bread’n’butter
      • SimpleDB
        • Used for something quite special
      • S3
        • Long term storage of log files and DB snapshots
    14. Usage of EC2 Instances
      • The majority of all our services are Java based
        • High performance custom built code; no J2EE!
      • Load balancing provided by nginx
      • Database provided by MySQL 5
    15. Provisioning of instances
      • Manage our deployment as a single ‘stack’
        • /opt/mediafed/
      • All applications, scripts, binaries in there
      • Require no external, pre-installed software
      • Complete stack is held within SVN
        • First thing that happens when an instance boots up is to update itself with the latest from SVN
    16. Keep it Simple
      • No multiple instances to worry about
      • Any instance can do any job in the system we require
      • Horrendously transportable!
      • Instances are ready to work as soon as they are powered up
      http://www.flickr.com/photos/sylvar/31436961/
    17. Our goals …
      • Over reaching goal was to make it an SSH free zone
      • Misbehaving instances would simply be shut off and a new one powered up
      • We viewed the “instance” as a component that could be used; not as a server that it really was
    18. Starting up …
      • From the time we issue the command to start up to it actually doing REAL work
        • Usually 3 to 4 minutes!!!!
      http://www.flickr.com/photos/diamondjoe/1871077148/
    19. EC2 #1 Killer Feature
      • Parameter passing into EC2 instances
      • We pass in a configuration string on startup that specifies what it will do:
        • ec2-xxxx -d “TYPE=WEB,ROLE=RSSPOOL3”
      • Instance runs a ‘boot script’ that then runs up the necessary service we require
    20. But others services in the system need to know about the new instances ????? http://www.flickr.com/photos/yourdon/2770955000/
    21. SimpleDB!
      • We use SimpleDB as a sophisticated internal ‘DNS’ or service directory
      • When a service is started, it registers its role with SimpleDB including all IP, Port and other information
      • Other services keep an eye on changes in this configuration and automatically update their own configuration files accordingly
    22. Amazon SimpleDB as DNS
      • Allow us to add in new web servers into the farm for load balancing without doing a thing except start it up
      • Add in additional MySQL slaves/masters without touching anything
      • And of course, we can remove and shutdown an instance as easily
      • Big advantage, we can use the same SimpleDB technique for other cloud providers too!
    23. Amazon is cheap!
      • Doubling up instances for redundancy is very cheap to do
      • Mediafed is running an on-demand system for a fraction of the cost it would have cost to run a traditional server room
      • Turn off servers at low points in the week, no cost, no hassle!
    24. No more hardware hassles!
      • The previous hosting company for Mediafed DID NOT recover from a hard disk failure
      • Fortunately Mediafed had a back up
      http://www.flickr.com/photos/library_mistress/540375093/
    25. Some cloud advice … http://www.flickr.com/photos/digitalsextant/34811579
    26. Not a cloud in sight ! Forget the marketing hype - Cloud Providers do go down http://www.flickr.com/photos/montanaraven/
    27. … and no two providers are the same NO CLOUD STANDARD http://www.flickr.com/photos/heather-dietz/227295326/
    28. So can you move the whole house? http://www.flickr.com/photos/seanlloyd/24764719/
    29. Don’t buy into the hype
      • All the usual ‘out sourcing’ rules apply
        • Always look at the worse case scenario
        • Plan for the worse case scenario
        • Assume the worse case scenario will happen
        • Practice the worse case scenario
    30. Remember … you can’t just nip down and reboot the server http://www.flickr.com/photos/johnniewalker/
    31. But take a moment and …
      • Think of your servers as single use devices instead of the typical “LAMP”
      • Managing up to 10 servers via SSH isn’t a problem
        • is doing the same for 10, 20, 50+ servers really practical?
      • Hold off on that purchase order to Dell and talk to your software guys to see if you can re-jig current things to work within the ‘cloud platform’, or Linux-OnDemand
    32. www.aw20.co.uk [email_address] UK +44 1556 568 103 / US +1 650 331 9758 the cloud experts – putting it to work

    + tracylaxdaltracylaxdal, 2 years ago

    custom

    2425 views, 2 favs, 5 embeds more stats

    Alan Williamson, Co-Founder of Mediafed presents at more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 2425
      • 2418 on SlideShare
      • 7 from embeds
    • Comments 0
    • Favorites 2
    • Downloads 96
    Most viewed embeds
    • 3 views on http://www.visualcv.com
    • 1 views on http://127.0.0.1:51235
    • 1 views on http://b09-ingelesa.blogspot.com
    • 1 views on http://www.cemrun.com
    • 1 views on http://staging.visualcv.com

    more

    All embeds
    • 3 views on http://www.visualcv.com
    • 1 views on http://127.0.0.1:51235
    • 1 views on http://b09-ingelesa.blogspot.com
    • 1 views on http://www.cemrun.com
    • 1 views on http://staging.visualcv.com

    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

    Groups / Events