Skip to content
Author: Tianle Yuan

: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?:

  1. Store the data somewhere (e.g. on disk).

  2. Load the data from somewhere (e.g. from disk) into a dictionary (hopefully just once).

  3. Look up a password in a dictionary (each time someone wants to decrypt).

  4. Expose the functionality through a public API.

Idea⚓︎

Solution

The picture below shows the efficient way to simulate the Decrypter service on AWS.

picture

Details in the Solution

Remember ECS with Load Balancer structure. Let's draw the details between Lambda and Database parts:

picture

Implementation⚓︎

Implementation

Architecture Diagram:

picture 6

Swagger Rainy Day:

picture 7

Swagger Happy Day:

picture 8

Comments