Containers¶
There are two implementation options.
On a local host, i.e., a PC.
On a cloud computer as a serverless lambda.
Local Host¶
On a local host, i.e, a PC, the configuration looks like this:
This requires either manually running the application periodically, or leaving it running in a terminal window.
Cloud¶
When using a cloud implementation, the configuration looks like this:
This runs independently.
AWS cloud infrastructure requires a Cloud Formation Template to build the resources:
The S3 bucket.
The Lambda.
Also, the email domain information must be verified with Amazon to permit sending email. This means setting up an “me.admin@gmail.com” address in addition to “me@gmail.com”. A verification email must be sent and confirmed by AWS.
Further, the lambda must be configured with the ARN (Amazon Resource Name) for the S3 bucket.
Summary¶
Note that the components are the same. The host processing each component is distinct.