SlideShare a Scribd company logo
More Modern Perl
With Docker
Jason (Jayce^) Hall - BlueHost
jayce@lug-nut.com
What is Modern Perl?
New Versions
Update Cycles
New Tools
But we already have tools for that
perlbrew
plenv
carton
Software Collections
The Absolute Basics
Containers
Just what you need
Encourage small services
Pre Built Images
Docker Perl
Pick your base
Optimize
Beyond the beginning
REPL is nifty, but…
I want a current perl
To run this code I have
And add my deps
First Note
You can build up an image and save your whole app
Docker run, Add your needs, run
Or have a common base that just mounts your application code
docker build / tag / push
Registry Server
Running our first code
Pick our image
Mount our code directory
Install deps
…
Profit
Dockerfile
FROM
ENV
RUN
WORKDIR
EXPOSE
CMD
Some Optimizations
Which Base image
Chain Commands
Clean up work info
Build in your dependencies
Build on other images
Interacting with others
Docker-compose
Management interface
Hostname setup
Service groups
Runtime options
Automating a system
Compose your alpha/beta/stage
Build your images runtime ready
Upgrade to other tools
AWS
Kubernetes
ocean of others
–Johnny Doe
But What About A Live Demo
Redis Mongo
API Worker
More Modern Perl
With Docker
Jason (Jayce^) Hall - BlueHost
jayce@lug-nut.com

More Related Content

ODP
Basic testing with selenium
Søren Lund
 
PDF
stackconf 2020 | Enterprise CI/CD Integration Testing Environments Done Right...
NETWAYS
 
PPTX
Terraform - The Road to Self-Service
Ryan Boyce
 
KEY
Capistrano, Puppet, and Chef
David Benjamin
 
PPTX
End to-end async and await
vfabro
 
PPTX
Async/Await
Jeff Hart
 
PDF
Automating the Cloud with Terraform, and Ansible
Brian Hogan
 
PPTX
Puppet - an introduction
Shiraz Ahmad Khan
 
Basic testing with selenium
Søren Lund
 
stackconf 2020 | Enterprise CI/CD Integration Testing Environments Done Right...
NETWAYS
 
Terraform - The Road to Self-Service
Ryan Boyce
 
Capistrano, Puppet, and Chef
David Benjamin
 
End to-end async and await
vfabro
 
Async/Await
Jeff Hart
 
Automating the Cloud with Terraform, and Ansible
Brian Hogan
 
Puppet - an introduction
Shiraz Ahmad Khan
 

What's hot (20)

PPTX
Creating Perl modules with Dist::Zilla
Mark Gardner
 
PPTX
Automation in Cloud
Abhishek Amralkar
 
PDF
Mete Atamel
CodeFest
 
PPTX
CTU June 2011 - C# 5.0 - ASYNC & Await
Spiffy
 
PPTX
Async await
Jeff Hart
 
PPTX
Deploying Azure DevOps using Terraform
Adin Ermie
 
PDF
Raffaele Rialdi
CodeFest
 
PPTX
Job DSL Plugin for Jenkins
Niels Bech Nielsen
 
PPTX
Jenkins Job DSL plugin
Nikita Bugrovsky
 
PPTX
Configure jasmine and karma for code coverage
Deepak More
 
PPTX
Async Programming in C# 5
Pratik Khasnabis
 
PDF
Apache Zeppelin and Helium @ApacheCon 2017 may, FL
Ahyoung Ryu
 
PDF
Symfony aws
Alessandro Minoccheri
 
ODP
Fabric: A Capistrano Alternative
Panoptic Development, Inc.
 
PPTX
Heat and its resources
Sangeeth Kumar
 
PDF
Speeding up your testflow
Mircea Mare
 
PPTX
Zero Code Multi-Cloud Automation with Ansible and Terraform
Avi Networks
 
PDF
Terraform
Diego Pacheco
 
PPTX
Infrastructure-as-Code (IaC) using Terraform
Adin Ermie
 
