What is the best solution: REST API Service->RDS?


A customer has a RDS database and Windows Forms client application. He want to create a new client app. What is the best solution? Client->REST API Lambda ->(Cognito)->RDS or may be Client->REST API NET Core service ->(Cognito)->RDS Is it possible to publish the NET Core web service to AWS or it is better to use Lambda?

asked a year ago400 views
1 Answer
Accepted Answer

Hi, thank you for asking.

There are some options you can considered, but beforehand you need to specify the technical requirements such as performance, cost, traffic pattern, etc. For sure you can host . net core on lambda with lambda container , ref: https://docs.aws.amazon.com/lambda/latest/dg/csharp-image.html Some options you can consider also if you are not familiar with Serverless yet, you can deploy .net core app with:

  1. Elastic beanstalk: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_NET.html or containerizing the app so you can deploy with this option: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker.html
  2. If app already in container and familiar with EKS, ref: https://aws.amazon.com/blogs/developer/build-and-deploy-net-core-webapi-container-to-amazon-eks-using-cdk-cdk8s/

Thank you, please vote, accept this answer if you think it is help you.

profile pictureAWS
answered a year ago
  • Can I deploy my NET Core service without Lambda? I.e. a client app->AWS -> NET Core Svc->RDS PG SQL? Or it is mandatory to use Lambda here?

  • Its not mandatory to use lambda to deploy your NET core svc. THere are many options you can deploy your NET core svc without lambda, as I share above.

    If you think this answer is helpfull please help to accepted my answer, for future or other reference, thank you.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions