fhkahin / Coursework-Planner

Your coursework planner
0 stars 0 forks source link

[TECH ED] Backend Deployment #328

Open fhkahin opened 5 months ago

fhkahin commented 5 months ago

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

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

Link to the coursework

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

Why are we doing this?

Deploy CYF Hotel Backend to EC2

  1. Launch EC2 Instance: Start a new EC2 instance using a suitable AMI (Amazon Machine Image).
  2. SSH into EC2: Use SSH to access your EC2 instance. Follow the guide from AWS on how to ssh from your machine https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect-linux-inst-ssh.html
  3. Set up Node.js: Install Node.js and any other dependencies.
  4. Upload Code: Transfer your backend code to the EC2 instance. Refer to the SSH guide to transfer the code to EC2 https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/connect-linux-inst-ssh.html#linux-file-transfer-scp
  5. Start Application: Run your Node.js application on the EC2 instance.
  6. Test API: Test your API endpoints to make sure they’re working as expected.

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.