-
Notifications
You must be signed in to change notification settings - Fork 7
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.
-
npm run build
fromsrc/backend
will compile the binary executables on three platforms. - Take the main executable
soundcool-linux
and zip it with other files likenode_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. - Upload the zip into Soundcool-env from the Elastic Beanstalk panel.
- The Elastic Beanstalk service is wrapping an EC2 instance, you can view it in EC2 panel
- The configuration is Node.js 10 running on 64bit Amazon Linux 2/5.3.2
- We also configured an elastic IP 18.224.253.25 so that it stays the same when we need to connect to server.