We are going to execute a project in which a solution is proposed in AWS where the microservices are deployed in EKS and the Amazon API Gateway will be used. Cognito will also be used, applying Oauth 2.0 for the security of the requests (Requests originate from a web portal)
We are thinking of replacing the Amazon API Gateway with TYK (Open Source Solution without Dashboard) and we have some questions:
Should we install TYK on an EC2 instance or would it be more efficient to install it inside the EKS? Same for Redis instances?
Is it necessary or advisable to continue using Cognito or can TYK manage identities autonomously? So TYK registers the identities (users and passwords) and manages the Oauth flow completely, without any external integration. Would these identities be stored in Redis, filesystem…?
Can you give us some advice to modify the solution and use TYK with the best possible configuration?