Creating Perl modules with Dist::Zilla
Mark Gardner
 
Automation in Cloud
Abhishek Amralkar
 
Mete Atamel
CodeFest
 
CTU June 2011 - C# 5.0 - ASYNC & Await
Spiffy
 
Async await
Jeff Hart
 
Deploying Azure DevOps using Terraform
Adin Ermie
 
Raffaele Rialdi
CodeFest
 
Job DSL Plugin for Jenkins
Niels Bech Nielsen
 
Jenkins Job DSL plugin
Nikita Bugrovsky
 
Configure jasmine and karma for code coverage
Deepak More
 
Async Programming in C# 5
Pratik Khasnabis
 
Apache Zeppelin and Helium @ApacheCon 2017 may, FL
Ahyoung Ryu
 
Fabric: A Capistrano Alternative
Panoptic Development, Inc.
 
Heat and its resources
Sangeeth Kumar
 
Speeding up your testflow
Mircea Mare
 
Zero Code Multi-Cloud Automation with Ansible and Terraform
Avi Networks
 
Terraform
Diego Pacheco
 
Infrastructure-as-Code (IaC) using Terraform
Adin Ermie
 
Ad

Viewers also liked (17)

PDF
Ineed.gr presentation
i-Need
 
PDF
Academic departments1 (1)
bunel100
 
PPTX
Top 5 vacatures week 13
Balans
 
DOC
JHAndrews Resume
Jandy H Andrews
 
PDF
Near Offices Aclimação
Sergio Pripas
 
PPT
Fghj
sagitamara
 
PPSX
IIs
Y?lmaz Ba?ar
 
PDF
CEO-040-創業法律思考
handbook
 
PDF
Hr 004 中文系進路圖
handbook
 
PDF
Fundraising Tips - SCMM
Swati_UWM
 
PDF
Apostiladepic basic-110602153048-phpapp02
Yury Pontes
 
PPTX
Digital marketing Presentation
Miracleworx Web Design & Develpment
 
PDF
Tipos de redes sociais
layane.oliveira
 
PPT
A hidrosfera
irenetraba
 
PDF
Al Fazl International Weekly Magazine - 20 January 2017
muzaffertahir9
 
PDF
Al Fazal International Weekly Magazine - UK 2 December 2016
muzaffertahir9
 
Ineed.gr presentation
i-Need
 
Academic departments1 (1)
bunel100
 
Top 5 vacatures week 13
Balans
 
JHAndrews Resume
Jandy H Andrews
 
Near Offices Aclimação
Sergio Pripas
 
CEO-040-創業法律思考
handbook
 
Hr 004 中文系進路圖
handbook
 
Fundraising Tips - SCMM
Swati_UWM
 
Apostiladepic basic-110602153048-phpapp02
Yury Pontes
 
Digital marketing Presentation
Miracleworx Web Design & Develpment
 
Tipos de redes sociais
layane.oliveira
 
A hidrosfera
irenetraba
 
Al Fazl International Weekly Magazine - 20 January 2017
muzaffertahir9
 
Al Fazal International Weekly Magazine - UK 2 December 2016
muzaffertahir9
 
Ad

Similar to More Modern Perl - YAPC 2016 (20)

PPTX
Start your adventure with docker
Sagar Dash
 
PPTX
A Fabric/Puppet Build/Deploy System
adrian_nye
 
PDF
Austin Web Architecture
joaquincasares
 
PPTX
An introduction to Starter (Updated Content)
Cloud 66
 
PDF
Intro to Docker
Tim Haak
 
PPTX
OpenNTF Webinar May 2021 - Jesse
Jesse Gallagher
 
PDF
Docker @ Atlogys
Atlogys Technical Consulting
 
ODP
Perl ides
Naim Shafiev
 
PPTX
Display eea’s semantic content with elasticsearch and node.js applications sh...
Alin Voinea
 
PPTX
Deploying Web Apps with PaaS and Docker Tools
Eddie Lau
 
