Custom Lambda Runtimes

ACM.304 Overview of a custom Lambda runtime to execute bash scripts deployed in a container in Lambda

Teri Radichel
Cloud Security
Published in
7 min readSep 14, 2023

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

⚙️ Check out my series on Automating Cybersecurity Metrics | Code.

🔒 Related Stories: Lambda | Container Security | Application Security

💻 Free Content on Jobs in Cybersecurity | ✉️ Sign up for the Email List

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I explained why we need Language specific runtimes for Lambda in the last post.

In this post, I want to continue on with that last thought — using the AWS tutorial to create a runtime for Bash in a container that can run in a Lambda function.

I’ll be basing my Docker container off the prior one we’ve been using but first of all, I’m going to use Arm Alpine Linux and skip Python. I think I will not need the included libraries in the Dockerfile, but we’ll find out. Recall that everything needs to be compiled and work on the same architecture as I explained in this post.

--

--

Teri Radichel
Teri Radichel

Written by Teri Radichel

CEO 2nd Sight Lab | Penetration Testing & Assessments | AWS Hero | Masters of Infosec & Software Engineering | GSE 240 etc | IANS | SANS Difference Makers Award