SlideShare a Scribd company logo
Perl and Amazon Web
Services
London Perl Workshop 2019
1
Introduction
In this talk I will
● give a very short introduction to cloud computing in general
● introduce a few AWS resources (CloudFormation, EC2, S3, Lambda)
● demonstrate running Perl on an EC2 instance
● demonstrate using AWS::Lambda to create a Perl runtime for AWS Lambda
2
But, first
About me:
● My name is Søren Lund and I’m from Denmark
● I’ve been a SW developer for more than twenty years
● I’ve used many programming languages (C/C++, Perl, Java, JavaScript, …)
● I’ve also worked a lot with build automation, CI/CD and automated tests
● I’ve worked as a AWS consultant for the last couple of years
3
Disclaimer
● I’ve no experience running Perl on AWS!
However,
● I know Perl
● I know AWS
Or, as the meme goes
● “Trust Me, I’m an Engineer”
4
Cloud Computing
5
Cloud Computing
“Cloud computing is the on-demand availability of computer system
resources, especially data storage and computing power, without direct active
management by the user.”
“Cloud computing was popularized with Amazon.com releasing its Elastic
Compute Cloud product in 2006.”
From https://en.wikipedia.org/wiki/Cloud_computing
6
Service Models
● Infrastructure as a service (IaaS)
● Platform as a service (PaaS)
● Software as a service (SaaS)
● Serverless computing
● Function as a service (FaaS)
7
Infrastructure as a service (IaaS)
“...online services that provide high-level APIs used to dereference various low-
level details of underlying network infrastructure like physical computing
resources, location, data partitioning, scaling, security, backup etc.”
From https://en.wikipedia.org/wiki/Infrastructure_as_a_service
8
Function as a service (FaaS)
“...category of cloud computing services that provides a platform allowing
customers to develop, run, and manage application functionalities without the
complexity of building and maintaining the infrastructure typically associated with
developing and launching an app.”
From https://en.wikipedia.org/wiki/Function_as_a_service
9
Amazon Web Services
10
Amazon Web Service (AWS)
● From 2000 to 2005 Amazon.com works on infrastructure
● AWS is launched on March 19 2006, first service is Amazon S3 (Simple
Storage Service)
● Amazon SQS (Simple Queue Service) follows on July 13
● And on August 25 Amazon EC2 (Elastic Compute Cloud) is launched
From https://en.wikipedia.org/wiki/Timeline_of_Amazon_Web_Services
11
AWS now has many more services
“...137 top level services spread across 23 categories… many of these top level
services further expand into multiple sub services” (January 2019)
From https://www.quora.com/How-many-AWS-services-are-there
See https://aws.amazon.com/products/
12
Getting started with AWS
Sign up at https://aws.amazon.com/
Free tier: https://aws.amazon.com/free/
● Always free - e.g. 1 million free requests on AWS Lambda every month
● 12 month free - e.g. 750 hours EC2 t2.micro instance usage every month
● Trials - e.g. 250 device minutes on AWS Device Farm
13
AWS Management Console
From the “Console” you can create/modify/maintain/destroy resources.
See https://console.aws.amazon.com/console/home
14
Launching an EC2 instance from the Console
15
AWS CLI
The AWS CLI is a uber command “aws”, that can be used to manage your AWS
resources and services.
● Written in Python (pip install awscli)
● Enables you to write scripts that creates/modifies/maintains/destroys
resources
● You need to create credentials (tokens) in the Console to use the CLI
See https://aws.amazon.com/cli/
16
AWS SDKs
Official SDKs providing APIs for AWS services are available in
● JavaScript
● Python
● PHP
● .NET
● Ruby
● Java
● Go
● Node.js
● C++
See https://aws.amazon.com/tools/
Image by Jonny
Lindner from Pixabay
?
17
Paws
● Perl SDK for AWS
● Built by automatically converting Python code into Perl code
● Also includes CLI (paws)
● https://metacpan.org/pod/Paws
18
Image by Jonny
Lindner from Pixabay
❤
AWS CloudFormation
● Infrastructure as code
● Define resources in templates (JSON or YAML) or visual designer
● Deploy template using CloudFormation using the Consol, CLI or API
● A deployed template is called a Stack
19
Basic Anatomy of a CloudFormation Template
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Description" : "",
"Parameters" : { },
"Resources" : { },
"Outputs" : { }
}
See https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html
20
Running Perl on an EC2 instance
21
Creating a CloudFormation Templates
AWS has lots of examples and snippets.
● Examples: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-sample-templates.html
● Snippets: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/CHAP_TemplateQuickRef.html
There’s also a linter for CloudFormation Templates:
● See https://github.com/aws-cloudformation/cfn-python-lint
22
Amazon EC2
● EC2 provides generic computer virtualization
● When using EC2 you will boot an Amazon Machine Image (AMI) to create a
running machine, called an instance
● Amazon maintains an AMI called Amazon Linux based on CentOS
○ version 1 has Perl 5.16.3
○ version 2 has no Perl
● Run it locally: docker run -it amazonlinux bash
23
User Data in EC2 CloudFormation templates
"UserData": {
"Fn::Base64": {
"Fn::Join": [
"", [
"#!/bin/bashn",
"curl -L http://cpanmin.us | perl - --self-upgraden",
"cpanm Acme::Be::Modernn"
]]
}
}
24
Demo time
Code is available on GitHub.
See https://github.com/soren/perl-and-aws
25
AWS::Lambda
26
AWS Lambda
“...an event-driven, serverless computing platform provided by Amazon as a part
of the Amazon Web Services. It is a computing service that runs code in response
to events and automatically manages the computing resources required by that
code. It was introduced in November 2014.”
From https://en.wikipedia.org/wiki/AWS_Lambda
27
Console demo
28
Using the AWS Lambda runtime provided by
● https://metacpan.org/pod/AWS::Lambda
To execute the following:
sub handle {
my ($payload, $context) = @_;
my $result = encode_json("Hello from Perl!");
return +{ statusCode => 200, body => $result };
}
The End… Questions?
29

