All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
76 views

Deploying two applications on the same instance with clustering

I am trying to deploy two applications listening on different ports on the same instance (a Next.js application along with a Node.js API server). I will use a reverse proxy to route traffic to them ...
Marnix.hoh's user avatar
2 votes
1 answer
32k views

what can cause Nginx "Connection reset by peer" when upstream is healthy?

On an AWS Beanstalk deployment (single server) the Nginx server talking to the NodeJS/Express server on the same host occasionally complains about lost connections to upstream. 2020/03/23 10:52:43 [...
Udo G's user avatar
  • 443
1 vote
1 answer
1k views

Cloudfront disrupting authentication with JSON Web Token

Short version: my jwt token is not surviving a refresh when pointing to domain behind Cloudfront. Not sure if this is best posted here or on stackoverflow, but since I think I've isolated the problem ...
djibouti33's user avatar
0 votes
0 answers
4k views

(111: Connection refused) while connecting to upstream, client

I'm trying to setup an Nodejs/Express api on elastic beanstalk, and I'm pretty new to it. I'm getting this message in the error.log: 2019/10/02 17:04:17 [error] 5515#0: *15 connect() failed (111: ...
schoenbl's user avatar
  • 101
0 votes
1 answer
98 views

Why there are so many /API/updateV2.php logs in nginx from AWS Elastic Beanstalk?

I have a nodeJS app deployed in AWS EB, the app does not have any http server (is just doing a background task), but EB is warning me every minute the requests are 100% with 5XX, and from the logs I ...
Enrique's user avatar
  • 143
0 votes
2 answers
6k views

NGINX Set client_max_body_size For One Route on AWS Elastic Beanstalk

I have a Node.Js application deployed to Amazon Elastic Beanstalk. When uploading a file, I get the following error: 2019/03/04 17:00:42 [error] 4325#0: *722 client intended to send too large body: ...
Florian Ludewig's user avatar
1 vote
1 answer
622 views

How to setup python3, numpy, nltk in my elastic-beanstalk?

I have deployed my project in elastic-beanstack, I need to setup python3, numpy and nltk environment to it. We have a python code with python3, numpy and nltk, We are interacting to python code with ...
fernandus's user avatar
  • 143
1 vote
1 answer
427 views

Elastic Beanstalk: Update AMI + node version at the same time

We have a system that's been sitting on an old version of node for a long time and wanted to update to a newer version. Updating via the web dashboard doesn't allow you to change the node instance ...
ChrisJ's user avatar
  • 295
0 votes
0 answers
772 views

No network connection on Multiple docker container in Elastic Beanstalk

I'm trying to deploy a multiple docker container to Elastic Beanstalk. There is two containers, one for the supervisor+uwsgi+django application and one for the JavaScript frontend. Using docker-...
dfranca's user avatar
  • 135
0 votes
1 answer
2k views

How to get node app running on Amazon EC2 instance to start on reboot?

So I have Node/Express app running on an Amazon Linux Ec2 instance (VPC). The path to my node app is as follows /home/ec2-user/server/server.js If I run which forever I get ~/.nvm/versions/node/v6....
jdog's user avatar
  • 1
0 votes
1 answer
299 views

AWS deploying strategy for cached page/app

We have a Single Page App with server-side rendering enabled. We hosted on AWS ELB. The application assets (js, css files) has a hash in the filename, to control the caching on the client/proxy ...
user1016265's user avatar
0 votes
1 answer
657 views

Running `npm install` in git submodule before deploy finishes in Elastic Beanstalk

My Node.js project has some git submodules (this is something that cannot be easily changed right now, so I can't use a package registry like npm) While EB will automatically init and update the ...
Henrique Barcelos's user avatar
1 vote
0 answers
869 views

Amazon Elastic Beanstalk with File Access to Amazon S3

i've a problem with my Amazon Elastic Beanstalk and Amazon S3 setup. From the EB instance i want to load a file with node (fs.readFileSync), i tried a ton of configurations - but non of them worked, ...
Michael J. Zoidl's user avatar
1 vote
1 answer
521 views

How do I get the SSH key of my EB instance so that I can give it deployment access in BitBucket?

I am building a node.js app that is hosted by AWS Elastic Beanstalk. One of the dependencies is hosted on BitBucket. I have specified the Git SSH url in the package.json file and everything works on ...
sdgfsdh's user avatar
  • 109
4 votes
1 answer
5k views

AWS Elastick Beanstalk + Node JS + HTTPS = Connection Refused

I have a node js app deployed on AWS, using Elastic Beanstalk with a single instance. It works well with HTTP but I am having trouble setting up the HTTPS access. I created my certificate and ...
ErezSO's user avatar
  • 161
1 vote
1 answer
2k views

Node path on elastic beanstalk

It seems I have node installed in this directory here on my elastic beanstalk instance, however I do not have a node command available on the system. $ ls -la /opt/elasticbeanstalk/node-install/ ...
ThomasReggi's user avatar
2 votes
1 answer
3k views

AWS Elastic Beanstalk - Node not found after creating NodeJS instance

Using AWS Elastic Beanstalk I chose to launch an instance that runs NodeJS. EC2 instance launched but when I check what version of node is running I get this: node --version -bash: node: command ...
dev.e.loper's user avatar
6 votes
2 answers
5k views

Does elastic beanstalk run the postinstall from a package.json file?

I am using elastic beanstalk to deploy a node.js app. In my scripts section of package.json I have: "scripts": { "start": "node_modules/.bin/coffee server.coffee", "test": "NODE_ENV=test ...
Shamoon's user avatar
  • 911
7 votes
2 answers
3k views

Elastic beanstalk access private git repo

I am trying to currently add an ssh key to my elastic beanstalk instances using .ebextensions commands. The keys I have stored are in my application code and I try to copy them to the root .ssh ...
user221676's user avatar