Tag: amazon web services

What's the best way to run a platform with multiple git repositories with Amazon AWS Elastic Beanstalk?

I have a web application platform that is built in PHP and consists of multiple applications that live in different Git repositories. It is my understanding that you can only run an AWS Elastic Beanstalk with one Git repository feeding it. Is there any way I can run one EB Environment that feeds from multiple […]

How to configure Elastic Beanstalk for RDS

I have a requirement to deploy both a production and staging application using AWS Elastic Beanstalk. I would like the production environment to use an independently created RDS database so I can rebuild my environment without tearing down my RDS database. I would like the staging environment to create a brand new RDS database each […]

Develping with Django, Git, and Cloud Server

I’m currently working with a team in my University to put together a new webapp. Nothing too fancy, just run of the mill MySQL + Django. We are also hoping to use Git for source control. We were wondering what hosting options were available to us. We’re all very competent with Unix, so a ssh […]

Why my deployment check failing here

I am trying to upgrade capistrano from v2 to v3. My deployment failing here My git path is $ which git /usr/bin/git $ /usr/bin/env git –version git version $ cap development deploy:check INFO [bc6a1c31] Running /usr/bin/env mkdir -p /tmp/my_app_name/ on 40.17.329.77 DEBUG [bc6a1c31] Command: ( RVM_BIN_PATH=~/.rvm/bin /usr/bin/env mkdir -p /tmp/my_app_name/ ) INFO [bc6a1c31] Finished […]

Deploy only specified files to AWS Elastic Beanstalk

AWS Elastic Beanstalk allows for you to upload a git repository to your environment with a simple eb deploy command. I know anything placed inside the .gitignore won’t be deployed, but what about source files (sass, uncompressed scripts) I want to keep in the repository, but don’t want uploaded on deployment. Is there a way […]

eb awscli cant deploy from git directory

I’m getting started with the ElasticBeanstalk AWS CLI and I’ve changed some of my workflow around. Previously I deployed from a directory above my git repository (which is a clone of a private GitLab directory), and shifted things around. Before it was structured like this: — some_dir |– .ebextensions | |- some_files | |– my_git_directory […]

git aws.push Error

I need to push my code on aws. For that I’m doing aws.push, but it throws an error sometime. But retrying it again 5-6 times, solves it. My question is why it didnt worked at first place, why I’ve to try 5-6 times. The error I get is /mysite/.git/AWSDevTools/aws/dev_tools.rb:88: warning: Insecure world writable dir /usr/local […]

aws codedeploy git revision during deploy

I am running some test with AWS CodeDeploy service and managed to deploy my app from github, so far so good. But now I need to git revision that is deployed in the AfterInstall hook. Is there a way to get the git revision? Already looked in the deployment-archive dir but it looks like the […]

Amazon EC2, deployment with capistrano, how to?

I am trying to deploy application to Amazon EC2 with capistrano. When I run cap deploy:cold or cap deploy I get: * 2014-08-27 13:23:39 executing `deploy:cold’ * 2014-08-27 13:23:39 executing `deploy:update’ ** transaction: start * 2014-08-27 13:23:39 executing `deploy:update_code’ executing locally: “git ls-remote git@bitbucket.org:username/repository.git HEAD” command finished in 1929ms * executing “git clone -q git@bitbucket.org:username/repository.git […]

cannot connect to my repository in AWS Code commit

I m trying to connect to my repository in AWS code commit. However, I m keep getting: fatal: unable to access `’https://git-codecommit.eu-west-1.amazonaws.com/v1/repos/<repo_name>/’: The requested URL returned error: 403` I have followed all the steps mentioned here and here and also in other similar posts… 1) configure aws 2) run credential helper command 3) deactivate os […]

Git Baby is a git and github fan, let's start git clone.