awslabs/eb-py-flask-signup-worker

Name: eb-py-flask-signup-worker

Owner: Amazon Web Services - Labs

Owner: AWS Samples

Description: null

Created: 2013-11-25 18:53:51.0

Updated: 2017-12-18 14:54:48.0

Pushed: 2016-01-05 23:02:18.0

Homepage: null

Size: 7

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

eb-py-flask-signup-worker

This Python sample application illustrates the worker role functionality of AWS Elastic Beanstalk. It is designed to process messages generated by the frontend sample app. Messages contain a customer's name and e-mail address, and the worker app uses SES to deliver an e-mail to the address in the message.

Message Format

To test the worker app without the frontend, you can manually enqueue messages of the following format:

{
    "name" : "Bender B. Rodriguez",
    "email" : "bender@ilovebender.com"
}
IAM Role Permissions

The worker role must run in an IAM role with permissions to SES and SQS. An example policy is included in iam_policy.json.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.