Questions tagged [aws-code-deploy]

AWS CodeDeploy is a service that automates code deployments to Amazon EC2 instances.

AWS CodeDeploy is a service that automates code deployments to Amazon EC2 instances. AWS CodeDeploy makes it easier for you to rapidly release new features, helps you avoid downtime during deployment, and handles the complexity of updating your applications. You can use AWS CodeDeploy to automate deployments, eliminating the need for error-prone manual operations, and the service scales with your infrastructure so you can easily deploy to one EC2 instance or thousands.

1086 questions
0
votes
2 answers

alternate appspec.yml location for AWS CodePipeline/CodeDeploy

i'm learning AWS-based continuous integration and have a basic CodeCommit → CodePipeline → CodeDeploy workflow setup per the tutorial. when i push to CodeCommit, CodePipeline triggers a build in CodeDeploy, however it does not find my appspec.yml…
RubyTuesdayDONO
  • 2,350
  • 2
  • 25
  • 37
0
votes
1 answer

AWS CodeDeploy Triggers running custom script

I believe AWS CodeDeploy Triggers only supports SNS notifications (currently). Is it possible to hook into the events, i.e. DEPLOYMENT_FAILURE, to run a custom bash/batch/ps script? Motivation is to provide slack notifications of success/failure in…
Luke Hutton
  • 10,612
  • 6
  • 33
  • 58
0
votes
1 answer

Linking github repository with my Amazon EC2 Instances AWS

I am new to github and AWS. I want to deploy my code directly from my github repository (a simple 'hello world' html page), and onto my EC2 instance. I was following this tutorial…
deeveeABC
  • 960
  • 3
  • 12
  • 34
0
votes
3 answers

Is it possible to upload my code from github into my AWS account?

I have put my basic html code onto my github repo. I was wondering if I can push the code from github onto AWS, which will then allow me to monitor its health and the usage of it? Thanks
deeveeABC
  • 960
  • 3
  • 12
  • 34
0
votes
1 answer

ERROR: AttributeError :: type object 'Loader' has no attribute 'BUILTIN_DATA_PATH'

Since today, I am unable to deploy to my AWS EC2 instance. When hitting "eb deploy" I get the following error: ERROR: AttributeError :: type object 'Loader' has no attribute 'BUILTIN_DATA_PATH' Can anyone help me how to set or reconfigure the…
0
votes
2 answers

AWS CodeDeploy - update-deployment-group related error

I want to add a trigger to an existing DeploymentGroup. When I tried to execute the below update-deployment-group CLI command, it is giving me an error. Error Message : Expecting ':' delimiter: line 1 column 160 (char 159) aws deploy…
Raj R
  • 63
  • 1
  • 1
  • 8
0
votes
2 answers

InvalidIamUserArnException when registering on prem instance

No matter what instance name I choose, whenever I perform the following on an on prem instance: aws deploy register --instance-name test --tags "Key=Name,Value=test" --region us-west-2 --debug The following exception is thrown (always): 2016-04-12…
Luke Hutton
  • 10,612
  • 6
  • 33
  • 58
0
votes
1 answer

AWS: access EC2 Windows password during CodeDeploy steps

During the afterinstall step of a AWS application code deployment, I would like to install something as a Windows local services. I am using nssm to do so, but at some point I need to install the service using the local administrator…
0
votes
0 answers

AWS Code deploy, script failed with exit code 66

I'm using AWS Code Deploy in order to deploy my ASP.NET application into an auto-scaling group. When deploying i've this error: Script at specified location: application-start.bat failed with exit code 66. From what i've seen the error code 66 is…
jbuiss0n
  • 468
  • 2
  • 18
0
votes
2 answers

CloudFormation - CodeDeploy deployment group already exists

I'm using CF to create a deployment group for a CodeDeploy application, but I keep getting error that says the deployment group already exists (it does but it belongs to a different CodeDeploy application). If I manually create it, it is fine. Here…
BPm
  • 2,924
  • 11
  • 33
  • 51
0
votes
1 answer

AWS Linux CodeDeploy Permission Issues (w. Bitbucket, Tomcat, Shell Script)

I'm trying to deploy files using CodeDeploy to my AWS Beanstalk server with Tomcat installed. Everything is well configured except for an exception which occurs when appspec.yml calls my .sh script and mvn install command is executed. I've tried all…
Galya
  • 6,294
  • 6
  • 27
  • 45
0
votes
1 answer

Github to AWS EC2 using CodeDeploy best practice

We are a relatively inexperienced development team trying to do things 'the right way'. We are using Github along with AWS and CodeDeploy for multiple PHP based web applications. We are utilising Github's auto-deployment with CodeDeploy when the…
Louis
  • 13
  • 1
0
votes
2 answers

aws - upgrade autoscale base AMI

I have setup a HA architecture using Autoscaling, load balancer , code deploy. I have a base-image through which autoscale launch any new instance. This base-image will get outdated with time and I may have to upgrade it. My confusion is how can I…
voila
  • 1,594
  • 2
  • 19
  • 38
0
votes
3 answers

Running node apps with CodeDeploy

I am using Codeship as my CI tool, I integrate it with AWS CodeDeploy service. The procedure is perfect until my appspec.yml file calls my script to run the node app. Even though I have npm, node, bower and grunt installed I get command not found…
0
votes
2 answers

CircleCI and AWS CodeDeploy: No such file or directory

I've got a Ruby application that has been deployed to an AWS instance using CodeDeploy via CircleCI. I added a gem to the application. All tests are passing both locally and in CircleCI, but the deployment stage fails with this error: $…