CD with AWS Elastic Beanstalk: Build machine install

Now it’s time to setup build machine.
I’ll use Ubuntu instead of Amazon Linux because of problems with AWS CLI installing.
Hope it will be fixed soon, but Ubuntu is quiet good for us too.

Our build machine must have access to repo with scripts, so let’s create script that will clone our repo to this machine:


add-apt-repository ppa:git-core/ppa -y
apt-get update
apt-get install git -y

git clone [email protected]:kagarlickij/meteorapp-deploy-scripts-public.git /deploy-scripts --quiet

echo .gitignore >> /deploy-scripts/.git/info/exclude


We’ll use this script while build machine launching:

Screenshot at Jan 04 16-18-50


When build machine is ready, we need to check git status:

Screen Shot 2016-03-01 at 17.03.37


CD with  AWS Elastic Beanstalk table of contents