Questions tagged [aws-codedeploy]

Use this tag if a question is about amazon-codedeploy

Filter by
Sorted by
Tagged with
1
vote
0answers
264 views

The deployment failed because no instances were found in your green fleet

I have created a blue-green deployment in AWS CodeDeploy with the option Manually provision instances. but when I run pipeline code deploy show error `The deployment failed because no instances were ...
0
votes
1answer
119 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 ...
2
votes
1answer
1k 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 ...
1
vote
2answers
100 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 ...
1
vote
1answer
516 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 ...
0
votes
1answer
2k 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 ...
1
vote
2answers
993 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 ...
3
votes
3answers
1k 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: ...
4
votes
1answer
2k 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 ...
5
votes
1answer
1k 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 ...
2
votes
0answers
736 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" ...
3
votes
1answer
265 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 ...