Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [elastic-beanstalk]

AWS Elastic Beanstalk is a PaaS (Platform as a Service) service that allows you to quickly deploy and manage applications in the AWS cloud. Elastic Beanstalk handles the deployment details of capacity provisioning, load balancing, auto-scaling, and application health monitoring.

2
votes
1answer
13 views

AWS Instances breeding and dying for no apparent reason

This has happened a couple of times since we moved our cluster project from Google to AWS. We have an EFS volume that's mounted on a load-balanced cluster in a Beanstalk project. I will be in the ...
1
vote
1answer
22 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 ...
0
votes
0answers
8 views

HTTP Health Check For Elastic Beanstalk App Triggers Scale / Capacity rules

I have an Elastic Beanstalk application that is running a wordpress application, and I would like some monitoring and scaling triggers for when the health check, the homepage, returns an HTTP response ...
1
vote
0answers
17 views

Status of “No data received from the instance” in Beanstalk. Cannot SSH or FTP

I have a WordPress install on Beanstalk with EC2 and RDS. I'm very new to AWS. Yesterday the site became unresponsive and had a status of 'No data received from the instance'. When I try to request ...
0
votes
1answer
12 views

How to update existing ElasticBeanstalk tomcat environment to 8.5

I have an old EBS environment, running Tomcat 8.0. I want to update to 8.5, since it's the new one and 8.0 is no longer supported. How can I do that? The upgrade button just let me update the AMI to 3....
-1
votes
0answers
42 views

AWS - Environment health has transitioned from Ok to Warning notification

I am facing a "Warning" notification in Elastic Beanstalk. How can I determine the reason for this error? I have checked instance CPU USAGE in a CloudWatch but it was set maximum 58.9% during warning ...
0
votes
0answers
11 views

Elastic Beanstalk not running correct PHP Version

Can someone please help me, I don't understand what is going on. I just set up a working environment and the image I chose for the machine was PHP 7.2. When I try to deploy to the environment I am ...
1
vote
0answers
45 views

HTTPS on Wordpress hosted on AWS Elastic Beanstalk

I'm trying to force https over HTTP protocol for my website. I have managed to force the http://example.com => https://example.com and all blog post URLs. However, when I try to access https://...
2
votes
1answer
24 views

Is there a way to change ciphers accepted by a Tomcat server running in AWS Elastic Beanstalk?

We've got our Tomcat application running in a load-balanced Beanstalk environment, and we've got HTTPS up and running. But I've found that if I try to connect to web services hosted by that ...
0
votes
0answers
29 views

Can I use elastic beanstalk if I am a lightsail user?

Can I use elastic beanstalk if I am a light sail user. After creating an instance I can't find an instance in ec2>instance
1
vote
0answers
21 views

/home/webapp: No such file or directory elastic beanstalk

When I deploy my ruby app on aws using elastic beanstalk. Following error occur. pass log App 20278 stdout: intializing git App 20278 stderr: error: could not lock config file /home/webapp/.gitconfig:...
-1
votes
0answers
24 views

Install TrendMicro DeepSecurity on ElasticBeanstalk WindowsServer 2016 without reboot?

Is there a way to achieve the installation through .ebextension without the need of a reboot. What I'm doing is disabling real time monitoring of WindowsDefender and then install DeepSecurity as a ...
0
votes
1answer
44 views

How to see what is my Amazon rds password

Hi I think it is possible to rest Amazon rds password, I mean db password. Is it called master password. I mean RDS-PASAWORD. But any way to see current rds password. I searched internet for a long ...
1
vote
0answers
16 views

Elastic Beanstalk - Deploy Timeout Error

I recently pushed a few big code changes to my staging environment that I attempted to deploy to my ElasticBeanstalk environment, but it failed and I am stuck on what could be causing the error, ...
1
vote
0answers
12 views

Is it possible for Elastic Beanstalk to use a full domain name for a health check?

My company has a large application that hosts 3 separate domains with a centralized core. In moving from Heroku, we've gone with Elastic Beanstalk which largely has been just fine. However, since ...
1
vote
1answer
39 views

Can Windows 2016 EC2 instance provisioned by ElasticBeanstalk be connected to SSM

Can Windows 2016 EC2 instance provisioned by ElasticBeanstalk be connected to SSM in AWS? I'm specifically asking this as I don't see the EB default role containing any SSM policies.
1
vote
1answer
46 views

How can I use a static IP address with an Application Load Balancer in a highly available manner?