More Related Content

What's hot (18)

PDF
Amazon ECS (March 2016)
Julien SIMON
 
PDF
Docker Paris #29
Julien SIMON
 
PDF
Scaling your web app horizontally and vertically (ahmedabad amazon aws cloud...
Jhalak Modi
 
PPTX
AWS CodeDeploy - basic intro
Anton Babenko
 
PDF
Meeyup aws-loadbalancing-28032015
Jhalak Modi
 
PDF
Building serverless apps with Node.js
Julien SIMON
 
PDF
Building A Dynamic Website - 31st Jan 2015
Jhalak Modi
 
PDF
How to copy multiple files from local to aws s3 bucket using aws cli
Katy Slemon
 
PPTX
Aws meetup building_lambda
Adam Book
 
PDF
Deploying a simple Rails application with AWS Elastic Beanstalk
Julien SIMON
 
PPTX
Project final pres
NicholasSwink
 
PDF
20190406 LT(笹亀)
ssuseraa32c9
 
PDF
Continuous delivery in AWS
Anton Babenko
 
PDF
Artem Zhurbila 5 aws - cloud formation and beanstalk
Artem Zhurbila
 
PDF
Cloud Academy's AWS Hands on-labs
Alex Casalboni
 
PDF
What is AWS lambda?
Whizlabs
 
PDF
Introduction to the Serverless paradigm
Alex Casalboni
 
PPTX
Introduction to aws cloud formation
Aniruddha jawanjal
 
Amazon ECS (March 2016)
Julien SIMON
 
Docker Paris #29
Julien SIMON
 
Scaling your web app horizontally and vertically (ahmedabad amazon aws cloud...
Jhalak Modi
 
AWS CodeDeploy - basic intro
Anton Babenko
 
Meeyup aws-loadbalancing-28032015
Jhalak Modi
 
Building serverless apps with Node.js
Julien SIMON
 
Building A Dynamic Website - 31st Jan 2015
Jhalak Modi
 
How to copy multiple files from local to aws s3 bucket using aws cli
Katy Slemon
 
Aws meetup building_lambda
Adam Book
 
Deploying a simple Rails application with AWS Elastic Beanstalk
Julien SIMON
 
Project final pres
NicholasSwink
 
20190406 LT(笹亀)
ssuseraa32c9
 
Continuous delivery in AWS
Anton Babenko
 
Artem Zhurbila 5 aws - cloud formation and beanstalk
Artem Zhurbila
 
Cloud Academy's AWS Hands on-labs
Alex Casalboni
 
What is AWS lambda?
Whizlabs
 
Introduction to the Serverless paradigm
Alex Casalboni
 
Introduction to aws cloud formation
Aniruddha jawanjal
 

Similar to Perl and Amazon Web Services (20)

PDF
Introduction to AWS
Angel Borroy López
 
PDF
Awsgsg computebasics
james0417
 
PPT
Amazon Web Services
catherinewall
 
PPTX
AWS SSA Webinar 28 - Getting Started with AWS - Infrastructure as Code
Cobus Bernard
 
PDF
AWS in Practice
Anna Ruokonen
 
PDF
The IoT Academy_awstraining_part2_aws_ec2_iaas
The IOT Academy
 
PPT
Cloud ppt
SamreenAkhtar8
 
PDF
AWS Primer and Quickstart
Manish Pandit
 
PPTX
Amazon Clouds in Action
zenyk
 
PPTX
AWSome Day Digital LATAM
Amazon Web Services LATAM
 
PPTX
Aws tutorial for beginners- tibacademy.in
TIB Academy
 
PPTX
Amazon AWS Quick start course
Morgan Hill Consultants Ltd
 
PPTX
Amazon Web Services for Application Hosting | SugarCon 2011
SugarCRM
 
PDF
Re cap2018
Richard Harvey
 
PPTX
Introduction to AWS July
CloudHesive
 
PPTX
Introduction to amazon web services for developers
Ciklum Ukraine
 
PDF
Running Open Source Platforms on AWS (November 2016)
Julien SIMON
 
PPTX
How Easy to Automate Application Deployment on AWS
Institut Teknologi Sepuluh Nopember Surabaya
 
PDF
AWS CDK introduction
leo lapworth
 
PPT
Amazon2009 04 22 Amsterdam
arnoud.wijnands
 
Introduction to AWS
Angel Borroy López
 
Awsgsg computebasics
james0417
 
Amazon Web Services
catherinewall
 
AWS SSA Webinar 28 - Getting Started with AWS - Infrastructure as Code
Cobus Bernard
 
AWS in Practice
Anna Ruokonen
 
The IoT Academy_awstraining_part2_aws_ec2_iaas
The IOT Academy
 
Cloud ppt
SamreenAkhtar8
 
AWS Primer and Quickstart
Manish Pandit
 
Amazon Clouds in Action
zenyk
 
AWSome Day Digital LATAM
Amazon Web Services LATAM
 
Aws tutorial for beginners- tibacademy.in
TIB Academy
 
Amazon AWS Quick start course
Morgan Hill Consultants Ltd
 
Amazon Web Services for Application Hosting | SugarCon 2011
SugarCRM
 
Re cap2018
Richard Harvey
 
Introduction to AWS July
CloudHesive
 
Introduction to amazon web services for developers
Ciklum Ukraine
 
Running Open Source Platforms on AWS (November 2016)
Julien SIMON
 
How Easy to Automate Application Deployment on AWS
Institut Teknologi Sepuluh Nopember Surabaya
 
AWS CDK introduction
leo lapworth
 
Amazon2009 04 22 Amsterdam
arnoud.wijnands
 
Ad

More from Søren Lund (8)

ODP
Documenting code yapceu2016
Søren Lund
 
ODP
Documenting Code - Patterns and Anti-patterns - NLPW 2016
Søren Lund
 
ODP
Beyond Unit Testing
Søren Lund
 
ODP
Playing with Hadoop (NPW2013)
Søren Lund
 
ODP
Playing with Hadoop 2013-10-31
Søren Lund
 
ODP
Apache JMeter Introduction
Søren Lund
 
ODP
Basic testing with selenium
Søren Lund
 
ODP
E-books and App::Pod2Epub
Søren Lund
 
Documenting code yapceu2016
Søren Lund
 
Documenting Code - Patterns and Anti-patterns - NLPW 2016
Søren Lund
 
Beyond Unit Testing
Søren Lund
 
Playing with Hadoop (NPW2013)
Søren Lund
 
Playing with Hadoop 2013-10-31
Søren Lund
 
Apache JMeter Introduction
Søren Lund
 
Basic testing with selenium
Søren Lund
 
E-books and App::Pod2Epub
Søren Lund
 
Ad

Recently uploaded (20)

PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PDF
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
PPTX
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PPTX
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
PPTX
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
PDF
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PDF
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 

Perl and Amazon Web Services

  • 1. Perl and Amazon Web Services London Perl Workshop 2019 1
  • 2. Introduction In this talk I will ● give a very short introduction to cloud computing in general ● introduce a few AWS resources (CloudFormation, EC2, S3, Lambda) ● demonstrate running Perl on an EC2 instance ● demonstrate using AWS::Lambda to create a Perl runtime for AWS Lambda 2
  • 3. But, first About me: ● My name is Søren Lund and I’m from Denmark ● I’ve been a SW developer for more than twenty years ● I’ve used many programming languages (C/C++, Perl, Java, JavaScript, …) ● I’ve also worked a lot with build automation, CI/CD and automated tests ● I’ve worked as a AWS consultant for the last couple of years 3
  • 4. Disclaimer ● I’ve no experience running Perl on AWS! However, ● I know Perl ● I know AWS Or, as the meme goes ● “Trust Me, I’m an Engineer” 4
  • 6. Cloud Computing “Cloud computing is the on-demand availability of computer system resources, especially data storage and computing power, without direct active management by the user.” “Cloud computing was popularized with Amazon.com releasing its Elastic Compute Cloud product in 2006.” From https://en.wikipedia.org/wiki/Cloud_computing 6
  • 7. Service Models ● Infrastructure as a service (IaaS) ● Platform as a service (PaaS) ● Software as a service (SaaS) ● Serverless computing ● Function as a service (FaaS) 7
  • 8. Infrastructure as a service (IaaS) “...online services that provide high-level APIs used to dereference various low- level details of underlying network infrastructure like physical computing resources, location, data partitioning, scaling, security, backup etc.” From https://en.wikipedia.org/wiki/Infrastructure_as_a_service 8
  • 9. Function as a service (FaaS) “...category of cloud computing services that provides a platform allowing customers to develop, run, and manage application functionalities without the complexity of building and maintaining the infrastructure typically associated with developing and launching an app.” From https://en.wikipedia.org/wiki/Function_as_a_service 9
  • 11. Amazon Web Service (AWS) ● From 2000 to 2005 Amazon.com works on infrastructure ● AWS is launched on March 19 2006, first service is Amazon S3 (Simple Storage Service) ● Amazon SQS (Simple Queue Service) follows on July 13 ● And on August 25 Amazon EC2 (Elastic Compute Cloud) is launched From https://en.wikipedia.org/wiki/Timeline_of_Amazon_Web_Services 11
  • 12. AWS now has many more services “...137 top level services spread across 23 categories… many of these top level services further expand into multiple sub services” (January 2019) From https://www.quora.com/How-many-AWS-services-are-there See https://aws.amazon.com/products/ 12
  • 13. Getting started with AWS Sign up at https://aws.amazon.com/ Free tier: https://aws.amazon.com/free/ ● Always free - e.g. 1 million free requests on AWS Lambda every month ● 12 month free - e.g. 750 hours EC2 t2.micro instance usage every month ● Trials - e.g. 250 device minutes on AWS Device Farm 13
  • 14. AWS Management Console From the “Console” you can create/modify/maintain/destroy resources. See https://console.aws.amazon.com/console/home 14
  • 15. Launching an EC2 instance from the Console 15
  • 16. AWS CLI The AWS CLI is a uber command “aws”, that can be used to manage your AWS resources and services. ● Written in Python (pip install awscli) ● Enables you to write scripts that creates/modifies/maintains/destroys resources ● You need to create credentials (tokens) in the Console to use the CLI See https://aws.amazon.com/cli/ 16
  • 17. AWS SDKs Official SDKs providing APIs for AWS services are available in ● JavaScript ● Python ● PHP ● .NET ● Ruby ● Java ● Go ● Node.js ● C++ See https://aws.amazon.com/tools/ Image by Jonny Lindner from Pixabay ? 17
  • 18. Paws ● Perl SDK for AWS ● Built by automatically converting Python code into Perl code ● Also includes CLI (paws) ● https://metacpan.org/pod/Paws 18 Image by Jonny Lindner from Pixabay ❤
  • 19. AWS CloudFormation ● Infrastructure as code ● Define resources in templates (JSON or YAML) or visual designer ● Deploy template using CloudFormation using the Consol, CLI or API ● A deployed template is called a Stack 19
  • 20. Basic Anatomy of a CloudFormation Template { "AWSTemplateFormatVersion" : "2010-09-09", "Description" : "", "Parameters" : { }, "Resources" : { }, "Outputs" : { } } See https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-anatomy.html 20
  • 21. Running Perl on an EC2 instance 21
  • 22. Creating a CloudFormation Templates AWS has lots of examples and snippets. ● Examples: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-sample-templates.html ● Snippets: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/CHAP_TemplateQuickRef.html There’s also a linter for CloudFormation Templates: ● See https://github.com/aws-cloudformation/cfn-python-lint 22
  • 23. Amazon EC2 ● EC2 provides generic computer virtualization ● When using EC2 you will boot an Amazon Machine Image (AMI) to create a running machine, called an instance ● Amazon maintains an AMI called Amazon Linux based on CentOS ○ version 1 has Perl 5.16.3 ○ version 2 has no Perl ● Run it locally: docker run -it amazonlinux bash 23
  • 24. User Data in EC2 CloudFormation templates "UserData": { "Fn::Base64": { "Fn::Join": [ "", [ "#!/bin/bashn", "curl -L http://cpanmin.us | perl - --self-upgraden", "cpanm Acme::Be::Modernn" ]] } } 24
  • 25. Demo time Code is available on GitHub. See https://github.com/soren/perl-and-aws 25
  • 27. AWS Lambda “...an event-driven, serverless computing platform provided by Amazon as a part of the Amazon Web Services. It is a computing service that runs code in response to events and automatically manages the computing resources required by that code. It was introduced in November 2014.” From https://en.wikipedia.org/wiki/AWS_Lambda 27
  • 28. Console demo 28 Using the AWS Lambda runtime provided by ● https://metacpan.org/pod/AWS::Lambda To execute the following: sub handle { my ($payload, $context) = @_; my $result = encode_json("Hello from Perl!"); return +{ statusCode => 200, body => $result }; }