9,234 questions
Best practices
0
votes
2
replies
62
views
Best way to structure solution on AWS
Let's say there's a VM on AWS that is being used to host multiple instances of the same web app.
The web app has a React front end and an ASP.NET Core backend, and the VM runs IIS.
Each instance of ...
1
vote
1
answer
88
views
AWS Elastic Beanstalk.InvalidParameterValue [closed]
I modified my Terraform Repository
several times in order to Deploy an AWS ElasticBeanstalk on my Free Tier AWS Account, but without success.
The API error seen on Terraform is always the same :
"...
0
votes
0
answers
36
views
Troubleshooting Tips for Network Timeout Errors from Elastic Beanstalk to Cloudflare IPs
I recently experienced a network-related issue on my Elastic Beanstalk instance which I'm not sure how to troubleshoot.
My instance makes network requests to an API (let's call it api.site.com) which ...
1
vote
0
answers
69
views
Puppeteer PDF generation fails on Elastic Beanstalk with "Could not find Chrome" error
I am trying to generate PDF invoices using Puppeteer in my Node.js app. Locally, the code works perfectly and generates the PDFs as expected.
However, when I deploy the app to Elastic Beanstalk (...
364
votes
17
answers
180k
views
SSH to Elastic Beanstalk instance
I just signed up for Amazon's new Elastic Beanstalk offering. What I can't figure out is how to SSH to a Beanstalk instance. I don't have a private key because Beanstalk generated the instance on my ...
25
votes
3
answers
97k
views
ModuleNotFoundError: No module named 'imp'
I need to install the eb command on windows.
I would like to try to deploy an application on AWS using the elasticbeanstalk service, and through this command you can configure and deploy an ...
0
votes
2
answers
121
views
Sidekiq job lost when deploying to Elastic BeanStalk
I have a Sidekiq Enterprise version. My app is running on Elastic BeanStalk (web and worker env). Also I use ElastiCache service for Redis. Before this, the application was running on a Linux system. ...
100
votes
19
answers
77k
views
AWS Elastic Beanstalk, running a cronjob [closed]
I would like to know if there is a way to setup a cronjob/task to execute every minute. Currently any of my instances should be able to run this task.
This is what I have tried to do in the config ...
-1
votes
1
answer
45
views
Why is my ElasticBeanstalk environment showing 502 Bad Gateway for ASP.NET Core Web API? [closed]
I have an Elastic Beanstalk environment that was running fine when I was using SQL Server RDS database, but now I wanted to switch to Postgresql.
This is my appsettings.json config file:
Here is my ...
411
votes
3
answers
168k
views
Difference between Amazon EC2 and AWS Elastic Beanstalk [closed]
What is the difference between EC2 and Beanstalk? I want to know regarding SaaS, PaaS and IaaS.
To deploy a web application in Wordpress I need a scalable hosting service. If there anything better ...
0
votes
0
answers
54
views
IdentityServer 4 on AWS Elastic Beanstalk — OpenID Discovery Returns HTTP Endpoints Instead of HTTPS
I'm deploying an ASP.NET Core 9 Web API using IdentityServer 4 on AWS Elastic Beanstalk with an Application Load Balancer (ALB) and a valid ACM certificate.
What works:
SSL certificate is correctly ...
0
votes
3
answers
84
views
Web API not showing swagger UI after Elasticbeanstalk deployment
I just deployed my web api to elasticbeanstalk but it doesn't render anything, even swagger ui. This is my environment which shows that the status of it is healthy and okay:
Then this is the ...
0
votes
1
answer
72
views
Elastic Beanstalk app fails to deploy without public IPs on instances
I can't get an elastic beanstalk app with a public ELB but private EC2 instances to work.
I created a basic eb config with eb init. This results in the following config:
branch-defaults:
default:
...
0
votes
1
answer
105
views
Medusa.js on AWS login into admin dashboard
I want to run medusajs backend on an aws ebs stack. So far I got the application running, but I can't login with the admin account.
I get a 200 from /auth/user/emailpass but a 401 from /auth/session.
...
129
votes
10
answers
68k
views
AWS EC2 Auto Scaling Groups: I get Min and Max, but what's Desired instances limit for?
When you setup an Auto Scaling groups in AWS EC2 Min and Max bounds seem to make sense:
The minimum number of instances to scale down to based on policies
The maximum number of instances to scale up ...
0
votes
0
answers
32
views
500 Error when uploading file on ElasticBeanStalk using Livewire
I'm trying to upload an image of 50kb to AWS S3 using Livewire. As soon as I select the image for upload, a 500 error pops up. I have tried tracking the issue but I have not being successful. Although,...
92
votes
23
answers
57k
views
How to force https on elastic beanstalk?
I can't seem to force https on the free usage tier of elastic beanstalk.
I have tried the following suggestion at How to force https on amazon elastic beanstalk without failing the health check
...
65
votes
5
answers
41k
views
AWS - What are the exact differences between EC2, Beanstalk and LightSail?
What are the exact differences between EC2, Beanstalk and LightSail in AWS?
What are good real time scenarios in which I should use these services?
1
vote
2
answers
174
views
FastAPI Background Task Bad Gateway on Elastic Beanstalk
I have a REST API made using FastAPI that (apart from this issue) runs completely fine, whether hosted locally or on Elastic Beanstalk.
However, I have one endpoint that starts a background task (...
85
votes
6
answers
33k
views
Beanstalk: Node.js deployment - node-gyp fails due to permission denied
Deployment of a Node.js application (Node 6, npm 5) to Beanstalk fails with:
gyp ERR! stack Error: EACCES: permission denied, mkdir
'/tmp/deployment/application/node_modules/heapdump/build'
though ...
8
votes
3
answers
10k
views
Elastic Beanstalk says 'aws-elasticbeanstalk-ec2-role' does not exist when creating environment
I am getting this error when trying to create an Elastic Beanstalk environment:
"the instance profile aws-elasticbeanstalk-ec2-role associated with
the environment does not exist."
I am ...
3
votes
4
answers
4k
views
Install zip module on php 8.2 amazon linux elastic beanstalk
I'm pretty sure the zip extension was included by default in the amazon managed php elb image.
The usual way to do this was adding a config file like this to .ebextensions
packages:
yum:
...
0
votes
1
answer
108
views
What is the Parameter to access s3 url only once
I have image files stored in AWS S3 bucket, I want to download those files in my application and so I am generating a presigned url. Using this URL, I will be able to download these images.
I am using ...
0
votes
0
answers
339
views
Update Drupal from 10.3.9 to 10.4.0 Composer error
I have a website which had multiples updates in the past years without any issue.
Yesterday I tried to update drupal core from 10.3.9 to 10.4.0. Everything is working fine on my local docker, but when ...
0
votes
0
answers
53
views
Error deploying application to AWS Elastic Beanstalk
I have built a web app using C#/.NET. When I try to upload it to AWS Elastic Beanstalk, I get the following:
ERROR [Instance: i-0e134450ccd949c9f] Command failed on instance. Return code: 1 Output: ...