Skip to content

[TECH ED] Backend Deployment #257

@Sabella-8

Description

@Sabella-8

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.

Metadata

Metadata

Assignees

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions