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

AWS Code Deploy Agent install

I am going through: http://docs.aws.amazon.com/codedeploy/latest/userguide/how-to-run-agent.html#how-to-run-agent-install-ubuntu I did exactly what was written in the tutorial, after installing Ruby 2.0.0..... Unfortunately, it is not working and I…
Richard
  • 1,543
  • 3
  • 25
  • 49
0
votes
1 answer

node-grunt-compass Heroku's Buildpack analogy for AWS CodeDeploy?

We are trying to move from Heroku to AWS CodeDeploy for my nodejs app. In Heroku deployment, we are using nodejs-compass-grunt buildpack to install dependencies and run compass. Is there anything similar in AWS to use with CodeDeploy, or shall we…
Diego Pamio
  • 1,377
  • 13
  • 21
0
votes
1 answer

Terminating an AWS Code Deployment with Java jar return value

I have an aws instance running with webservices that I want to test with a java application running JUnit. If I have a script that runs the jar during the validate services step of the code deploy process how does the code deployment handle the…
SN0flux
  • 19
  • 1
0
votes
1 answer

Duplicate permission setting instructions

I'm trying to use CodeDeploy's permission handling stuff to deploy a Laravel app but I'm constantly getting a message saying /home/tether/storage/app has duplicate permissions. To my eyes, it looks like the except should make it only one…
adam goucher
  • 1,936
  • 1
  • 11
  • 7
0
votes
1 answer

Codedeploy with AWS ASG

I have configured an aws asg using ansible to provision new instances and then install the codedeploy agent via "user_data" script in a similar fashion as suggested in this question: Can I use AWS code Deploy for pulling application code while…
0
votes
1 answer

How to force a "sync CodeDeploy" on EC2 machine with agent?

I have a machine with a Cloud-Init initialization script that is installing the CodeDeploy agent. I would like the during the initialization I could start some services deployed with the package. Is there a way to do this ?
user2123288
  • 1,103
  • 1
  • 13
  • 22
0
votes
1 answer

AWS code deploy agent not able to install?

Hi i am trying to install code deploy agent in my ec2 agent but not able to succeed I m following below steps sudo apt-get update sudo apt-get install awscli sudo apt-get install ruby2.0 cd /home/ubuntu sudo aws s3 cp…
0
votes
1 answer

Has anyone successfully used codedeploy on Ubuntu?

I'm trying to to use AWS codedeploy on ubuntu. The Agent does not start. Here's what the Userdata looks like: "UserData" : { "Fn::Base64" : { ... "# Install the AWS CodeDeploy Agent.\n", …
Val K
  • 105
  • 8
0
votes
1 answer

Deploy a java web application using AWS codeDeploy

I have a java web application, which has two layers( business layer and presentation layer both layers has their own war files). I want to deploy this into AWS using AWS CodeDeploy.and I am using RDS MySQL as database. can anyone tell me how can I…
Nijisha Kg
  • 541
  • 2
  • 7
  • 15
0
votes
1 answer

AWS CodeDeploy error with bundler: opt/codedeploy-agent/Gemfile not found

when I call bundle install as a AfterInstall hook, I get the error: "opt/codedeploy-agent/Gemfile not found" Any ideas what the issue might be?
EugeneMi
  • 3,475
  • 3
  • 38
  • 57
0
votes
1 answer

Can CodeDeploy be used with a stand alone Git server?

Does anyone know if it's possible to make CodeDeploy work with a generic Git server rather than GitHub or S3?
David Menache
  • 194
  • 2
  • 10
-1
votes
0 answers

Deploy ECR build image to ECS with Code Pipeline without CodeBuild and Commit is possible?

I have ready to run images to ECR that I pushed it after build in my own I create Pipeline with two stage Source and Deploy, In Source stage pipeline write to the S3 bucket imageDetail.json but When I give this to Deploy stage It is not correctly…
-1
votes
1 answer

How do I automate a cloudformation.json (or yaml) file stored in codecommit to auto deploy via cloudformation

From what I can tell, if I create a buildspec.yaml, I can run it through codepipeline with a codebuild to run the cloud formation. However, to do this requires spinning up an ec2 to the execute the cli to cloudformaiton (I guess that's how it's…
-1
votes
2 answers

AWS Testing/Staging/Development Environment

I have some ready-made pipelines built using CodePipeline. Let's say I wish to link them to a testing environment (whether on EC2 or ECS). How can I achieve that? I appreciate someone mentioning the steps/procedure from a high-level perspective. So…
-1
votes
1 answer

use terraform to create an aws codedeploy ecs infrastructure

I tried to use terraform to setup aws codeploy ecs infrastructure, following aws documentation to understand aws deploy : https://docs.aws.amazon.com/AmazonECS/latest/developerguide/create-blue-green.html , reading this post to have an example (it…
Vincent
  • 733
  • 1
  • 9
  • 16