Skip to content
Author: Tianle Yuan

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


Last update: December 6, 2022 19:56:40
Created: November 18, 2022 01:40:41

Comments