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
1 answer

Setting up Amazon Linux instance for CodeDeploy with IAM user credentials

I have created all that are needed for a successful deployment. I tried to make the deployment without configuring the CodeDeploy agent in the Amazon instance and the deployment [obviously] failed. After setting it up though, succeeded. So, my…
Kostas Demiris
  • 3,415
  • 8
  • 47
  • 85
0
votes
1 answer

Reading System environment variable from hookscripts of codedeploy

I am trying to read $env:CATALINA_HOME from hookscript of aws codedeploy. But i get blank value instead of actual value. When the script run independently on machine it returns actual value. Is there way to read system environment variable from…
PRASANNA SARAF
  • 333
  • 1
  • 4
  • 17
0
votes
3 answers

Is there a way to have CodeDeploy always set up a new instance?

Is it possible to have CodeDeploy automatically start a new instance "just like the last one" each time I deploy a new revision? Thank you.
nfwlpw
  • 1
0
votes
3 answers

Reading AWS EC2 tag from Code Deploy hook during Auto Scaling scale-in event

I'm really enjoying working with AWS Code Deploy integrated with Auto Scaling, but am struggling with an issue around reading tags during a scale-in event. I have setup my Auto Scaling Group to tag any new instances created with a tag name…
rossh
  • 3
  • 2
0
votes
1 answer

AWS Node JS Code Deploy SDK: Difference between registerApplicationRevision and createDeployment

I am writing a small utility for deploying on AWS using AWS code deploy SDK for node.js. Going through the documentation, I see the following methods: registerApplicationRevision: var params = { applicationName: 'STRING_VALUE', /* required */ …
MojoJojo
  • 3,897
  • 4
  • 28
  • 54
0
votes
3 answers

AWS CodeDeploy deployment not starting

Just in the past hour, our AWS CodeDeploy deployments have started hanging before even having a Start Time when looking at the Deployment Details page. The Status stays at In Progress indefinitely. We have not changed any of our deployment…
Andrew
  • 1,890
  • 3
  • 16
  • 35
0
votes
1 answer

AWS Code Deploy - Non compressed files?

I am currently using AWS CodeDeploy to deploy some apps via an S3 bucket. Unfortunately I have to zip/tar my app and upload in order for CodeDeploy to deploy it. Is there a way for CodeDeploy to deploy from an S3 folder rather than a zip/tar file? I…
Yonkee
  • 1,781
  • 3
  • 31
  • 56
0
votes
1 answer

How can I get more information about a failed CodeDeploy deployment?

I've just started working with AWS CodeDeploy. My first few deployments have failed, which is fine. With new tools comes new learning, and I expected to have to iterate a bit initially. Each of my first few deployments has failed in a useful way. In…
ChrisGPT was on strike
  • 127,765
  • 105
  • 273
  • 257
0
votes
1 answer

getting an error when doing code deploy

I'm running the following command to do a code deploy from jenkins to EC2 server aws deploy create-deployment --application-name $APPNAME --s3-location bucket=$S3BUCKET,key=chefdeployment.zip,bundleType=zip --deployment-group-name…
Rue Vitale
  • 1,549
  • 4
  • 17
  • 24
0
votes
1 answer

AWS CodeDeploy with Symfony1

I am trying to integrate a Symfony1 application with Amazon CodeDeploy. We build model and forms on the server during the deployment process. However, sadly, the CodeDeploy log shows the following error when running ./symfony propel:build-model…
Noah
  • 11
  • 1
0
votes
1 answer

Deploy github build from codeship to amazon EC2 through CodeDeploy

I'm getting an headache trying to use codedeploy with codeship, and Codeship documentation is not very clear. I have a sample code building well from codeship. I have: Instance of EC2 Server CodeDeploy App with a deployment group:…
Juliatzin
  • 18,455
  • 40
  • 166
  • 325
0
votes
1 answer

Amazon Codedeploy + Elastic Load Balancer - Windows support

Are there any bat scripts (for Windows Server) to handle Elastic Load Balancer when deploying through CodeDeploy? I've found only scripts for linux: https://github.com/awslabs/aws-codedeploy-samples/tree/master/load-balancing/elb Unfortunately, they…
0
votes
1 answer

circleci won't finish build on successful server startup

I have setup circleCI, AWS CodeDeploy and EC2 to work together so that after I push code to git, it relays to circleCI and then EC2 and starts a server there. Everything is working fine except the server is running correctly and circleCI won't give…
Shih-Min Lee
  • 9,350
  • 7
  • 37
  • 67
0
votes
2 answers

AWS CodePipeline advanced tutorial with jenkins

I'm running through AWS CodePipeline tutorial and there is this step saying that I have to create a jenkins job running bash script which will connect to the EC2 instance (not the one where jenkins is running, but the one where the code has been…
matewilk
  • 1,191
  • 1
  • 13
  • 27
0
votes
2 answers

appspec.yml failed to call scripts

I am trying to setup CI using AWS CodeDeploy and CircleCI. Right now I am stuck at the step where AWS CodeDeploy should copy stuff into EC2 and run scripts. But somehow CircleCI tells me something is wrong. Does anyone know what might be happening? …
Shih-Min Lee
  • 9,350
  • 7
  • 37
  • 67