demo-aws-lambda
Demo AWS Lambda function setup
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.6%) to scientific vocabulary
Repository
Demo AWS Lambda function setup
Statistics
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Demo AWS Lambda using NodeJS

Demonstration of Amazon Web Services (AWS) Lambda function setup, using simple NodeJS code.
Sign up
Sign up for AWS at https://aws.amazon.com
Sign up for AWS Lamba at https://aws.amazon.com/lambda/
Create a function
Go to the Lamba dashboard at https://console.aws.amazon.com/lambda/home
- Click "Create a Lambda function"
Select blueprint:
Blueprints are sample configurations of event sources and Lambda functions. There are blueprints for APIs, microservices, data sources, third-party integrations, and more.
Click "Blank Function" because we will create our own function.
Configure triggers:
Triggers invoke our function, and can come from many AWS areas, such as API Gateway, Alexa, CloudWatch, S3, SNS, etc.
Click "Next" to skip this step.
Configure function:
Name: myDemoFunction
Description: My demo function is great!
Runtime: Node.js 4.3
Lambda function code:
Code entry type: Edit code inline
The edit box shows:
exports.handler = (event, context, callback) => { // TODO implement callback(null, 'Hello from Lambda'); };
Lambda function handler and role:
Handler: index.handler
Role: Create a new role from template(s)
Role name: myDemoRole
Policy templates: Simple microservices permissions
Advanced settings:
- Use the defaults
Review:
Click "Create function"
You see: Congratulations! Your Lambda function "myDemoFunction" has been successfully created.
Your browser now shows the function page.
Notice the URL goes to the function page: https://console.aws.amazon.com/lambda/home?region=us-east-1#/functions/myDemoFunction?tab=code
Test
If you're following this demo, then you're already on the function page, and you see a big blue "Test" button.
- Click "Test"
Input test event:
Sample event template: Hello World (default)
Use the default input source code, which has some keys and values.
Click "Save and test"
Results:
The results area shows:
- Execution result: succeeded (logs)
"Hello from Lambda"
The summary area shows:
- Code SHA-256
- Request ID
- Duration
- Billed duration
- Resources configured
- Max memory used
The log output shows:
- START RequestId
- END RequestId
- REPORT RequestId
Owner
- Name: Joel Parker Henderson
- Login: joelparkerhenderson
- Kind: user
- Location: California
- Website: http://www.joelparkerhenderson.com
- Repositories: 319
- Profile: https://github.com/joelparkerhenderson
Software developer. Technology consultant. Creator of GitAlias.com, NumCommand.com, SixArm.com, and many open source projects.
Citation (CITATION.cff)
cff-version: 1.2.0
title: Demo AWS Lambda using NodeJS
message: >-
If you use this work and you want to cite it,
then you can use the metadata from this file.
type: software
authors:
- given-names: Joel Parker
family-names: Henderson
email: joel@joelparkerhenderson.com
affiliation: joelparkerhenderson.com
orcid: 'https://orcid.org/0009-0000-4681-282X'
identifiers:
- type: url
value: 'https://github.com/joelparkerhenderson/demo-aws-lambda/'
description: Demo AWS Lambda using NodeJS
repository-code: 'https://github.com/joelparkerhenderson/demo-aws-lambda/'
abstract: >-
Demo AWS Lambda using NodeJS
license: See license file
GitHub Events
Total
- Push event: 1
Last Year
- Push event: 1
Committers
Last synced: 11 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Joel Parker Henderson | j****l@j****m | 3 |