Ideias for creating a highly AWS/IAM integrated application

0

Hello Folks!

I started to work on an application that provides a web interface for users who needs to execute some runbooks, namely those for ECS and EKS instead of EC2 Instances.

For this app, I wish to interact with cloud resources using the user credentials/permissions, the same kind of experience we have when using the AWS Console. Eg:

a. Do you have putItem permission to the app dynamodb config table? so you can configure application details, like a runbook registration; b. Do you have execCommand permission for a given ECS Cluster or task? So you can apply the runbook over those ECS tasks;

Having the MVP in place (using lambdas and API-GW IAM authentication), I now need to think about how to effectively the user logs in and interact with the cloud resources from a web interface. Since then, I looked at some possible options:

  1. IAM Identity Cloud Applications - seems to be amazing, but I didn't find any documentation on how to create an application or examples for it;
  2. AWS Amplify & Cognito - Cognito seems to be a big gun here; I'd like to avoid it if possible;
  3. Login with Amazon - Not sure about this one; it seems to be focused on non-technical apps, but I didn´t tap into the details.

What do you folks think? Is it feasible? Between the 3 options, what would you pick? Is there another way to do it?

Thanks in advance!

1 個回答
0

Hi, I would pick number 2.

It is extreme simple to achieve, and provides out of the box support for passing access tokens to subsequent services (api gw), customizable hooks for cognito phases.

It is definitely a product with limitations, but at least you can then focus on your business instead of spending time on basic authentication/authorization features.

Hope it helps ;)

profile picture
專家
已回答 1 年前
profile pictureAWS
專家
iBehr
已審閱 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南