PDF
Care and feeding notes
Perrin Harkins
 
PDF
Introduction to Docker
Tharaka Devinda
 
PPT
No-script PowerShell v2
Concentrated Technology
 
PDF
Docker intro
Frei Zhang
 
PDF
Using Docker in the Real World
Tim Haak
 
PPTX
Docker 101
Kevin Nord
 
ODP
Drupal7
guest0b5da
 
PDF
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
Puppet
 
PDF
Ansible new paradigms for orchestration
Paolo Tonin
 
PDF
Docker for developers on mac and windows
Docker, Inc.
 
Start your adventure with docker
Sagar Dash
 
A Fabric/Puppet Build/Deploy System
adrian_nye
 
Austin Web Architecture
joaquincasares
 
An introduction to Starter (Updated Content)
Cloud 66
 
Intro to Docker
Tim Haak
 
OpenNTF Webinar May 2021 - Jesse
Jesse Gallagher
 
Perl ides
Naim Shafiev
 
Display eea’s semantic content with elasticsearch and node.js applications sh...
Alin Voinea
 
Deploying Web Apps with PaaS and Docker Tools
Eddie Lau
 
Care and feeding notes
Perrin Harkins
 
Introduction to Docker
Tharaka Devinda
 
No-script PowerShell v2
Concentrated Technology
 
Docker intro
Frei Zhang
 
Using Docker in the Real World
Tim Haak
 
Docker 101
Kevin Nord
 
Drupal7
guest0b5da
 
PuppetConf 2017: What’s in the Box?!- Leveraging Puppet Enterprise & Docker- ...
Puppet
 
Ansible new paradigms for orchestration
Paolo Tonin
 
Docker for developers on mac and windows
Docker, Inc.
 

Recently uploaded (20)

PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 

More Modern Perl - YAPC 2016

Editor's Notes

  • #2: What is Modern Perl? How can you get “more” modern?
  • #3: a renaissance frequency, but you need to update
  • #4: Does not remove usefulness of any of these, in fact can make them even more useful test your code against multiple version but you have to compile and maintain each one Carton get the modules you use - if it works in your toolchain SCL - Redhat/centos RPM based custom environments Why beyond “Hipster” reasons?
  • #5: Not for full VM’s really, look at the upcoming vagrant talk for that The next generation of architecture Slice out just the parts you need from a VM Less exposure Less data to cart around
  • #6: Basic containers with just the engine you want to try Perl latest specific perl versions, options (eg threading) and yes, perl6
  • #7: What comes in the image? NOTHING.. You need to start adding things so you can DO things, who programs without CPAN?
  • #8: grab the basic and play, start adding in modules you use save out your state, to use for later Have your script pull in what it needs Better, set one up with *your* use case, and start from that point
  • #9: Have the base commands in the image See, it’s that easy…. Interactive terminal Clean up our container after ourselves Mount my project directory under /app which image am I based off of What command do I run? could be dzil authordeps | cpanm, or carton run
  • #10: Well, who wants to build up that command line every time? Build your arguments, and extra features into a file Startup your app, process, etc just by feeding your file into docker Build an image with your common starting point, or your final product Docker pages have plenty of info and examples about better practices, such as && and working with image layers Default command (my REPL in this case) but overrides with command line usage
  • #11: Standard “Perl” library was > 750mb! — If I’m running a container that is *only* the things I *need* it shouldn’t have to be that large! Current standard starts at 255 - 285 mb Built one off of Alpine and it was 75mb
  • #12: What if you wanted to describe multiple containers at once? Docker file for a system of containers Get them to know how to interact with each other All your docker command line arguments Automate a “system” Define private network space Other tools Define custom locations, registry servers Pull update build run log I can reference by name : so refer to “mongo” or “redis” box in their DSN
  • #13: docker-compose Local box can push build elsewhere or quickly use prebuilt images to replicate including out to live - please learn when this is right (eg not db)
  • #16: What is Modern Perl? How can you get “more” modern?