Prerequisite

Prerequisite

  1. First, we have to clone the initial application
  • Right click and select Git Bash Here ConnectPrivate

  • Run the following command to clone the application

git clone https://github.com/stillxthahn/FCJ-01-backend.git

ConnectPrivate ConnectPrivate

  • Modify Dockerfile and fill in the following information. Replace YOUR_RDS_ENDPOINT and YOUR_RDS_PORT with your RDS endpoint and port
ENV RDS_HOSTNAME=YOUR_RDS_ENDPOINT
ENV RDS_PORT=YOUR_RDS_PORT
ENV RDS_DB_NAME=todolist
ENV RDS_USERNAME=admin
ENV RDS_PASSWORD=12345678

ConnectPrivate

  1. Download user security credentials

It is best practice to create a new user with the necessary permissions for the application and download its credentials. But for this workshop only, we will use the root user.

  • Access Security Credentials

ConnectPrivate

  • Choose Creat Access Key ConnectPrivate ConnectPrivate

  • Download the .csv file and Done ConnectPrivate