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
4
votes
1 answer

Elastic Beanstalk .ebextensions .config does not create the files it should

I have the following .config file in the .ebextensions directory of my project: Resources: sslSecurityGroupIngress: Type: "AWS::EC2::SecurityGroupIngress" Properties: GroupId: {"Fn::GetAtt": [AWSEBSecurityGroup,…
narzero
  • 175
  • 1
  • 8
4
votes
1 answer

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 full logs it times out. I can't FTP or SSH into the…
mdailey77
  • 141
  • 1
  • 4
4
votes
4 answers

Can't add RDS database to Elastic Beanstalk environment

I've created maybe 10 Elastic Beanstalk environments with a connected RDS database, but for some reason on this application I'm unable to add an RDS database to my elastic beanstalk environment. I'm adding the RDS database through the Elastic…
awwester
  • 267
  • 1
  • 3
  • 14
4
votes
0 answers

Is is possible to set a default profile for different environments in EB CLI?

I have a project where the testing env is inside my company, and the production env is in the client's AWS account. I was looking for a way to set two different profile names on my project/.elasticbeanstalk/config.global.yml, so the test environment…
igorsantos07
  • 620
  • 7
  • 13
4
votes
1 answer

Elastic beanstalk launched inside of my VPC is having issues launching

I am having issues launching an Elastic Beanstalk application inside my VPC that I created. My VPC looks like the following: id: vpc-a1b name: vpc-green cidr: 10.0.0.0/16 route table: rtb-1ab acl: acl-123 I then have 6…
Blankman
  • 2,891
  • 10
  • 39
  • 68
4
votes
1 answer

AWS Elastick Beanstalk + Node JS + HTTPS = Connection Refused

I have a node js app deployed on AWS, using Elastic Beanstalk with a single instance. It works well with HTTP but I am having trouble setting up the HTTPS access. I created my certificate and followed the instructions from the AWS EB doc:…
ErezSO
  • 161
  • 1
  • 3
4
votes
1 answer

Is it possible (or efficient) to run a complete backend with AWS Lambda (vs say, Elastic Beanstalk)

I'm relatively new to the server world, so forgive me if some of this is basic (and the first bit of text will be me explaining my logic to make sure that's not flawed). All my questions will be bolded, to make your help easier :). I've been…
Matt
  • 171
  • 9
4
votes
1 answer

Can I use CloudFront to serve a WordPress blog from the same domain, but a different server?

We have a website that we serve from Elastic Beanstalk (AWS), and it all works great. We use the built-in load balancer to serve our site over HTTPS, etc. Our database is separated through the RDS service, not on the same EC2 instances as our web…
Sam McAfee
  • 543
  • 1
  • 5
  • 7
4
votes
0 answers

AWS ElasticBeanstalk: container keeps restarting

I'm trying to deploy a multi-container docker Elastic Beanstalk cluster on AWS and my situation is; I have 7 docker containers, six of which are Scala applications each listening on port 9000 for HTTP traffic. The first container is an nginx-proxy…
Ashesh
  • 233
  • 2
  • 13
4
votes
1 answer

Elastic Beanstalk with Passenger Standalone: working configuration?

I'm trying to migrate an elastic beanstalk app from Puma to Phusion Passenger. However, Passenger fails at startup with the error: /opt/elasticbeanstalk/support/conf/nginx_config.erb:48:in `block in write_nginx_config_file': undefined local…
MZB
  • 168
  • 7
4
votes
2 answers

Elastic Beanstalk .ebextensions config script not running on Windows deployment

I have a Microsoft ASP.NET app that I am deploying successfully via Elastic Beanstalk to a server. However, I am trying to run a few config files under the .ebextensions in order to set up certain packages that are used by my application. For…
agarcian
  • 141
  • 1
  • 4
4
votes
1 answer

Can you remap/copy/alias environment variables to new ones in AWS elastic beanstalk?

Right now my database variables are defined as RDS_*, however I'd like to remap them to my app's conventions. This would help in avoiding writing AWS-specific detections inside of my project, which is obviously desirable.
4
votes
2 answers

When using eb CLI is it possible to deploy without using git?

Is there any way to use the AWS EB cli to just push the current state of my project rather than a specific commit? Perhaps there are alternative values than git to the sc parameter in config.yml?
4
votes
1 answer

Dockerun.aws.json referring to bucket of another account

I have the following Dockerrun.aws.json: { "AWSEBDockerrunVersion": "1", "Authentication": { "Bucket": "bucket-of-another-aws-account", "Key": "docker/.dockercfg" }, "Image": { "Name": "docker-image" }, …
Alexander
  • 171
  • 1
  • 4
4
votes
0 answers

Does AWS Elastic Beanstalk Swap Environment Url swaps environments for git push?

I have read the docs for zero downtime on aws but cant seem to understand what happens in this scenario? I have a environment running in production called 'red' I duplicate the environment as 'blue' I use eb init on my app to push to the new…