Questions tagged [amazon-elastic-beanstalk]

AWS Elastic Beanstalk is a PaaS (Platform as a Service) service from Amazon Web Services that allows users to create applications and push them to a definable set of AWS services.

0
votes
0answers
8 views

React App + Docker + Bitbucket Pipelines to Elastic Beanstalk

I am trying to create CI/CD workflow for a small project I am part of. It consists of react app, which is dockerized (nginx) and running on a server. But this approach is not best, so I would like to ...
0
votes
0answers
7 views

How to connect AWS MSK with Elastic Beanstalk nodejs environment using kafka-node

I'm trying to connect AWS MSK with Elastic Beanstalk nodejs environment using kafka-node, how to do that? After installing apache Kafka locally and testing it with Kafka-node successfully, I wanted ...
0
votes
0answers
6 views

Container.image contains invalid characters [AWS elastic-beanstalk]

I am trying to deploy a node.js application to elastic-beanstalk, i have setup a travis deploy pipeline. But the application fails to deploy Dockerrun.aws.json { "AWSEBDockerrunVersion": 2, "...
0
votes
1answer
26 views

I would like to see the rails application in elastic beanstalk, but I can be angry at the ruby ​version

I would like to see the rails application in elastic beanstalk, but I can be angry at the ruby ​​version. However, no description of 2.4.1 can be found anywhere. What kind of problem do you think? ...
0
votes
0answers
43 views

Deploy Java Website to AWS Elastic Beanstalk

I am trying to deploy a web app that consists of 1 html, 1 jsp, and 3 servlets (and some css and images). The web app uses a mysql database that I am hosting in a AWS RDS instance. I used this guide ...
0
votes
3answers
22 views

How to connect PostgreSQL RDS to spring boot in elastic beanstalk?

I have a spring boot app that can already connect to a local Postgres in my laptop. I uploaded my spring boot jar file to elastic beanstalk and it is deployed fine I can see everything in my app ...
0
votes
0answers
18 views

How to update freetype on amazon elastic beanstalk php

I am trying to update freetype on elastic beanstalk php but not sure of the full process. It comes with freetype 2.3.11 which is quite old and is causing problems with my application. I have added a ...
0
votes
1answer
29 views

Redirection to https not working using AWS Elastic Beanstalk

I have created a environment for my application using AWS Elastic Beanstalk. I have enabled https using the load balancer configuration. I want to redirect traffic from http to https. I have tried all ...
0
votes
0answers
21 views

How to deploy Django application using Django-background-tasks on AWS beanstalk?

I am using Django-background-tasks in my application, it worked fine for me on my local machine, I am trying to deploy the website to AWS elastic-beanstalk. I wanted to know how to mimic the 2 cmd ...
-1
votes
2answers
37 views

Cors issue with .NET Core, Angular, Signalr, and AWS

I am using Angular 8 client to connect to an AWS beanstalk hosted .NET Core API that runs Signalr. This code was all running perfectly fine while I was running my Angular app locally. But as soon as ...
1
vote
0answers
31 views

AWS Elastic Beanstalk: Not able to configure custom logs

I am new to AWS elastic beanstalk and trying to stream my application log file to Cloudwatch logs using configuration file (.ebextensions.) I'm reusing the same configuration code provided here I ...
0
votes
1answer
29 views

Elastic search advanced query for showing price changes on time series indexes

I have separated my time-series data into day wise indexes. Let's say I have 2 days indexes. 1) index1 data-timeseries-14-04-2019 : example data: {{"_id": 1, "product_name": "mobile1", "...
0
votes
0answers
12 views

Avoid CSRF error on AWS EBS when making a request trough a subdomain

I created a subdomain like api.domain.com and used a CNAME to redirect it to the URL of a nodejs backend running on AWS Elastic Beanstalk, the issue I got is that when I make a POST request using the ...
1
vote
0answers
29 views
+50

ssh tunnel script hangs forever on beanstalk deployment

I'm attempting to create a ssh tunnel when deploying an application to aws beanstalk. The script is hanging forever on the deployment. I want to put the tunnel as a background process that is always ...
-1
votes
0answers
6 views

Deployed Meanstack in AWS Elastic beanstalk and codepipeline but changes made in code are not reflecting server

Developed Mean Stack Application and Deployed in AWS elastic beanstalk and opted for codepipeline for continuous integration and Delivery , but code changes made in application are not reflecting in ...
1
vote
0answers
27 views

How can I set permissions to a specific folder with Elastic Beanstalk using a C# ASP.NET Core app?

I'm new to ASP.NET Core and I'm building an app. One of the functionality that works locally is uploading a file and saving it to a wwwroot/uploads folder that I've created. I have no issues saving ...
0
votes
0answers
18 views

Process substitution command in . ebextensions

I'm trying to install Netdata in my aws beanstalk instances. I created a config file in my .ebextensions folder container_commands: 00install: command: "bash <(curl -Ss https://my-netdata.io/...
0
votes
1answer
13 views

Are there any tools/processes for narrowing down the root caus of an extended TTFB/Server wait time?

I've recently taken over the management of an e-commerce site. It is running on AWS (deployed through Elastic Beanstalk), based on Woocommerce/Wordpress with a custom theme and some custom javascript ...
0
votes
0answers
17 views

How to convert from docker-compose to Dockerrun.aws.json

I have a project that need to run multiple containers and I want to put it in Elastic Beanstalk. I already have docker-compose.yml and I want to convert it to Dockerrun.aws.json Here is my docker-...
0
votes
1answer
26 views

Add www on Elastic beanstalk & Route 53

At the moment I have web https://youhire.ie/ they are built by Rails 5 with AWS Elastic Beanstalk and it's working fine. but one thing I like add https://www.youhire.ie/ and I have it add on route53, ...
0
votes
0answers
14 views

Toggle Elastic Beanstalk load balancer off/on with Terraform?

Load balancers cost an hourly rate (Re)creating EB costs uploads to S3 and takes a long time So for EB that is sitting idle (used only during development), just as EC2 can be scaled down to 0 ...
1
vote
1answer
23 views

Running app with `eb local run` works, but cant actually connect to app

I've got a very straightforward Flask application running in a single docker container. When I run the app using eb local run it "works" in that the docker image is built, and I eventually see the ...
0
votes
0answers
15 views

Multicontainer Docker AWS Elastic Beanstalk Authentication issue

I am getting issue while deploying a multi-docker app on EBS. The docker images are hosted on private org repository. config.json file is hosted on S3. { "https://myorg:8888": { "auth": "...." } ...
0
votes
2answers
49 views

Getting AWS Elastic Beanstalk health code programatically via php

I have an AWS Elastic Beanstalk instance on which I have some crons running. I occasionally have issues Environment health has transitioned from Ok to Severe. 4.5 % of the requests to the ELB are ...
1
vote
1answer
39 views

Elastic Beanstalk environment lost when using SourceConfiguration

I've created a new WebApplication using Codestar on AWS and generally it's working pretty well. The big problem I've got right now, is that the environment variables which I set inside Beanstalk's ...
0
votes
0answers
24 views

how to map ports when deploying docker on AWS EB

I have a service I want to deploy onto an environment in elastic beanstalk. If I want to build it locally I would use this line: docker run --detach --name my-nlx-inway (some env en volume parameters)...
0
votes
0answers
12 views

Enabling Managed Updates Elastic Beanstalk (Windows)

I have been attempting to update my elastic beanstalk configuration to take advantage of managed platform updates for Windows (available with V2 of Beanstalk). However I am not having much luck due ...
0
votes
0answers
7 views

ElasticBeanstalk Rails asset:precompile Permission denied @ rb_sysopen

I don't understand why ElasticBeanstalk is setting the wrong permissions on the ec2-instance. The deploy script tries to run su -s /bin/bash -c 'bundle exec /opt/elasticbeanstalk/support/scripts/...
0
votes
1answer
29 views

How do I change the load balancer attached to elastic beanstalk

I deleted the original load balancer that was associated with my environment and used another. Now the environment shows red although the instances in the target group are healthy and the app is ...
1
vote
1answer
23 views

Pool size isn't spawning enough processes

I am running Passenger with Ruby 2.5 running on 64bit Amazon Linux/2.9.3 and I am trying to pass arguments via command line to increase --min-instances & --max-pool-size the code involved in ...
0
votes
0answers
15 views

Can i use aws reserved instance with elastic beanstalk [duplicate]

How do i use an AWS reserved instance with elastic beanstalk. I only see tutorials on using reserved instance on ec2 instance but not elastic beanstalk.
0
votes
0answers
28 views

AWS Elasticbeanstalk with Dajngo: Incorrect application version found on all instances

I'm trying to deploy a django application on elasticbeanstalk. It has been working fine then suddenly stopped and I cannot figure out why. When I do eb deploy I get INFO: Environment update is ...
1
vote
0answers
30 views

why is Python2.7 rather than Python3.6 being install on elasticbeanstalk

I'm following this tutorial (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-django.html#python-django-configure-for-eb) to work out how to set up a Django application on ...
3
votes
2answers
76 views

AWS: add second internal load balancer to elastic beanstalk in terraform

Is it possible to manipulate beanstalk's autoscaling group and target group in terraform adding additional (internal) load balancer? If yes, how? I want to have 2 load balancers one internal and the ...
0
votes
0answers
23 views

How does AWS Elastic Beanstalk fulfil characteristics of cloud computing

I am quite new to cloud computing. I've learned that AWS Elastic Beanstalk takes care of everything in background for the user, but how does it do it exacly ? Suppose I've deployed a backend written ...
0
votes
1answer
26 views

Deploying process nodejs + sequelize on aws beanstalk

I'm using node + sequlize js on aws beanstalk. I've several questions related to deploying process: How to deploy automatically master to beanstalks? should I use some bash script? How to run ...
0
votes
1answer
17 views

Delete Elastic Beanstalk Cron

I am using elastic beanstalk's cron.yaml to trigger periodic tasks. It works great, however, if I redeploy my code the cron gets fired twice. Deploy again and the task will get fired 3 times, etc. How ...
3
votes
1answer
52 views

Unable to hit shopify requests from ec2 instance

Everything was working fine till yesterday/today midnight. But today we are unable to access shopify REST apis from our ec2 instance located in Bombay (ap-south-1). The dns resolves correctly to the ...
2
votes
1answer
33 views

Images folder lost after Elastic Bean Stalk restarted. Any way to restore them?

I had recently faced some issue with the application (Django Application) because of which I had to restart my Elastic Bean Stalk. Once the application has been restarted I lost my data which was ...
-1
votes
0answers
17 views

What do I need to put in the jar file for a java web app package uploaded to create an Elastic Beanstalk environment?

I am getting an error deploying an AWS Web App on AWS Elastic Beanstalk by uploading a package through the AWS Beanstalk Console to create an environment. The error says that the package does not have ...
0
votes
1answer
40 views

Deploy Nuxt Universal App on AWS Beanstalk 502 Bad Gateway Nginx

I try to deploy Nuxt universall app into AWS Beanstalk with Nginx. But it always 502 Bad Gateway. I already deploy including .nuxt folder and add Node Command npm start.
0
votes
0answers
10 views

codeigniter aws rds database connection problem

im getting this error: Unable to connect to your database server using the provided settings. this is my database connection: $db['default'] = array( 'dsn' => '', 'DB_HOST' => $_SERVER['...
0
votes
0answers
12 views

Why does Elastic Beanstalk node in AWS Toolkit in Eclipse not show my environments?

I'm using the latest Eclipse IDE for Java Developers, Version: 2019-03 (4.11.0), Build id: 20190314-1200, with Java 12.0.1 and AWS Toolkit v2. I am following this documentation in the first topic, ...
0
votes
0answers
11 views

Check pip installed in AWS beanstalk command

I used AWS beanstalk and have command for install pip. It always run when i try eb deploy. I want optimize it by check pip installed or not before run it. my command in .ebextensions/02_update_pip....
1
vote
1answer
62 views

How can I nest a serverless Step Function / State Machine / Lambda build into an existing AWS CloudFormation ElasticBeanstalk Application?

I have written a service using AWS Step Functions. I would like to integrate this into our applications existing Elastic Beanstalk development process, wherein we have distinct dev, staging, and ...
0
votes
0answers
59 views

Error in Eclipse Java with AWS Toolkit updating Elastic Beanstalk environment - javax/xml/bind/JAXBException

I'm using the latest Eclipse IDE for Java Developers, Version: 2019-03 (4.11.0), Build id: 20190314-1200, with Java 12.0.1. When I try to start a server to run my aws web project in Eclipse with AWS ...
0
votes
0answers
32 views

EC2 Instance not responding state repeatedly

Our EC2 instance are going to not responding every 15-20 minutes after which I have to restart the app servers with the following information on the EBS dashboard: No data received from the instance....
0
votes
1answer
20 views

AWS Elastic Beanstalk - Shared counter variable between instances

I have a Python Flask app running on Elastic Beanstalk with auto-scaling enabled. Now I would like to have a global counter variable that can be accessed and updated by all running instances in real-...
0
votes
1answer
16 views

Handle subdomain on nginx running on Docker based ElasticBeanstalk

I have a scenario composed by a frontend and backend Docker containers and another container for the nginx reverse proxy. Currently, the nginx configuration points the url http://example.com to ...
0
votes
0answers
26 views

AWS Elastic Beanstalk log time deploy Python Django

I use AWS Elastic Beanstalk and have an issue when trying deploy new feature code in Python Django. It takes so much time - about 30min. I don't know why and I wish have any ideal how to check it. My ...