![Page 1: Perl in the cloud › kunden › ncm › presentations › Perl_in_the_clou… · Perl in the Cloud Denis.Banovic@ncm.at @bano99 YAPC, KIEV, 13. August 2013. ncm.at – Net Communication](https://reader031.vdocuments.us/reader031/viewer/2022040617/5f2045b8e0db1422c7224653/html5/thumbnails/1.jpg)
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
[email protected] I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Perl in the Cloud
[email protected]@bano99
YAPC, KIEV, 13. August 2013
![Page 2: Perl in the cloud › kunden › ncm › presentations › Perl_in_the_clou… · Perl in the Cloud Denis.Banovic@ncm.at @bano99 YAPC, KIEV, 13. August 2013. ncm.at – Net Communication](https://reader031.vdocuments.us/reader031/viewer/2022040617/5f2045b8e0db1422c7224653/html5/thumbnails/2.jpg)
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
[email protected] 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
![Page 3: Perl in the cloud › kunden › ncm › presentations › Perl_in_the_clou… · Perl in the Cloud Denis.Banovic@ncm.at @bano99 YAPC, KIEV, 13. August 2013. ncm.at – Net Communication](https://reader031.vdocuments.us/reader031/viewer/2022040617/5f2045b8e0db1422c7224653/html5/thumbnails/3.jpg)
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
[email protected] 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
![Page 4: Perl in the cloud › kunden › ncm › presentations › Perl_in_the_clou… · Perl in the Cloud Denis.Banovic@ncm.at @bano99 YAPC, KIEV, 13. August 2013. ncm.at – Net Communication](https://reader031.vdocuments.us/reader031/viewer/2022040617/5f2045b8e0db1422c7224653/html5/thumbnails/4.jpg)
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
[email protected] I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Cloud ?
![Page 5: Perl in the cloud › kunden › ncm › presentations › Perl_in_the_clou… · Perl in the Cloud Denis.Banovic@ncm.at @bano99 YAPC, KIEV, 13. August 2013. ncm.at – Net Communication](https://reader031.vdocuments.us/reader031/viewer/2022040617/5f2045b8e0db1422c7224653/html5/thumbnails/5.jpg)
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
[email protected] I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Cloud Computing
IaaS, PaaS, SaaS ?
![Page 6: Perl in the cloud › kunden › ncm › presentations › Perl_in_the_clou… · Perl in the Cloud Denis.Banovic@ncm.at @bano99 YAPC, KIEV, 13. August 2013. ncm.at – Net Communication](https://reader031.vdocuments.us/reader031/viewer/2022040617/5f2045b8e0db1422c7224653/html5/thumbnails/6.jpg)
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
[email protected] I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Perl in the Cloud
• PSGI Framework
– Mojolicius
– Catalyst
– Dancer
![Page 7: Perl in the cloud › kunden › ncm › presentations › Perl_in_the_clou… · Perl in the Cloud Denis.Banovic@ncm.at @bano99 YAPC, KIEV, 13. August 2013. ncm.at – Net Communication](https://reader031.vdocuments.us/reader031/viewer/2022040617/5f2045b8e0db1422c7224653/html5/thumbnails/7.jpg)
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
[email protected] 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
![Page 8: Perl in the cloud › kunden › ncm › presentations › Perl_in_the_clou… · Perl in the Cloud Denis.Banovic@ncm.at @bano99 YAPC, KIEV, 13. August 2013. ncm.at – Net Communication](https://reader031.vdocuments.us/reader031/viewer/2022040617/5f2045b8e0db1422c7224653/html5/thumbnails/8.jpg)
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
[email protected] 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
![Page 9: Perl in the cloud › kunden › ncm › presentations › Perl_in_the_clou… · Perl in the Cloud Denis.Banovic@ncm.at @bano99 YAPC, KIEV, 13. August 2013. ncm.at – Net Communication](https://reader031.vdocuments.us/reader031/viewer/2022040617/5f2045b8e0db1422c7224653/html5/thumbnails/9.jpg)
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
[email protected] I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
![Page 10: Perl in the cloud › kunden › ncm › presentations › Perl_in_the_clou… · Perl in the Cloud Denis.Banovic@ncm.at @bano99 YAPC, KIEV, 13. August 2013. ncm.at – Net Communication](https://reader031.vdocuments.us/reader031/viewer/2022040617/5f2045b8e0db1422c7224653/html5/thumbnails/10.jpg)
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
[email protected] 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 )
![Page 11: Perl in the cloud › kunden › ncm › presentations › Perl_in_the_clou… · Perl in the Cloud Denis.Banovic@ncm.at @bano99 YAPC, KIEV, 13. August 2013. ncm.at – Net Communication](https://reader031.vdocuments.us/reader031/viewer/2022040617/5f2045b8e0db1422c7224653/html5/thumbnails/11.jpg)
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
[email protected] 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
![Page 12: Perl in the cloud › kunden › ncm › presentations › Perl_in_the_clou… · Perl in the Cloud Denis.Banovic@ncm.at @bano99 YAPC, KIEV, 13. August 2013. ncm.at – Net Communication](https://reader031.vdocuments.us/reader031/viewer/2022040617/5f2045b8e0db1422c7224653/html5/thumbnails/12.jpg)
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
[email protected] 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
![Page 13: Perl in the cloud › kunden › ncm › presentations › Perl_in_the_clou… · Perl in the Cloud Denis.Banovic@ncm.at @bano99 YAPC, KIEV, 13. August 2013. ncm.at – Net Communication](https://reader031.vdocuments.us/reader031/viewer/2022040617/5f2045b8e0db1422c7224653/html5/thumbnails/13.jpg)
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
[email protected] 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”
![Page 14: Perl in the cloud › kunden › ncm › presentations › Perl_in_the_clou… · Perl in the Cloud Denis.Banovic@ncm.at @bano99 YAPC, KIEV, 13. August 2013. ncm.at – Net Communication](https://reader031.vdocuments.us/reader031/viewer/2022040617/5f2045b8e0db1422c7224653/html5/thumbnails/14.jpg)
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
[email protected] 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
![Page 15: Perl in the cloud › kunden › ncm › presentations › Perl_in_the_clou… · Perl in the Cloud Denis.Banovic@ncm.at @bano99 YAPC, KIEV, 13. August 2013. ncm.at – Net Communication](https://reader031.vdocuments.us/reader031/viewer/2022040617/5f2045b8e0db1422c7224653/html5/thumbnails/15.jpg)
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
[email protected] 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
![Page 16: Perl in the cloud › kunden › ncm › presentations › Perl_in_the_clou… · Perl in the Cloud Denis.Banovic@ncm.at @bano99 YAPC, KIEV, 13. August 2013. ncm.at – Net Communication](https://reader031.vdocuments.us/reader031/viewer/2022040617/5f2045b8e0db1422c7224653/html5/thumbnails/16.jpg)
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
[email protected] I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Demo bei RedHat
• Live Demo
– Dancer
• Client => git
![Page 17: Perl in the cloud › kunden › ncm › presentations › Perl_in_the_clou… · Perl in the Cloud Denis.Banovic@ncm.at @bano99 YAPC, KIEV, 13. August 2013. ncm.at – Net Communication](https://reader031.vdocuments.us/reader031/viewer/2022040617/5f2045b8e0db1422c7224653/html5/thumbnails/17.jpg)
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
[email protected] 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!
![Page 18: Perl in the cloud › kunden › ncm › presentations › Perl_in_the_clou… · Perl in the Cloud Denis.Banovic@ncm.at @bano99 YAPC, KIEV, 13. August 2013. ncm.at – Net Communication](https://reader031.vdocuments.us/reader031/viewer/2022040617/5f2045b8e0db1422c7224653/html5/thumbnails/18.jpg)
ncm.at – Net Communication Management Gmbh Aigner Straße 55a I 5026 Salzburg I Austria I www.ncm.at
[email protected] I T: +43 (0) 662 644 688 I F: +43 (0) 662 644 688-88
Thank you!
[email protected]@bano99