<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Ruby on Technology Enlightened</title>
    <link>https://pprakash.me/tags/ruby/</link>
    <description>Recent content in Ruby on Technology Enlightened</description>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>&amp;copy; &lt;a href=&#34;https://github.com/p-prakash/&#34;&gt;Prakash P&lt;/a&gt; 2015 - 2023</copyright>
    <lastBuildDate>Sun, 29 Nov 2015 18:41:59 +0000</lastBuildDate>
    <atom:link href="https://pprakash.me/tags/ruby/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Executing Ruby code in AWS Lambda</title>
      <link>https://pprakash.me/tech/2015/11/29/executing-ruby-code-in-aws-lambda/</link>
      <pubDate>Sun, 29 Nov 2015 18:41:59 +0000</pubDate>
      <guid>https://pprakash.me/tech/2015/11/29/executing-ruby-code-in-aws-lambda/</guid>
      <description>&lt;p&gt;AWS Lambda supports only Java, JavaScript &amp;amp; Python at the time of writing this post. I was wondering whether I can exploit the Lambda to execute chef’s &lt;a href=&#34;https://docs.chef.io/knife.html&#34;&gt;knife&lt;/a&gt; commands on it since Lambda runs on a Linux container. Using simple python function I have identified that the code of the Lambda function gets copied to &lt;code&gt;/var/task&lt;/code&gt; and executed from there.&lt;/p&gt;&#xA;&lt;p&gt;I decided to custom build ruby as embedded platform similar to how &lt;a href=&#34;https://downloads.chef.io/chef-client/&#34;&gt;chef-client&lt;/a&gt; or &lt;a href=&#34;https://downloads.chef.io/chef-dk/&#34;&gt;chefdk&lt;/a&gt; are distributed. My requirement is to execute knife commands and its uses embedded ruby version 2.1.0, hence I downloaded the source archive that specific version.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
