Skip to content

Amazon AWS Deploy Instruction

Huan Zhang edited this page Jun 2, 2021 · 1 revision

We are currently running the server using Amazon AWS Elastic Beanstalk.

Compile Sources and Deploy

  1. npm run build from src/backend will compile the binary executables on three platforms.
  2. Take the main executable soundcool-linux and zip it with other files like node_sqlite3.node (you can download them from previous sources, they don't have to be changed). Don't make an extra folder, the executable should be accessible from the top level of zip package.
  3. Upload the zip into Soundcool-env from the Elastic Beanstalk panel.

Misc

  1. The Elastic Beanstalk service is wrapping an EC2 instance, you can view it in EC2 panel
  2. The configuration is Node.js 10 running on 64bit Amazon Linux 2/5.3.2
  3. We also configured an elastic IP 18.224.253.25 so that it stays the same when we need to connect to server.