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
Assessment
This issue has not been assessed yet.