I'm overseeing an integration for a customer and their vendor needs a number of IP Addresses to whitelist. The originating server(s) is an Elastic Beanstalk Instance fronted by an Application Load ...
1
vote
1answer
21 views

How to assign a private IP dynamically generated with AWS Cloudformation?

I have an AWS Cloudformation, and I want two EC2 instances A and B on a private subnet under the same VPC. In the application, I need A to access B. How can I configure A with the dynamically ...
0
votes
0answers
8 views

Handling trailing spaces in Elastic Beanstalk environment properties

I need to add an environment property where the value ends in a whitespace. The problem is that no matter what I try, the space is trimmed away when I save. In the Elastic Beanstalk console under ...
0
votes
0answers
59 views

Data lost in AWS EC2 after reboot

After rebooting an EC2 Instance under Elastic Beanstalk environment I have lost most of the website related data which was stored in webroot. Webroot is showing a different version of datas which are ...
0
votes
0answers
16 views

AWS Elastic Beanstalk: Routing system mails to real email address?

How can I from within Elastic Beanstalk instances have system emails routed to a real email address instead of just piling up in like /var/spool/mail/root? I thinking of both system-wide emails by ...
0
votes
2answers
14 views

AWS Elasic Beanstalk : Retrieving environment URL from within instance?

From within a Beanstalk instance, how can I programmatically retrieve the URL for my environment? I need to know this because the instances need to know whether they are running in production or I ...
1
vote
1answer
32 views

Can i run c++ on aws elasticbeanstalk in php application

Since cloud instance is just a machine hosted remotely it should be able to behave like a local server. I have written some programs in C++ which I usually call in a PHP file through exec() function ...
1
vote
0answers
35 views

Elastic Beanstalk environment and security group config for ELB health checker?

I have an Elastic Beanstalk environment that I can't get Health Checks to work on. Here's my Elastic Beanstalk's Load Balancer configuration: My healthcheck URL is /status/ My EC2 security group (...
0
votes
1answer
43 views

Can ssh to EC2 instance but can't eb ssh

When I try to SSH to a certain one of my EC2 instances, it works fine: ssh -i "jason.pem" ec2-user@ec2-34-222-8-173.us-west-2.compute.amazonaws.com # the above works When I try to do eb ssh it doesn'...
1
vote
1answer
48 views

AWS Elastic Beanstalk S3 log archiving and instance termination/recreation

I've recently moved an application to Elastic Beanstalk. I'm currently in the process of setting up log files to be archived. One of the business requirements is x days of log retention, which is ...
0
votes
1answer
37 views

OwnCloud error deploying to AWS: The username is already being used (not WebDAV related)

