1,084 questions
0 votes
0 answers
65 views
AWS Code Deploy command not found for pm2 and pnpm
I'm deploying Node.js based server on EC2 via code deploy. I'm using pnpm and pm2, when execution of shell script from appsepc.yml, it seems path not works. pnpm command not found or pm2 command not ...
0 votes
1 answer
51 views
AWS CodeDeploy Authentication Error with GitHub Account
I am trying to connect my personal GitHub account to AWS CodeDeploy so I can use that as a revision source. I've followed this guide on setting this up. When it comes to the actual integration with ...
0 votes
0 answers
52 views
No such file or directory @ rb_sysopen - CodeDeploy Gives Error Even The Path Exists
CodeDeploy giving error No such file or directory @ rb_sysopen - C:\ProgramData/Amazon/CodeDeploy/a5e44c96-0925-4071-806d-72adee9955c7/d-KTEDSL9LD/deployment-archive/dev-glf-orbis-store-build\packages\...
0 votes
0 answers
35 views
In AWS CodeDeploy the scripts cannot find the source files
I have a AWS CodePipeline that is triggered by S3. I upload a zip file to S3 that contains a war file, appspec.yml and a folder for the scripts. My appspec.yml looks something like this: version: 0.0 ...
2 votes
1 answer
184 views
CI/CD pipeline design: Single vs. Separate pipelines for test/prod environments
I'm seeking wisdom on CI/CD pipeline design. I primarily work in infrastructure and am currently tasked with designing and building a CI/CD pipeline for the first time. While I've used Git personally, ...
0 votes
0 answers
61 views
Unable to create application in AWS because I not have "codedeploy:CreateApplication" action
I'm following Amazon documentation to Create an Amazon EC2 instance for CodeDeploy, but am getting an AccessDeniedException when I attempt to run aws deploy create-application ... with the no identity-...
0 votes
1 answer
115 views
getting unknown error in aws lambda code upload
I am uploading the code to lambda but getting unknown error. Getting the latest code from lambda itself and after that done some changes in local, everything working fine. Generated zip in correct ...
0 votes
1 answer
66 views
AWS CodeDeploy Agent cannot download GitHub bundle
I followed the instructions here to setup a GitHub Actions->Code Deploy AWS pipeline: https://loisthash.medium.com/ci-cd-from-github-to-aws-ec2-667e6c4f4ffc I get this error: 2024-11-11T20:56:17 ...
0 votes
0 answers
24 views
OSError errno 5 login/logout error on AWS
The error image I have deployed my Django project to the AWS server. The projects runs fine for the first few hours but then starts giving this OSError errno 5 login/logout error. The project runs ...
0 votes
1 answer
117 views
AWS pipeline source stage is successful but changes in the files are not updated
I am learning CI/CD with AWS codedeploy and pipeline. My project is in GitHub. I was able to deploy my project on the first trigger, but when I pushed a new commit to my gh repo main branch, the ...
1 vote
0 answers
107 views
How can I use codedeploy to deploy a lambda function without knowing current version
I'm working on setting up a build+release pipeline for my lambda functions. My build works fine and publishes a new lambda version when it runs. I have 2 aliases: staging production When the ...
0 votes
1 answer
267 views
How do I start my node server when deploying to AWS via Bitbucket pipeline?
I'm using a Bitbucket pipeline to deploy my Node application to an EC2 instance running linux. I created a script to start my application: # Source nvm and load Node.js environment for root user ...
-1 votes
1 answer
110 views
How do I ignore an error in a CodeDeploy hook?
I'm using Bitbucket pipeline to install my Node application to an EC2 linux instance. The AppSpec.yml file at the root of my application defines the deployment. Before I install, I want to stop all ...
0 votes
1 answer
220 views
My Bitbucket pipeline fails on the CodeDeploy step (deploying to EC2 instance)
AWS newbie here. I'm working on my first Bitbucket pipeline to deploy to AWS. It has three steps: Zip up the project files Upload to an AWS S3 Bucket Use CodeDeploy to deploy the application files to ...
1 vote
0 answers
23 views
Appspec.yml not behaving the same as console
On EC2, I setup a virtual environment called 'venv' to run python. I'm trying to add new package to python env with codeDeploy appspec.yml. From appspec.yml (full code below), after updating ...