1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
There are several hosting options for .NET 6 on AWS, first you can use IIS on EC2 Windows or use AWS Elastic Beanstalk without defining RDS as part of the stack so it would use the existing RDS instance. Another option is to use AWS App Runner to host your code inside a container. If you containerize your .NET 6/7 code then you can also use ECS or EKS and finally therer are ways to create a .NET service using AWS Lambda function and API Gateway. In any case using the existing RDS instance is possible by using Npgsql with/without entity framework core and making sure that your service is able to reach the DB.
con risposta un anno fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 2 anni fa
Thank you. About the 3rd way: what connection string should I use in Lambda NET to connect RDS? Can it be the same as I use now in my WinForms local app: server, db, user, password?