an insight into sesromania.amazon.com/academy/pdf/day3_1.pdfdeveloping on top of aws an insight into...
Post on 04-Jul-2020
3 Views
Preview:
TRANSCRIPT
Developing on top of AWS
An insight into SES
Iulian Tanasescu Vlad
Simple Email Service
a brief context
ARPANET - 1971
RFC 561 Standardizing Mail Headers
RFC 680 Transmission Protocol
RFC 724 Official Standard for the format of ARPA Network Messages
RFC 733 Standard for the format of ARPA Network Text Messages
working system - 1977
email message format RFC 5322
MIME content
RFC 2045 - 2049
SMTP
RFC 5321
extension for i18n
RFC 6531
extension for DSN
RFC 3461
extension for feedback
RFC 5965
DKIM Signature
RFC 6376
Client Server Establish connection 220 EHLO <hostname> 250 MAIL FROM: <sender> 250 RCPT TO: <dest1> 250 RCPT TO: <dest2> 250 DATA 354 From: <from> To: <dest1> Subject: Example This is an example . 250
high rps
low latency
upto 10MB emails
high availability
impersonation
shared IP space
deliverability
0.10 USD / 1000 emails
2000 emails / day free from EC2
check sending limits
check the sender
check blacklist, formatting, headers and MIME types
persist
scan
deliver
meter
handle feedback
concurrency
welcome to Future
public Boolean isUserAllowed(…)
public Future<Boolean> isUserAllowed(…)
asynchronous
DynamoDB
tables
items
CreateTable
PutItem
GetItem
UpdateItem
DeleteItem
Query
Scan
Simple Storage Service
a.k.a S3
buckets
objects
key
value
version ID
metadata
access control
CreateBucket
ListBucket
PutObject
GetObject
DeleteObject
Simple Queue Service
CreateQueue
SendMessage
ReceiveMessage
DeleteMessage
putting it all together
SendEmail
Source
Destination
Message
(Return-Path)
(ReplyToAddresses)
SendRawEmail
RawMessage
(Source)
(Destinations)
SMTP interface
+ control APIs http://docs.aws.amazon.com/ses/latest/APIReference/API_Operations.html
https://console.aws.amazon.com/ses/
http://status.aws.amazon.com
Q&A
top related