perl in the cloud › kunden › ncm › presentations › perl_in_the_clou… · perl in the cloud...
Post on 05-Jul-2020
2 Views
Preview:
TRANSCRIPT
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
info@ncm.at I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Perl in the Cloud
Denis.Banovic@ncm.at@bano99
YAPC, KIEV, 13. August 2013
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
info@ncm.at I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Perl in the Cloud
•Definition and how it works
•Motivation
•Live Demo
•Questions
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
info@ncm.at I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Work @ NCM.AT
• 35 employees in Salzburg
• Full service in-house: Conception, development, design, content, online
marketing
• Continuous training of employees at conferences and workshops e.g
OSCON / YAPC / GPW
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
info@ncm.at I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Cloud ?
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
info@ncm.at I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Cloud Computing
IaaS, PaaS, SaaS ?
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
info@ncm.at I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Perl in the Cloud
• PSGI Framework
– Mojolicius
– Catalyst
– Dancer
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
info@ncm.at I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Perl in the PaaS Cloud
• Perl PaaS Provider
– DotCloud
– Stackato
– Heroku
– OpenShift
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
info@ncm.at I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Perl PaaS status
Ready for production?
– DotCloud
– Stackato / CloudFoundry
– Heroku
– OpenShift
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
info@ncm.at I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
info@ncm.at I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Running OpenShift
• Desktop (MicroCloud)
– VMware Player
– Virtualbox
• Datacenter ( Private / Public Cloud )
– Amazon, RedHat ( Hosting in EU )
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
info@ncm.at I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Managing OpenShift
• rhc command line tool
• Webinterface
• ssh access
• IDE integration in Eclipse
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
info@ncm.at I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Deploy your app
Dev PC OpenShift gear
Local Git Remote Git Server
1. Git clone
2. Development
3. Git commit & git add
4. Git push
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
info@ncm.at I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Git commands
Dev PC OpenShift gear
Local RepositoryRemote Repository
2. Development
4. Git push
1. git clone <your git url>
3. git add .4. git commit –m “Added feature x”
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
info@ncm.at I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Why Cloud Apps?
• Availability
• Scales horizontally by default
• Less ops more dev
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
info@ncm.at I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Cloud Apps
• Think fault tolerant
• Think stateless
• Think services not servers
• Config in %ENV
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
info@ncm.at I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Demo bei RedHat
• Live Demo
– Dancer
• Client => git
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
info@ncm.at I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Demo bei RedHat
3 gears for free on http://openshift.com
Go out and test it!
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
info@ncm.at I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Thank you!
Jobs@ncm.at@bano99
top related