elastic-beanstalk

Elastic beanstalk require python 3.5

南楼画角 提交于 2019-12-04 12:47:31
I recently created a new python program using the latest stable release of python (3.5). Unfortunately, AWS EB does not provide a 3.5 base image. I have been trying to configure .ebextensions to get the image to upgrade the python distro as it's first action. I have not had success. I have tried the following: Packages packages: yum: postgresql93-devel: [] python35: [] Commands container_commands: 01_install_packages: command: 'yum install -y python35 python35-pip' In the case of container_commands , the log did show python 35 successfully installing. However, our code (in a follow-up command)

Deploying an existing Rails app to AWS Elastic Beanstalk

泪湿孤枕 提交于 2019-12-04 09:58:05
I'm new to Rails and I'm trying to deploy an existing Rails app to AWS Elastic Beanstalk. But all I'm getting is just the "Congralutions Page" (FYI: I'm able to run the app on "localhost:3000" using "rails server" ) I followed the instructions indicated in: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_Ruby_rails.html Any help would be appreciated. Thanks. Here's what I did: # cd /var/www/myapp # bundle update # bundle install # git init # git add . # git commit -m "Initial commit" # eb init // .....configuration // .. # eb start # git add .gitignore && git commit -m

AWS EB deploying Node app: failed to run npm install

会有一股神秘感。 提交于 2019-12-04 07:50:33
I am trying to deploy my node app to AWS. It won't even let me deploy the application (stays as Sample Application ) using eb deploy. Version : 64bit Amazon Linux 2016.09 v4.0.1 running Node.js The logs say Failed to run npm install But am not too sure what else they're asking me to do to fix it. I can npm install just fine locally: ------------------------------------- /var/log/eb-activity.log ------------------------------------- Failed to run npm install. Snapshot logs for more details. Traceback (most recent call last): File "/opt/elasticbeanstalk/containerfiles/ebnode.py", line 695, in

Cannot create a new RDS database on AWS Elastic Beanstalk

混江龙づ霸主 提交于 2019-12-04 07:19:09
After using eb create to create a new environment, I am unable to create a new RDS database inside my environment using AWS console. It required me to select at least at least two availability zones from a list of four. whichever I select I get the error: DBSubnets: Invalid option value: '["subnet-3dbb9564","subnet-b2edb199"]' (Namespace: 'aws:ec2:vpc', OptionName: 'DBSubnets'): Specify the VPC ID and make sure all subnets exist. Using EB CLI with the following command eb create --database.engine postgres , I get a timeout. Environment details for: iod-test Application name: image_of_day2

AWS Elastic Beanstalk - User Permission Problems

孤街醉人 提交于 2019-12-04 07:07:04
I am trying to configure our Node.js application to be deployed with Amazon Elastic Beanstalk. Actually I did a few configuration files inside .ebextensions to enable Websockets, doing yum installs for several modules and to install some custom software we need. So far the App deployment works and all configured software is installed by Beanstalk. The Problem I have is that the nodejs user wich runs the node application, doesnt have permission to execute the commandline tools installed by our beanstalk custom config. To be more concrete: The app supports user file uploads and the uploaded

psycopg2 on elastic beanstalk - can't deploy app

左心房为你撑大大i 提交于 2019-12-04 06:42:53
I'm deploying my first app(Flask) to EB and am hitting a snag. Using PostgreSQL requires that I get psycopg2 installed but I can't figure out how to get it running. I saw in this post ( Psycopg2 on Amazon Elastic Beanstalk ) as well as this post( https://realpython.com/blog/python/deploying-a-django-app-to-aws-elastic-beanstalk/ ) that I need to add a file name .elasticbeanstalk/01_packages.config with the following code: packages: yum: postgresql-devel: [] I've tried different variations with postgresql93-devel: [] and still no luck. Attached below are my error logs. [2015-11-16T21:03:24.749Z

Deployment to Elastic Beanstalk fails with 'Cannot allocate memory' error

不羁的心 提交于 2019-12-04 06:29:00
I built a rails application that I want to deploy to elastic beanstalk. I was able to deploy it to my AWS account but now I want to deploy it to my clients account. For some reason it I get errors when trying to deploy it. Have been able to deploy it to my account from scratch and been able to deploy it to heroku but every time I try to deploy it to my clients account I get a bunch of errors. Are there possible settings that would be different between the two accounts? I don't understand why deploying to the two accounts would be any different. I have tried every solution I could find. Here

How to setup Application Load Balancer for Elastic Beanstalk in AWS

给你一囗甜甜゛ 提交于 2019-12-04 05:53:18
I'm trying to create a new ElasticBeanstalk application with an Application Load Balancer. I'm calling the following commands: $ mkdir HelloWorld $ cd HelloWorld $ eb init $ echo "Hello World" > index.html $ eb create dev-env --elb-type application Output of the last command results in this error: Creating application version archive "app-170821_175709". Uploading HelloWorld/app-170821_175709.zip to S3. This may take a while. Upload Complete. ERROR: Configuration validation exception: Invalid option value: 'null' (Namespace: 'aws:ec2:vpc', OptionName: 'ELBSubnets'): Specify the subnets for the

Codeplex + SVN. How good is SVN bridge?

大憨熊 提交于 2019-12-04 05:50:50
I avoided CodePlex because of it's lack of support for proper SVN and was dissuaded by complaints about short comings. Recently, I have been wanting to port my project from beanstalk over to codeplex because the latter is more social. What problems have you encountered and how good is the support for SVN. How good is the SVN bridge? The client side SvnBridge has been problematic for me when CodePlex had client side program. However, they have moved SvnBridge to their server farms, and it's working really well. I have 3 projects on CodePlex, with 2 of them using their source control. Two of

Difference between rolling, rolling with additional batch and immutable deployments in AWS?

孤人 提交于 2019-12-04 03:55:07
I am using elastic beanstalk to handle my deployments. I read the explanation for these deployment options but it was not quite clear. Could someone explain it in more simpler words please ? I am trying to build a nodejs deployment system. Any help would be appreciated! Thanks! I think this will help a little bit. Immutable – starts by deploying your application code to a single newly created EC2 instance. Once the deployment succeeds on the first instance, the remaining number of instances required to create a parallel fleet are created and the application code is deployed to them. After the