php cloud deployment toolkits

52
Cloud Deployment Toolkits Mitch Pirtle International PHP Conference, Berlin 2014

Upload: mitch-pirtle

Post on 01-Nov-2014

961 views

Category:

Technology


0 download

DESCRIPTION

This is my deck from International PHP in Berlin, 2014. This was just the deck, you cannot see all the demos that I ran while I was talking, no video (sorry). NOTE: This is not nearly as technical as I like my talks, and all the console stuff was obviously not in the deck. This talk ended up targeting folks who had no cloud deployment experience, and needed a much higher-level overview than the title would suggest. For the really heavy, in-depth technical stuff I'm going to be starting a webcast, after my return home. Taking requests over twitter, here and facebook. If you want me to cover something in depth let me know! http://twitter.com/mitchitized http://about.me/mitchitized

TRANSCRIPT

Page 1: PHP Cloud Deployment Toolkits

Cloud Deployment ToolkitsMitch PirtleInternational PHP Conference, Berlin 2014

Page 2: PHP Cloud Deployment Toolkits

–Some Poor Sucker, circa 2000-2010

“I’m off to the cloud.”

Page 3: PHP Cloud Deployment Toolkits

What this talk is about

Cloud deployment scenarios

Overview of tools available

52 slides, 45 minutes

Sorry, no time for many demos!

Page 4: PHP Cloud Deployment Toolkits
Page 5: PHP Cloud Deployment Toolkits

What about you?

I’m here to learn about specific tools

I’d like to actually see this whole cloud thing

Free coffee!

Page 6: PHP Cloud Deployment Toolkits

Did you miss these talks?

“From SQL to NoSQL” by Derick Rethans

“Build Smart. Scalable Infrastructure with AWS and Puppet” by Ben Waine

Page 7: PHP Cloud Deployment Toolkits

In the beginning…

Page 8: PHP Cloud Deployment Toolkits

Life in the datacenter

Safe job

Everything takes forever

All is done by hand

Pretty drafty, but ok

Page 9: PHP Cloud Deployment Toolkits

Then the web happened.

Page 10: PHP Cloud Deployment Toolkits
Page 11: PHP Cloud Deployment Toolkits

Web-sized problems

Where did all these people come from?

Why is everyone using a different device?

Nobody has any patience!

IE7? OMGWTFROFLBBQ!!1!

Page 12: PHP Cloud Deployment Toolkits

Web-sized consequencesNo longer “one app, one machine”

Relational databases primary source of pain

Architecture needs scalable design

…which increases complexity

…which adds to deployment requirements

…and your budget, well that was the mushroom cloud

Page 13: PHP Cloud Deployment Toolkits

Speaking of deployment…

Not enough time to cover composer, phing, and all the other awesome deployment tools available

But there’s enough time to complain about how manual it STILL IS to set all this up

Page 14: PHP Cloud Deployment Toolkits

And not all is bad news

Hello, AngularJS!

Suddenly PHP is no longer used for formatting markup, serving javascript and a bunch of non-PHP stuff (hint hint Wordpress, Drupal and Joomla!)

PHP developers are freed to build simple, smart, fast RESTful backend services

Page 15: PHP Cloud Deployment Toolkits

Cloud approaches

Self-hosted machines and appliances

Virtualized machines and appliances

Virtualized services

Page 16: PHP Cloud Deployment Toolkits

Do It Yourself.

Page 17: PHP Cloud Deployment Toolkits

Text

Metal As A Service (MAAS)http://maas.ubuntu.com

Page 18: PHP Cloud Deployment Toolkits

Do It Somewhere Else.

Page 19: PHP Cloud Deployment Toolkits

Text

Amazon Web Serviceshttp://aws.amazon.com

AdBlock+ FTW!

Page 20: PHP Cloud Deployment Toolkits

Text

Digital Oceanhttps://www.digitalocean.com

Page 21: PHP Cloud Deployment Toolkits

This is still complicated. Is there an easier way to do this?

Page 22: PHP Cloud Deployment Toolkits

Text

Ubuntu Jujuhttps://juju.ubuntu.com

Page 23: PHP Cloud Deployment Toolkits

Text

OpenShifthttps://www.openshift.com

Page 24: PHP Cloud Deployment Toolkits

Text

PHP Cloudhttp://www.phpcloud.com

Page 25: PHP Cloud Deployment Toolkits

Text

Jelastichttp://jelastic.com

Page 26: PHP Cloud Deployment Toolkits

Let Someone Else Do It.

Page 27: PHP Cloud Deployment Toolkits

Text

dotCloudhttps://www.dotcloud.com

Page 28: PHP Cloud Deployment Toolkits

Text

PagodaBoxhttps://pagodabox.com

Page 29: PHP Cloud Deployment Toolkits

Text

MongoHQhttp://www.mongohq.com

Page 30: PHP Cloud Deployment Toolkits

Text

MongoLabhttps://mongolab.com/welcome/

Page 31: PHP Cloud Deployment Toolkits

Hang on, how do we deploy?

Page 32: PHP Cloud Deployment Toolkits

First, there’s dependency management.

Page 33: PHP Cloud Deployment Toolkits

Text

Composerhttps://getcomposer.org

Page 34: PHP Cloud Deployment Toolkits

How about build tools?

Page 35: PHP Cloud Deployment Toolkits

Text

Phinghttp://www.phing.info

Page 36: PHP Cloud Deployment Toolkits

Text

Phing, Composer and namespaced Task classeshttp://blog.riff.org/2014_02_15_tip_of_the_day_phing_composer_and_namespaced_task_classes

Page 37: PHP Cloud Deployment Toolkits

Text

Grunthttp://gruntjs.com

Page 38: PHP Cloud Deployment Toolkits

Text

Using Grunt for PHPhttps://chrsm.org/post/using-grunt-for-php/

Page 39: PHP Cloud Deployment Toolkits

What about the front end?

Page 40: PHP Cloud Deployment Toolkits

Text

Bowerhttp://bower.io

Page 41: PHP Cloud Deployment Toolkits

Text

Bower in PHPhttps://github.com/Bee-Lab/bowerphp

Page 42: PHP Cloud Deployment Toolkits

Text

Yeomanhttp://yeoman.io

Page 43: PHP Cloud Deployment Toolkits

Text

Yeoman Generator for PHPhttps://github.com/Bradleycorn/generator-php

Page 44: PHP Cloud Deployment Toolkits

Continuous Integration?

Page 45: PHP Cloud Deployment Toolkits

Text

Travishttps://travis-ci.org/

Page 46: PHP Cloud Deployment Toolkits

Text

Travis and PHP Projectshttp://docs.travis-ci.com/user/languages/php/

Page 47: PHP Cloud Deployment Toolkits

Text

Jenkinshttp://jenkins-ci.org

Page 48: PHP Cloud Deployment Toolkits

Text

Jenkins for PHP Projectshttp://jenkins-php.org

Page 49: PHP Cloud Deployment Toolkits

So Where Are We In 2014?

Page 50: PHP Cloud Deployment Toolkits

Text

Current State of PHP Cloudhttp://blog.fortrabbit.com/cloudscapes-revisited-php-cloud-overview/

Page 51: PHP Cloud Deployment Toolkits

Q & A

Page 52: PHP Cloud Deployment Toolkits

Thanks!

AboutMe

@mitchitized - Twitter

spacemonkey - GitHub

LinkedIn - I’M AVAILABLE!