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.

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, including Amazon EC2, Amazon S3, Amazon Simple Notification Service (SNS), Amazon CloudWatch, auto scaling, and elastic load balancers.

AWS Elastic Beanstalk Documentation

9253 questions
4
votes
2 answers

How to access to docker config file in S3 bucket from Elastic Beanstalk instance

I created my Dockerrun.aws.json file and uploaded it during the creation of my Beanstalk (docker) environment. I also uploaded the .dockercfg file created by the "docker login" command into the S3 bucket specified in the Dockerrun.aws.json…
4
votes
3 answers

Access ElasticBeanstalk only via CloudFront

My current setup consists of CloudFront and Elastic Beanstalk. How to configure the security group of corresponding LoadBalancer so only requests from CloudFront can pass the LoadBalancer?
4
votes
1 answer

Download files hosted on elastic beanstalk

My current application is updating JSON files on the amazon elastic beanstalk server. Is there any way to download the current files on the server or access those JSON files?? Just wondered if I can access them before restructuring my server to…
George Reason
  • 173
  • 1
  • 2
  • 13
4
votes
1 answer

elastic beanstalk Enhanced Health Overview : memory is in use

it seems to me that the new elastic beanstalk Enhanced Health Overview always complaining about memory usage is there any real solution to by pass this?
4
votes
4 answers

Running commands upon creation of instances using AWS Elastic Beanstalk

I've been looking at various methods to run commands upon creation of EC2 instances using Elastic Beanstalk on AWS. I've been given different methods to do this through AWS Tech Support, including life cycle hooks, custom AMI's, and .ebextensions.…
4
votes
3 answers

How can I set tags on ec2 instances created by elastic-beanstalk

Is there a way to do this from Beanstalk? or do I have to do it myself once the new instance is up via .ebextensions or something like that?
4
votes
2 answers

Multiple elastic beanstalk environment in one ec2 instance

I am using aws elastic beanstalk to host my django application. We need to setup dev, stage and Prod environment of the application. But whenever I am using eb create command, it is also launching a new ec2 instance for the new environment. Is it…
r.bhardwaj
  • 1,603
  • 6
  • 28
  • 54
4
votes
2 answers

Can I trigger Laravel jobs from a controller instead of using the `php artisan queue` process

We are running our production system on Elastic Beanstalk. We want to be able to take advantage of EBS' worker tiers with autoscaling. Unfortunately, due to how Laravel queue processing works, Laravel expects all queues to be consumed by starting a…
Sam McAfee
  • 10,057
  • 15
  • 60
  • 64
4
votes
1 answer

Rails aws elastic beanstalk deploy error with database adapter

I'm trying to deploy my rails application to aws elastic beanstalk, with guidance of this article. https://medium.com/@jatescher/how-to-set-up-a-rails-4-2-app-on-aws-with-elastic-beanstalk-and-postgresql-3f9f29c046e2#.tnssj8z0o Before starting,…
4
votes
1 answer

Configure apache MPM in Beanstalk for a php/symfony site

I'm using AWS beanstalk to host a php/symphony application. I would like to properly configure apache regarding the machine size, currently t2.small, ie. 1 core, 2 GB RAM, which is pretty small. apachectl -V gives me this : Server version:…
mathieu
  • 2,330
  • 2
  • 24
  • 44
4
votes
2 answers

AWS BeanStalk environment running multi-container Docker fail to start with Health: Severe

I am trying to launch an AWS BeanStalk environment running multi container Docker but it fails with the following list of events: 2016-01-18 16:58:57 UTC+0100 WARN Removed instance [i-a7162d2c] from your environment due to a EC2 health check…
4
votes
2 answers

AWS Elastic Beanstalk: Environment Fails to Launch

I have created a few environments before so I know how the Amazon EBS works however lately I have been having the following issue while creating an environment: The instance profile aws-elasticbeanstalk-ec2-role associated with the environment has…
Bhavik P.
  • 905
  • 3
  • 10
  • 28
4
votes
0 answers

Tomcat can't write to the filesystem on aws EB

I'm deploying a war file (Thingworx Iot Software) on tomcat with elastic beanstalk. The software is trying to create some folders/files under Several folders (at server root) I've given tomcat permissions to write to. drwxrwxr-x 3 tomcat tomcat …
4
votes
1 answer

mod_mime_magic: can't read `/opt/python/current/app/application.py'

I have an issue when deploying a flask application to my elastic beanstalk instance where apache is complaining about not being able to read the application file. I read somewhere that this may be a permission issue, but I thought elastic beanstalk…
Alex
  • 4,744
  • 2
  • 17
  • 21
4
votes
1 answer

Elastic Beanstalk - how to run specific ebextensions according the the environment and Sidekiq Worker

I'll be running a Rails application on Elastic Beanstalk and I'll have both Web and Sidekiq Worker environments. The problem is that, since they both share the same code, I need to run some specific ebextensions on the worker environment (to…
Berlin
  • 1,456
  • 1
  • 21
  • 43