I have an instance of Owncloud running on AWS Elastic Beanstalk I’m just deploying it from the docker, so I have a very simple Dockerrun.aws.json { "AWSEBDockerrunVersion": "1", "Image": { "...
0
votes
2answers
150 views

Apache (2.4) only serves 1st virtual host found on elastic beanstalk server

I have an Elastic Beanstalk server which I am using for my employer's main site, example.com and they want me to host one of their ancillary sites on it: go.example.com. So I just created a new ...
0
votes
0answers
197 views

Elastic Beanstalk environment stuck in invalid state with “resource(s) failed to update: [AWSEBAutoScalingGroup]”

I'm in a catch-22: I cannot change the configuration of my Elastic Beanstalk environment because it is not in a "READY" state and I cannot put it in a ready state without changing the configuration. ...
0
votes
0answers
123 views

Elastic beanstalk nginx gateway timeout nodejs

Hiii, My elastic beanstalk recently started to report that "100%" of requests are failing due to some 5xx error. This error somehow goes away when I restart my app servers. I found out that it is 504 ...
1
vote
1answer
50 views

ElasticBeanstalk environment URL points to old EC2 instance IP

For some reason I manually terminated the EC2 instance of my EB environment more than a week ago. A new instance started, and I thought it was all fine. However, today, I see that my EB environment ...
0
votes
1answer
491 views

Nginx doesn't find ssl_certificate in docker, even though it's there

I'm running multidocker on AWS EB. The setup looks like this: Dockerrun.aws.json (xxx as placeholder for the domain. The app is not secure) { "AWSEBDockerrunVersion": 2, "volumes": [ { ...
0
votes
0answers
37 views

EB: Environment health has transitioned from Info to Severe

I have just created a new environment on Elastic Beanstalk and managed to deploy first time to it. However, after the deploy finished (on Green state of course) the application on EB went to Red ...
1
vote
2answers
34 views

Releasing Elastic IP on EC2 had Cloudfront stop working

I had reached the limit of Elastic IP allocations in my AWS account. I have an Elastic Beanstalk app that is being served over Cloudfront. I thought since the app's CNAME was mapped to Cloudfront's ...
1
vote
2answers
119 views

WordPress admin pages timeout, or take 30s to load on Elastic Beanstalk, PHP 5.6, Apache, RDS, and CloudFlare

I recently migrated a WordPress website I inherited over to AWS from Rackspace and am experiencing large performance decreases. I'm pretty new to the whole DevOps thing so I'm not sure where to start ...
0
votes
0answers
140 views

AWS Elastic Beanstalk - can't db:reset / db:seed Rails app after SSH

I'm stuck deploying my (second) Rails 5.2 app to AWS using Elastic Beanstalk. The code is deployed fine, but the PostgreSQL 9.4.18 database is causing problems. EB correctly created the RDS instance. ...
0
votes
0answers
97 views

Deploy to AWS EB and immediately get probed by Chinese-sounding hack

That's twice now I've deployed separate apps to AWS via Elastic Beanstalk and within 12 hours of instantiation, while I'm looking through the log files I see this: ------------------------------------...
0
votes
1answer
24 views

DNS fail on Google Search Console

I've some domais that are hosted on AWS Elastic Beanstalk. Despite the fact that the doman are reacheable (https://localfitness.com.br) by the browser, when I try and ping tool the results are always ...
1
vote
1answer
77 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 ...
0
votes
0answers
41 views

Bundling multiple WAR files for in Elastic Beanstalk

Our application has multiple WAR files. I've been following the documentation here to try and bundle them, however I'm using the pre-configured Docker + Glassfish template rather than Tomcat: https://...
2
votes
0answers
250 views

AWS EB with python 3.6 errors and uses python 2.7

How do I get the aWS EB instance to use the python 3 version that is already installed on the instance? I can't get a new environment running with Python 3.6 running Django 2.1+. Local (not in ...
0
votes
1answer
196 views

What is my resolver on an AWS Elastic Beanstalk nginx?

I have a nginx in docker on an AWS Elastic Beanstalk. I need to provide the resolver of nginx. What resolver do I need to use? I read about: resolver 169.254.169.253; OR resolver 172.16.0.23; And ...
0
votes
1answer
36 views

What's the simplest way to make a git push on a branch automatically deploy to my AWS Elastic Beanstalk environment?

I want to be able to make a commit to my repo via GitHub WebUI, and have a webhook start a eb deploy process of the new HEAD commit automatically. I understand there are tools for this (CodePipeline/...
0
votes
1answer
134 views

How to control AWS Elastic Beanstalk auto scaling based on average response times if one endpoint is expected to take circa 60 seconds

We auto-scale our Elastic Beanstalk Java Application based on the average response times exceeding 3 seconds. When this happens we add 2 instances to our environment. Once we are back within 1.5 ...
0
votes
0answers
172 views

AWS Elastic Beanstalk ACM SSL certificate installation without load balancing

Reading through the AWS docs just now, it appears that: I can get a free SSL/TLS certificate from Amazon for use with certain AWS services. This is facilitated via the ACM (AWS Certificate Manager) ...
0
votes
0answers
14 views

failed to create: [MyElastiCache] when trying to add ElastiCache to Elastic Beanstalk deployment

I'm trying to add ElastiCache to my rails deployment on Elastic Beanstalk. I've followed the instructions, but am getting the following error when trying to deploy: Uploading: [#######################...
0
votes
1answer
27 views

Can I change the user that runs a java Elastic Beanstalk app

I'm successfully running a Java app in Elastic Beanstalk. Is there anyway I can control the ID of the user that starts the app? It looks like it by default it's running as user webapp - I have no ...
0
votes
0answers
105 views

Redirect for non-www to www not working for https

I am attempting to redirect all non-www requests to www with my nginx server, but despite successfully redirecting the http request (http://example.com to https://www.example.com), the https request ...
0
votes
0answers
25 views

Nginx - Root Not Redirecting to www Despite Records and Server Block

I am trying to redirect non-www requests to www, but it appears that either my Nginx config is not running the redirect in the below server block or the fact that SSL is enabled, but not for the non-...
1
vote
1answer
55 views

Losing database connection with high traffic on AWS - not sure where to start troubleshooting

I'm designing a highly available WP site on AWS using Elastic Beanstalk, and testing use load with a Locust. Everything looks alright: my EC2s are t2.mediums, auto scaled over 3-6 availability ...