Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are there any emulator for AWS Lambda?

I want to run Go service on AWS Lambda by this instruction without actually using AWS Lambda service. Looking for a vagrant or vbox which can emulating Lambda. I know it's a weird request. Is it possible?

like image 339
Festum Avatar asked Dec 10 '15 07:12

Festum


People also ask

Can I run AWS Lambda locally?

Introducing AWS SAM Local, a CLI Tool to Test AWS Lambda Functions Locally. AWS SAM Local is a CLI tool that allows you to locally test and debug your AWS Lambda functions defined by AWS Serverless Application Model (SAM) templates. Today, SAM Local supports Lambda functions written in Node. js, Java, and Python.

Which framework is best for AWS Lambda?

The Serverless Framework provides a simple and effective abstraction of the AWS Lambda package and deploy process that will help you to start up a project.

Can Lambda run GPU?

Getting Started. Which operating systems are available on Lambda Cloud? Lambda Cloud V100 & RTX 6000 instances run Ubuntu Server 20.04 LTS while 4-GPU Pascal based instances run 16.04 LTS. Instances are only accessible via SSH or the included Jupyter Notebook.


1 Answers

There are a few options (from damn simple to more complete)

  1. Node Lambda – Command line tool to locally run and remotely deploy your node.js applications to Amazon Lambda.

    • Custom event used to simulate an input similar to what Lambda would get on AWS.
    • Allows testing locally, simulating AWS Lambda environment.
    • Deploy

  1. grunt-aws-lambda – Grunt plugin to assist in developing functions for AWS Lambda.

    • All of the above
    • Function packaging (ZIP)
    • Separation of environments (dev, test, production)
    • Adds stripping and packaging of function before deploying (including only necessary packages).

  1. serverless (formerly JAWS) – Complete application framework to build applications based on different services in AWS (that relies heavily on AWS Lambda).

    • All of the above
    • Includes boilerplate setup
    • Simulates an API gateway to test locally

Hope this is useful.

like image 147
Jose L Ugia Avatar answered Oct 19 '22 22:10

Jose L Ugia