Modify Connection String and Inbound Rule

For our Database instances to be able to work in the AWS cloud environment, we will need to update the Connection String and create a inbound rule to connect to our local MSSQL server.

Update Connection String

  1. Go to project folder and look for appsetting.json
    • In the Connection String, look for DefaultConnection
    • Modify the Server, uid, pwd match with the database settings in Elastic Beanstalk.

cnstr

  1. Navigate to AWS RDS Database in AWS Console UI
    • Select the database to modify database
    • Add the following Inbound rule inbound

Next, we will proceed to migration an test our database to local MSSQL Server.