aws-eb

Using Multiple AWS Credential Files for Elastic Beanstalk

At Cinevee, we are developing several forks of our distribution platform for each of our partners. This means we deploy to a different environment in a different AWS account (with differing credentials) for each fork. Re-initializing Elastic Beanstalk eb init before you git aws.push can get annoying when you are switching back forth between projects a dozen times a day (we’re quite agile). So here’s a quick way to setup and switch between your AWS credential files per project.
Continue reading

aws-eb

SSL Upload & Redirect in AWS Elastic Beanstalk

Create & Upload SSL Certificate

AWS has a great step by step guide to creating and uploading a SSL certificate. You’ll have to download some command line tools: IAM CLI & Java Development Kit (JDK). For Mac OS X users, make sure you download the Mac OS X x65 binary, not the Linux binaries. The JAVA_HOME path for that Java install will be export JAVA_HOME=/Library/Java/Home.
Continue reading

aws-eb

Fixing the Elastic Beanstalk application version error

If you’re using the Amazon Web Service CLI tools to push new version of your Elastic Beanstalk application you might eventually run into the following error:

remote: error: Unable to create application version:
Invalid unicode xml character in CreateApplicationVersionMessage.Description at index 13

or

! [remote rejected] HEAD -> master (hook declined)

Continue reading