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.

496 questions
1
vote
2 answers

How to auto-terminate EC2 instances after 24 hours?

An auto-scaling group launches EC2 instances and it appears that instances that run roughly >24 hours begin to degrade in performance. The longest one was running for 3 days until I manually terminated it. That seems unusually long in an…
1
vote
0 answers

Routing https in AWS beanstalk

I currently have an AWS BeanStalk setup. I'm attempting to run my traffic through https. In my beanstalk configuration I have my Document root set to /public. This is because I'm running Laravel and the root path is public. In Route 53 I have…
FabricioG
  • 167
  • 1
  • 7
1
vote
1 answer

Is there a way to have multiple external IP addresses with Elastic Beanstalk?

I'm using Amazon Elastic Beanstalk with a VPC and I want to have multiple environments (workers) with different IP addresses. I don't need them to be static, I would actually prefer them to change regularly if possible. The reason they are in a…
Dev01
  • 11
  • 2
1
vote
0 answers

Docker based Elastic Beanstalk timeout error connecting to RDS

Hope everyone is doing amazingly great just like me until last day. Case Story: 1 I have a laravel(php) based admin panel. 2 I ran and tested it locally by connecting it to a mysql database. 3 I created a docker file and test all things on dockers…
1
vote
1 answer

ElasticBeanStalk instance fails unrecoverably after adding .config file in .ebextensions

The deployment of an EBS instance fails after trying to add a .config file inside .ebextensions directory. The file is named 01commands.config and has the following content: container_commands: collectstatic: command: "echo Test!" …
bjassael
  • 11
  • 1
1
vote
1 answer

How to get a chart for memory usage in AWS Elastic Beanstalk?

How to get memory chart in AWS EBS? Lots of choice there but memory is not one of them. The setup used includes a load balancer.
1
vote
0 answers

How to set up Cloudflare, Custom Domain, SSL, and Elastic Beanstalk without a Load Balancer

Background & Research I am currently in the process of polishing off the infrastructure for a project of mine and I have realised that I have a slight issue when it comes to the SSL certificate installation. I have conducted an exntensive amount of…
1
vote
0 answers

Path specific load-balancing over multiple AWS Beanstalk applications

I currently have two AWS beanstalk applications: One for my web app server (web_beanstalk_env) and one for my api (api_beanstalk_env). They are currently routed through Route 53 as api.example.com => api_beanstalk_env and example.com =>…
1
vote
1 answer

What HTTP status code to avoid instances being marked as unhealthy on AWS Elastic Beanstalk

I am running an application on AWS Elastic Beanstalk. If an instance responds too often with an HTTP status code in the 500 (server error) range AWS marks this instance as unhealthy and removes the instance from the load balancer. I understand this…
1
vote
1 answer

Run PHP Script as a background process in AWS Beanstalk Post Install Hook

UDPATE It turns out that this is the wrong way to use elastic beanstalk. The app would be running, however it would be a hack rather than a correct solution. Use EC2 instead. I'm deploying a PHP application using following setup: Setup Bitbucket…
1
vote
1 answer

move existing content in wordpress to s3

I have a existing wordpress website in Elasticbeanstalk AWS with auto scaling and load balancing and external RDS. while scaling policies are applied I will loose my existing data in EC2 instances so I want to keep it in such a place where I don't…
Alex
  • 172
  • 1
  • 1
  • 8
1
vote
2 answers

AWS describe-configuration-settings returns InsufficientPrivilegesException

I've created a "Programmatic access" user with full read and list permissions on Elastic Beanstalk, provided by a Policy I've created specifically. This means that when I go to the Policy Summary page I see: - Service: Elastic Beanstalk - Access…
RA.
  • 11
  • 2
1
vote
1 answer

AWS: How to download a file using eb ssh cli?

Because of some security restrictions in our AWS environment I can not use SCP (for whatever reason) therefore I was using SSH to download some certain text files containing logs - the command was like this: ssh -i '/home/user/.ssh/website-key.pem'…
1
vote
2 answers

Disable health-check logging in AWS ELB Django Application

I have a Django application running on aws-elastic-beanstalk. I try to disable the logs caused by my health-checks. The health-checks are already routed to a seperate page. Elastic-beanstalk uses Apache + mod_wsgi. Here is a solution that works with…
1
vote
1 answer

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 nodejs Child process. In my local machine it works…