Skip to content

Commit 5bb12f8

Browse files
committed
adding s3 guidance to README
1 parent d6ebc1a commit 5bb12f8

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

.screenshots/lambdarole.png

140 KB
Loading

.screenshots/lambdavars.png

88.9 KB
Loading

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ If you need to **build** additional dependencies, you'll need to update the buil
2424
2) update files `build.sh`
2525
3) rebuild as described below
2626

27+
You can reuse the basic example python code, keep in mind it assumes you are going to use S3 for moving data in and out of your function. So in your lambda setup in the AWS console add values for `S3OUTBUCKET` and `S3INBUCKET`. Like this:
28+
29+
![buildEC2](.screenshots/lambdavars.png)
30+
31+
Again, assuming you are using S3 you'll want to create an appropiate role so that Lambda can access other services in AWS. In the screenshot below, mine is called `lambda-s3-execution-role`.
32+
33+
![buildEC2](.screenshots/lambdarole.png)
34+
2735

2836
## Building this module
2937
The goal here is to use EC2 to create a lambda packge using AWS linux, zip it up, and conveniently put it in S3 for lambda to use. There is a build.sh that does that for us.

0 commit comments

Comments
 (0)