Author:
:simple-amazonaws: Application 1: a Decrypter
service⚓︎
Task⚓︎
Situation
Now, you want to make a Decrypter
service. And below is the pipeline. How could you make it using AWS components?:
-
Store the data somewhere (e.g. on disk).
-
Load the data from somewhere (e.g. from disk) into a dictionary (hopefully just once).
-
Look up a password in a dictionary (each time someone wants to decrypt).
-
Expose the functionality through a public API.
Idea⚓︎
Solution
The picture below shows the efficient way to simulate the Decrypter service on AWS.
Details in the Solution
Remember ECS
with Load Balancer
structure. Let's draw the details between Lambda
and Database
parts:
Implementation⚓︎
Implementation
Architecture Diagram:
Swagger Rainy Day:
Swagger Happy Day: