• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Beam PHP2012 Workshops: The Cloud
 

Beam PHP2012 Workshops: The Cloud

on

  • 381 views

Summary of principles and talks learnt from PHP London 2012. I have borrow ideas and materials from http://www.phpconference.co.uk/talk/develop-deploy-using-hybrid-cloud-strategies ...

Summary of principles and talks learnt from PHP London 2012. I have borrow ideas and materials from http://www.phpconference.co.uk/talk/develop-deploy-using-hybrid-cloud-strategies
I don't claim that this is all my own work, simply a summary presentation to the team at beam on what I learnt at the conference.

Statistics

Views

Total Views
381
Views on SlideShare
381
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

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

    Beam PHP2012 Workshops: The Cloud Beam PHP2012 Workshops: The Cloud Presentation Transcript

    • The Cloud An introduction, programming principles and what it means to beamTuesday, 20 March 12
    • Agenda • What is it • Types of services, and who provides them • The “hybrid cloud” • Beam (ideal) roadmap • Programming for the cloudTuesday, 20 March 12
    • What is it?Tuesday, 20 March 12
    • .... The InternetTuesday, 20 March 12
    • ...in context From the source of all Knowledge: http://en.wikipedia.org/wiki/Cloud_computing Cloud computing is the delivery of computing as a service rather than a product, whereby shared resources, software, and information are provided to computers and other devices as a utility (like the electricity grid) over a network (typically the Internet).[1] A model for consumption & delivery on the internet where flexibility is essential & can be guaranteed through abstractionTuesday, 20 March 12
    • Lots of Buzz Words • Fast (enough) • Infrastructure as a Service (IaaS) • Scalability • Platform as a Service (PaaS) • Always available • Software as a Service (SaaS) • As a service • StacksTuesday, 20 March 12
    • Lots of Buzz Words • We are looking at Infrastructure as a Service (IaaS) Storage, (Web/DB) Servers, Content Delivery, Caching • But we do use SaaS (harvest, etc.)Tuesday, 20 March 12
    • Providers • Amazon (self service IaaS) ✓ S3, EBS (storage), Cloudfront (CDN & Edge Caching), EC2 (Computing), Databases (RDBMS, NoSQL) • Azure (self service PaaS) ✓ Storage, CDN, SQL, Computing • Orchestra (PHP PaaS on top of AWS) ✓ Computing, Memcached, MySQL, CouchDB, MongoDB, etc. • Cloudflare (Protection SaaS) ✓ CDN, DDOS Security, Traffic Analysis • Rackspace ✓ Storage, CDN (via akamai), Computing • Many moreTuesday, 20 March 12
    • The Hybrid Cloud Pick the pieces of the puzzle yourself Mix traditional “self hosted” platform with cloud solutions Multiple ProvidersTuesday, 20 March 12
    • Quick Warning DO NOT AUTOSCALE (unless it’s on Roy’s credit card)Tuesday, 20 March 12
    • Beam Roadmap CDN for videos (Currently using cloudfront) Maybe look at akamai, limewire Offloading Using expensive BlueArc’s for all “static” files storage, cheaper cloud alternatives Put “Active” filestore in the cloud and take advantage of multiple geographical Anything else....! locations and speed Elastic Computing (transcoding, varnish caches)Tuesday, 20 March 12
    • Beam Roadmap But..... • We need to be careful about SLA’s, NDA’s • Need a reliable service • Need a secure service • There are providers that will help us with this • Not just cloud, hybrid is key (so we don’t pay for time we don’t use)Tuesday, 20 March 12
    • Programming for the cloud • Remove Single points of failure (good practice anyway) • Shared nothing (not mine, not yours, it’s ours) • Nothing is local • Be able to change and configure connections and locations easilyTuesday, 20 March 12
    • Give me some examples mysql_connect(‘localhost’) becomes mysql_connect(DB_SERVER_NAME) file_get_contents(‘/some/location/file’) becomes file_get_contents(SERVER_LOCATION . ‘/file’)Tuesday, 20 March 12
    • But they were bad examples Layers of abstraction Dependancy injection Modular DesignTuesday, 20 March 12
    • Better examples file_get_contents(‘/some/location/filename’) becomes $this->getComponent(‘fileGetter’)->getfile(‘filename’) mysql_connect(‘localhost’) becomes $this->getComponent(‘database’)->doSomethingTuesday, 20 March 12
    • Conclusion • To enable us to use Cloud, write software using already established best practices (dependancy, injection, etc.) • Cloud is scalable, can be fast and cost effective • Hybrid solution allows us to own our servers & services and keep costs down when demand is low, but scale up when needed • Don’t depend on any single itemTuesday, 20 March 12
    • QuestionsTuesday, 20 March 12