fikretellek / Coursework-Planner

Your coursework planner
0 stars 0 forks source link

[TECH ED] Database Deployment #270

Open fikretellek opened 3 weeks ago

fikretellek commented 3 weeks ago

From Module-Cloud created by SallyMcGrath: CodeYourFuture/Module-Cloud#3

Link to the coursework

https://github.com/CodeYourFuture/React-Module-Project

Why are we doing this?

Deploy CYF Hotel Database to RDS

  1. Create RDS Instance: In the AWS Management Console, set up a new RDS instance.
  2. Configure Security Groups: Update security groups to allow incoming traffic on the database port you intend to use.
  3. Database Credentials: Make a note of your database credentials (username, password).
  4. Initialize Database: Connect to the database and initialize it with the required tables and sample data.
  5. Connect to Backend: Update your backend code (running on EC2) to connect to the RDS database.
  6. Test End-to-End: Make some test API calls to ensure that the data flows correctly from the RDS database to your EC2 backend, and then to the S3-hosted frontend.

Maximum time in hours

3

How to get help

Ask calm, curious questions with links, code samples, and no screenshots.

https://curriculum.codeyourfuture.io/guides/asking-questions/

How to submit

In this advanced module you will demo your work. You may wish to make notes for case studies to add to your portfolio.

fikretellek commented 2 weeks ago

Image

fikretellek commented 2 weeks ago

I connected to aws rds intance

Image

Then created a test router in the server app

Image

And then called the test endpoint

Image