Tag: amazon web services

Cloning a git repo in AWS Instance? I get the error : Failed to connect to github.com port 443: Connection timed out

This is my first time setting up a LAMP stack in AWS (Amazon Web Services). I have changed my security settings of my instance to include ICMP traffic (anyone), HTTP TCP port 80 (anyone), ICMP echo reply (anyone). All of these security settings were set up for inbound. When I tried to do it, I […]

AWS CodeDeploy: Using multiple git repositories, or submodule inside a git repo?

I have a use case where I would want to keep two git repositories, or two applications (frontend, backend) developed by separate teams, on the same Auto-Scaling EC2 instance group. I want to use CodeDeploy to control the deployment and revisions of the latest code. I tried creating git submodules, but the GitHub API that […]

Run `git clone` with custom DNS?

TLDR: Is there a way to run a git clone [url] with the URL being temporarily hard coded for the git command only? I am running into a scenario where a hosted environment in the cloud (Azure, AWS, etc) can be burned down and then recreated using same name in short window of time (say […]

AWS S3 Gitpull from Bitbucket and CodePipeline

I’m setting a continuous delivery system using Bitbucket, Jenkins, and AWS Elastic Beanstalk. I’ve got an issue where it appears the Bitbucket integration I’ve setup following this article is only building the master branch. Without direct support in Code Pipeline, like Github and AWS CodeCommit, I’m not sure how to setup builds with specific branches […]

Elastic Beanstalk failed to update local Git configuration

Here’s the error I’m getting: Failed to update local Git configuration. Follow the instructions at “http://docs.amazonwebservices.com/elasticbeanstalk/latest/dg/command-reference-get-started.html`” to set up your Git repository, and then try again. I’ve followed the directions on that site to the letter, to no avail. EB exists on my path, and it gets most of the way through the process, but […]

AWS Elastic Beanstalk Git saying “Already Up-To-Date”

I set up my php application on an elastic beanstalk environment. I configured the AWSDevTools to allow me command line git integration. I did my initial aws.push and all of the files got pushed up to my environment and it worked! However! Once I began making code changes, then staged and committed those changes, now […]

Auto switching push environment for Elastic Beanstalk

Ok, heres the deal. I use elastic beanstalk and have two environments. Each of them have their own name and url, lets say env-one = foo.elasticbeanstalk.com and env-two = bar.elasticbeanstalk.com. Then we have the production domain: example.com. example.com have a cname pointing to foo.elasticbeanstalk.com The default pushing environment is env-two. I push to the default […]

Can't push to beanstalk

I’m trying to use php git deploy for AWS Beanstalk I got python, ruby etc installed. I setup the repository, did a git aws.config which went well. Then whenever I try to run git aws.push I get this error. ./.git/AWSDevTools/aws/dev_tools.rb:53:in `host’: private method `split’ called for nil:NilClass (NoMethodError) from ./.git/AWSDevTools/aws/dev_tools.rb:112:in `signed_uri’ from .git/AWSDevTools/aws.elasticbeanstalk.push:86 Don’t know […]

Controlling Which GIT Branch is Deployed to AWS ElasticBeanstalk via Eclipse Plugin

I’m using GIT and the feature-branch workflow for my local development. I’m also using the AWS SDK / Eclipse plugin for my application deployments to my ElasticBeanstalk Tomcat server. Recently I encountered a problem where new Java classes I had added to my codebase were not being deployed to ElasticBeanstalk (i.e., the compiled class files […]

Failed to add the host to the list of known hosts – Accidentally removed all files from my .ssh folder

Noob here. I removed all the files from my /Users/fakename/.shh folder. The result is that now I can’t git clone a repository from beanstalk. When I try I get the error Failed to add the host to the list of known hosts Permission denied (public key). I am also having problems doing a SSH login […]

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