aws-code-deploy Questions

2

Solved

OK, so I have a CodePipeline which does a very vanilla CodeCommit -> Build Docker images -> CodeDeploy to ECS In the buildspec.yml file, AWS requires outputting imagedefinitions.json as an...
Cowie asked 17/10, 2019 at 6:43

8

I have set up a pipeline, but i get the following error during deployment: before install CodeDeploy agent was not able to receive the lifecycle event. Check the CodeDeploy agent logs on your host ...
Rule asked 27/9, 2022 at 0:8

1

Solved

I have a load-balanced EC2 instance that hosts a web API that I am trying to use AWS CodeDeploy to deploy new versions of the API with. I am trying to make use of a blue/green deployment style, whe...

3

Solved

I'm a new to codedeploy, I plan to deploy multiple applications in order to a single instance. I'm using cloudformation template to create codedeploy, and couldn't find any instruction for deploy m...
Carrasquillo asked 16/8, 2016 at 16:15

8

Solved

I'm trying to deploy a GitHub project to a EC2 Instance using AWS CodeDeploy. After following 2 video tutorials an a bunch of Google answer, I'm still getting the following error: 2017-02-01 12:20...

7

I am trying to set up auto-deployment from GitHub to AWS, using EC2. I set Role with CodeDeployServiceRole auto policy After following the Tutorial: Use AWS CodeDeploy to Deploy an Application from...
Geo asked 27/10, 2020 at 18:14

5

Per AWS documentation, I get the impression that Immutable and Blue/Green are the same thing, just a different name. In both cases you are creating an entirely new set of servers and transitioning ...

2

I have a Meteor application I'm deploying on EC2 instances using CodeDeploy (local build -> S3 -> CodeDeploy -> EC2). I'm running into an issue I didn't have a week ago: when creating a deployment...
Fideicommissary asked 7/4, 2016 at 14:47

2

Solved

I am using CodeDeploy integrated into CodePipeline. I am trying to deploy an image from ecr to ecs. The whole infrastructure is built with CloudFormation. The template for the Pipeline deployment...

3

Solved

I'm having an issue with a seemingly trivial task of getting CodeDeploy to deploy Github code to an AutoScaling Group in a Blue/Green Deployment. I have a Pipeline setup, a Deployment Group setup,...

3

Solved

When trying to deploy a Node.js application I'm getting an error npm: command not found in my post_install.sh AfterInstall script. What's super strange is in my BeforeInstall script I run npm insta...
Dys asked 5/9, 2017 at 6:38

6

The CodeDeploy agent did not find an AppSpec file within the unpacked revision directory at revision-relative path "appspec.yml". The revision was unpacked to directory "/opt/codedeploy-agent/dep...
Fidelia asked 27/11, 2018 at 13:58

1

I'm fairly confused about how the buildspec.yml and the appspec.yml files differ from one another, aside from structure. It doesn't seem like the phase commands from my buildspec have much effect o...
Subsist asked 14/3, 2022 at 23:14

7

Solved

Based on below error message codedeploy copies my archive folder to some temp location. i can locate my archive.zip folder after deployment-archive folder. The CodeDeploy agent did not find an A...
Charmain asked 1/11, 2018 at 14:18

4

Solved

I'm trying to setup deployment from github repository via AWS. I have an issue during these steps: http://docs.aws.amazon.com/codedeploy/latest/userguide/codedeploy-agent-operations-install.html#...
Turgot asked 4/6, 2017 at 10:37

2

I tried installing codedeploy agent on ubuntu 22.04 but not working. I have installed ruby 2.6.0 via rbenv. ubuntu@ip-172-31-37-7:~$ sudo ./install --sanity-check deb I, [2022-08-10T06:26:28.905059...
Microcurie asked 10/8, 2022 at 6:52

9

I'm trying to deploy using CircleCI -> S3 -> CodeDeploy -> EC2. I was able to upload deploy image onto S3 from CircleCI, but unable to deploy S3 to EC2 instance. Here's the error. The ove...
Brahmana asked 5/7, 2016 at 5:35

6

I have a CD pipeline for my NodeJS app and the pipeline contains these steps: 1) Travis CI uploads the master branch to S3 as a zip file 2) Travis CI triggers AWS CodeDeploy deployment 3) CodeDe...

3

Solved

I've got some errors, while trying to install the AWS code-deploy agent via : wget https://bucket-name.s3.region-identifier.amazonaws.com/latest/install ./install auto I know the AWS documenta...

6

Solved

I am trying to set AWS Code deploy with Github to automate my deloyment. the problem i am having is the ec2 instance is already active and has the web app code. the problem is there is also other c...
Ecumenism asked 11/1, 2017 at 11:56

4

Solved

I am attempting to run a few scripts while deploying using AWS Code Deploy, but they never run due to not having permissions to run the scripts. Here is my appspec.yml file: version: 0.0 os: linu...
Debauchee asked 13/10, 2015 at 16:51

3

I am using codeDeploy and when I run it gets stuck on in progress mode. By further researching the problem I found that it fails because of the AllowTraffic script. it just says script failed. I ha...
Planksheer asked 5/4, 2019 at 12:16

4

Solved

so I have been trying to setup code deploy for my application, but it keeps on failing. Initially, I didn't have an appspec.yml file in repository, so I got the error message that the appspec.yml f...
Conspicuous asked 15/6, 2017 at 18:5

1

I'm using CodePipeline and CodeDeploy to automate the deployment process. The code sourcing and docker image build happen outside of AWS. I have a git pipeline outside of AWS that builds/packages a...

3

Solved

I am using AWS CodeDeploy to deploy code to our AWS Amazon Linux instances. I followed this knowledge base article https://aws.amazon.com/premiumsupport/knowledge-center/codedeploy-agent-non-root-p...
Grandpa asked 8/1, 2018 at 22:43

© 2022 - 2025 — McMap. All rights reserved.