elastic-beanstalk

Could not load file or assembly Magick.Net on Elastic Beanstalk Deployment

这一生的挚爱 提交于 2019-11-29 15:28:00
I am getting the following error when deploying my project to Amazon Elastic Beanstalk: Could not load file or assembly 'Magick.NET-x86.DLL' or one of its dependencies. The specified module could not be found. I have many other DLLs in the bin folder, and this one the only one that throws this error. The DLL doesn't have any dependencies as far as I know. I don't get this error when running locally and the dll is set to "Do not copy" in the advanced options, like the other DLLs. I am running ASP.NET 4.5 / C# Project Running dependency walker on the EC2 server of the Elastic Beanstalk I get:

Connecting to Mysql on AWS Elastic Beanstalk

青春壹個敷衍的年華 提交于 2019-11-29 12:31:58
I am relatively new LAMP dev who is trying to learn Linux primarily through AWS. I have a live Elastic Beanstalk instance up and running. I did a yum install of the following packages: mysql55.x86_64 mysql55-bench.x86_64 mysql55-common.x86_64 mysql55-devel.x86_64 mysql55-libs.x86_64 mysql55-server.x86_64 mysql55-test.x86_64 Which all seemed to install fine ... then typed ... mysql -V which gets me mysql Ver 14.14 Distrib 5.5.20, for Linux (x86_64) using readline 5.1 ... which confirms mysql is installed ... but then when I type ... mysql -u ec2-user -p Enter password: /*leaving blank*/ I get .

Elastic Beanstalk “git aws.push” only commited difference?

核能气质少年 提交于 2019-11-29 11:22:43
We are storing our PHP project on github. For fast deployment we are using .bat file for git pushing changes to AWS Elastic Beanstalk cloud: "C:\Program Files (x86)\Git\bin\sh.exe" --login -i -c "git aws.push --environment envname" We are making commit every time before push, and it's working just perfect, as expected. Unfortunately, for some reason, sometime it is pushing really quick (just pushing difference in PHP Code changes), but sometimes it is sending whole 300mb project (with all media). Is there any way to git push only changed diference? Maybe there is any additional parameters on

Python DistributionNotFound Error after installing EB CLI 3.0

走远了吗. 提交于 2019-11-29 09:49:31
Have tried many things, but keep getting this error after multiple attempts to update python, pip, etc. I am on OS X running 10.9.5. CMD% eb Traceback (most recent call last): File "/usr/local/bin/eb", line 5, in <module> from pkg_resources import load_entry_point File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2603, in <module> File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 666, in require File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg

issue deploying rails 5 application to AWS using Elastic Beanstalk due to rb-readline

烂漫一生 提交于 2019-11-29 07:46:43
I am trying to deploy my code to AWS using elastic beanstalk but keep running into errors when deploying. I added a gem 'rb-readline' and when I check the logs I see that there is an error with this gem in deployment. I can't remember what error adding the gem 'rb-readline' fixed but I don't know if removing the gem would fix this problem. Here is the link to the gem: https://github.com/ConnorAtherton/rb-readline here is the error log from the deployment. Application update failed at 2017-10-24T19:27:36Z with exit status 1 and error: Hook /opt/elasticbeanstalk/hooks/appdeploy/pre/11_asset

How can I run a Docker container in AWS Elastic Beanstalk with non-default run parameters?

孤街浪徒 提交于 2019-11-29 07:16:56
I have a Docker container that runs great on my local development machine. I would like to move this to AWS Elastic Beanstalk , but I am running into a small bit of trouble. I am trying to mount an S3 bucket to my container by using s3fs . I have the Dockerfile: FROM tomcat:7.0 MAINTAINER me@example.com RUN apt-get update RUN DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential libfuse-dev libcurl4-openssl-dev libxml++2.6-dev libssl-dev mime-support automake libtool wget tar # Add the java source ADD . /path/to/tomcat/webapps/ ADD run_docker.sh /root/run_docker.sh WORKDIR

Docker Error - “jq: error: Cannot iterate over null”

大憨熊 提交于 2019-11-29 05:28:32
So I'm trying to deploy a dockerfile on Elastic Beanstalk, but I can't get past this error - "jq: error: Cannot iterate over null". Successfully built [myContainerId] Successfully built aws_beanstalk/staging-app [2015-01-29T10:35:59.494Z] INFO [16343] - [CMD-AppDeploy/AppDeployStage0/AppDeployPreHook/04run.sh] : Starting activity... [2015-01-29T10:36:05.507Z] INFO [16343] - [CMD-AppDeploy/AppDeployStage0/AppDeployPreHook/04run.sh] : Activity execution failed, because: command failed with error code 1: /opt/elasticbeanstalk/hooks/appdeploy/pre/04run.sh jq: error: Cannot iterate over null Docker

Psycopg2 on Amazon Elastic Beanstalk

狂风中的少年 提交于 2019-11-29 05:26:56
I'm trying upload my project (in python) that uses Psycopg2 for Amazon Elastic Beanstalk. I'm doing this with a zip file containing my project and an requirements.txt file. But I'm receiving this error: Downloading/unpacking psycopg2>=2.4.6 (from -r /opt/python/ondeck/app/requirements.txt (line 3)) Running setup.py egg_info for package psycopg2 Error: pg_config executable not found. Please add the directory containing pg_config to the PATH or specify the full executable path with the option: python setup.py build_ext --pg-config /path/to/pg_config build ... or with the pg_config option in

Can't generate a working customized EC2 AMI from Amazon Beanstalk sample appl

女生的网名这么多〃 提交于 2019-11-29 05:11:42
As I want to install Jenkins (ex-Hudson) to operate my continuous integration processes on AWS Beanstalk, I need a custom AMI because some parameters in Tomcat & Linux have to be changed for Jenkins I run the process of installing and customizing the instance started initially by Beanstalk until the end and Jenkins works like a charm on it. But, what I can't do is reuse the AMI that I generated at the end of my customization: the health check done by BeansTalk doesn't see the EC2 instance although Beanstalk started it and it works fine. In order to understand my issue, I reduced my failing

How should I restrict load balanced Web traffic to my Elastic Beanstalk environments?

♀尐吖头ヾ 提交于 2019-11-29 02:35:59
I'm trying to configure access to my EB environments, and would like to restrict HTTP access (through the ELB) to certain IP addresses. I have an out of the box EB app (a bunch, actually, with a few environments each) and would like be able to (a) restrict access to specific sets of IPs while (b) having all traffic come through the ELBs. Critically, I'd like to do this by (c) creating a few groups (e.g an admin SG that allows my IP, and a dev SG that allows a team's IPs, and a public SG that allows all IPs) and applying the groups as needed to each EB environment (often in different