Skip to main content

Questions tagged [aws-codedeploy]

Use this tag if a question is about amazon-codedeploy

Filter by
Sorted by
Tagged with
0 votes
1 answer
679 views

Jenkins multi-agent build switching directories behind the scenes preventing AWS CodeDeploy plugin from zipping built files

I've narrowed my problem down to a very specific cause but am not sure how exactly how to fix it. A Jenkins server set up using Jenkins-configuration-as-code in a docker container runs a pipelineJob ...
Coupcoup's user avatar
  • 111
2 votes
2 answers
4k views

CodeDeploy: deployment failed because a specified file already exists at this location

I build an AMI from a 'prototype' EC2 instance I created to confirm everything is working. I create a Launch Configuration and Auto Scaling Group based on the AMI. I associate the Auto Scaling Group ...
Daniel Viglione's user avatar
1 vote
2 answers
237 views

How to secure appspec file?

What's the best way to ensure that developers can't modify the contents of the appspec.yml file used by AWS CodeDeploy? This file executes scripts on production servers with root privileges so it ...
Nelfo's user avatar
  • 111
1 vote
1 answer
610 views

Setting up CI/CD for an AWS CDK app using AWS CodeBuild/Deploy/Pipeline

I'm trying to setup a CI/CD pipeline for a dotnet app which uses AWS Lambda and AWS CDK for infrastructure. The source is on github and we have a Jenkins pipeline which runs the tests and publishes ...
theabrar's user avatar
0 votes
1 answer
4k views

Docker container is running but when using curl not accessible

I tried to host docker container in my EC2, just for UAT (for production, we will fargate). My concern is I want to host my container in EC2 and run all test cases, after successfully will be deployed ...
PPShein's user avatar
  • 127
1 vote
2 answers
2k views

what is better between Jenkins & AWS CodeDeploy for CI/CD

I'm considering what is better and easier to use for CI/CD pipeline between Jenkins and AWS CodeDeploy. e.g. Jenkins server request webhook to git repo(github), and deploy to EC2. e.g. When push to ...
Chachatonel Hashimotto's user avatar
3 votes
3 answers
2k views

How to optimize blue/green AWS deployments?

I got the following setup with AWS code deploy: However it takes about 7 minutes from the moment I push a git branch remotely to the moment the deploy is completed. The time is broken down like so: ...
abbood's user avatar
  • 473
4 votes
1 answer
3k views

Why don't the instances in the auto-scaling group get assigned public ip addresses unless it's a default vpc?

I'm trying to migrate our deployment process over to aws code deploy (by following instructions here:https://pionect.nl/autoscaling-aws-laravel-codedeploy-opsworks-chef-automation/). When I'm ...
abbood's user avatar
  • 473
5 votes
1 answer
2k views

Azure Equivalent for CodeDeploy

Right now, using AWS services we have a CI and deployment pattern that works well for us. For every commit pushed to github, Travis-CI builds the project and runs tests, if tests pass, Travis uses ...
fgregg's user avatar
  • 151
2 votes
0 answers
768 views

How to deploy with AWS CodePipeline a multicontainer docker environment without dockerfile

I'm using simple docker-compose container images. Here's my docker-compose.yml version: '2' services: db: image: postgres:10.2 ports: - "5432:5432" ...
Vitaliy Filipov's user avatar
3 votes
1 answer
353 views

Is it possible to package an application in a .nupkg when creating an application revision in AWS CodeDeploy?

My build process packages my application in a .nupkg instead of a .zip. Assuming my .nupkg contains a correctly-implemented appspec.yml and is otherwise appropriately bundled, can my deployment ...
Anthony Neace's user avatar