CodeYourFuture / CodeYourFuture/Module-Cloud
[TECH ED] Backend Deployment
- Dominant language
- No language data
- Stars
- 0
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
From Module-Cloud created by [SallyMcGrath](https://github.com/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.
Contributor guide
Research direction
Start with the linked React-Module-Project coursework and the AWS EC2 SSH guide, then identify the backend entry point and dependencies to deploy. Follow the listed steps to launch EC2, install Node.js, transfer and start the application, and test its API endpoints; done means the backend runs on EC2 and the endpoints work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, node.js
- Domain
- backend, cloud, devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100