Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TECH ED] Database Deployment #270

Open
fikretellek opened this issue Jun 5, 2024 · 2 comments
Open

[TECH ED] Database Deployment #270

fikretellek opened this issue Jun 5, 2024 · 2 comments

Comments

@fikretellek
Copy link
Owner

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
Copy link
Owner Author

Image

@fikretellek
Copy link
Owner Author

I connected to aws rds intance

Image

Then created a test router in the server app

Image

And then called the test endpoint

Image

@fikretellek fikretellek moved this from 🔖 Ready to 🏗 In progress in [COPY] Template Coursework Planner Board Jun 17, 2024
@fikretellek fikretellek moved this from 🏗 In progress to 👀 In review in [COPY] Template Coursework Planner Board Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 👀 In review
Development

No branches or pull requests

1 participant