Day-15 | AWS ULTIMATE CICD PIPEPLINE | END TO END DEMO | AWS CODE PIPELINE |
Вставка
- Опубліковано 28 сер 2024
- Support my work
www.buymeacoff... Hi Everyone, My Name is Abhishek and my channel is focused on delivering Free content on DevOps and Cloud. Follow my channel for practical learning of DevOps and Cloud. Don't miss the FREE DEVOPS COURSE in Playlists.
In this video, We will implement the end to end CI solution on AWS using code build and code pipeline.
Instagram: / abhishekveeramalla_off...
GitHub Repo for this video
github.com/iam...
Deployment Strategies
• Kubernetes Deployment ...
Dedicated Telegram channel for community discussions on issues
www.youtube.co...
Book 1:1 with me on TopMate for career guidance
topmate.io/abh...
Telegram Regular Updates and Notes Channel
t.me/abhishekv...
About me:
========
LinkedIn: / abhishek-veeramalla-77...
GitHub: github.com/iam...
Medium: / abhishekveeramalla-av
#devops #futureofdevops #kubernetes #sre #aws #azure
DEVOPS FAQ
DEVOPS
WHAT IS DEVOPS ?
WHY DEVOPS ?
HOW TO LEARN DEVOPS ?
LEARN DEVOPS IN 60 DAYS ?
NON IT TO IT BACKGROUND ?
IS DEVOPS EASY TO LEARN ?
BEST DEVOPS COURSE
FREE DEVOPS COURSE
#AbhishekVeeramalla
BEST DEVOPS VIDEOS
DEVOPS INTERVIEW QUESTIONS
EASY DEVOPS VIDEOS
BEST WAY TO LEARN DEVOPS
PYTHON FOR DEVOPS
PYTHON PROJECTS FOR DEVOPS
LEARN PYTHON
PYTHON PROJECTS FOR AWS
AWS PYTHON PROJECTS
AWS LAMBDA FUNCTIONS
WHAT IS GITOPS ?
WHY GITOPS ?
LEARN GITOPS ?
GITOPS FREE COURSE
What is AWS ?
LEARN AWS FOR FREE
AWS COURSE
AWS COURSE FOR DEVOPS
AWS CLI Deep Dive .
.
Disclaimer: Unauthorized copying, reproduction, or distribution of this video content, in whole or in part, is strictly prohibited. Any attempt to upload, share, or use this content for commercial or non-commercial purposes without explicit permission from the owner will be subject to legal action. All rights reserved.
for all who got comfused with attaching the role to the ec2 instance know it happens because of the different AWS UI when creating the role - make sure to select EC2 in the use case -> press next and only then add the codeDeploy permission
you are life saver
even after following your step, while creating deployment group, the role which was attached to EC2 does not auto populate. what shud be done for that ??????????? @user-bg
Thankyou
Right ..!actually the role that he created was named ec2-codedeploy-role and the one that was attached in ec2 was just code-deploy-role which probably existed from before as it instantly popped up in the drop-down instead of ec2-codedeploy-role which is expected..! hence the confuision and above steps resolves it.. Thanks..!
@@yogeshgowda8493Have you solved the problem?
The CICD part was specifically excellent! Thank you very much for sharing this valuable experience for free with us.
Glad you enjoyed it!
Hi Abhishek, thanks a lot. I have no words to tell or express about you and the knowledge that you are feeding us.🙏
Thanks
I am really fortunate to have a subscriber of this channel for learning new things from Abhishek bhai 😊❤
Thank you Abhishek 🎉🎉🎉 learned so much and encounter so many problems to solve that. Help me understand all much better
My pleasure 😊
Hi Abhishek .. thank you so much for your amazing project .. I was able to complete this in 2 days after so much of troubleshooting.. finally I could complete 🎉
explanation is excellent and assignment done as well. thank you
Thanks a lot for sharing your knowledge and experience.
Thank you so much, Abhishek for the project, I'm becoming a better and greater DevOps Engineer in every step of the way. Thank you🫡🫡🫡🫡
You are most welcome
Thank You Abhishek
Hi Sir,
I have been following your videos all the time its very nice and i learnt a lot and developed robust infrastructure because of you, Thanks a lot.
Now my one humble request is can you do a prometheus and grafana detailed video where you can monitor custom applications using service monitors or any other way we have. many people are searching for prometheus and grafana with custom applications deployment where we can monitor all the developed applications inside prometheus & graf....in youtube all are only showing setup of prometheus not the custom applications monitoring please can you throw some light on that....Thanks a lot for your hardwork
finally completed this ultimate CI/CD after spending 6-7 hours and dealing with lots of errors and troubleshooting them, went through aws official documentations and realised the importance of troubleshooting.
can you tell my , one thing that when i add codedeploy role in ec2 instance in security/manage iam role , i am not gettng option of my role and we also can't do hardcode please tell
@@shivamgautam4275 please add "EC2" in use case and then code deploy as permission
@@shivamgautam4275 lol same here. how you resolve this error?
@@goofyguy6954 - Use aws cloudshell or cli to fix this error by following the below commands
1. aws iam create-instance-profile --instance-profile-name CodeDeployInstanceProfile
2. aws iam add-role-to-instance-profile --instance-profile-name CodeDeployInstanceProfile --role-name
Hi Abhishek, could you please please please make a playlist or atleast a crash course on CDK? Every company is asking CDK, Lambda serverless and python these days. Since your Python class was very useful I am kinda begging for CDK playlist..
Noted
Thank you Abhishek sir for the great explanation ❤😍
My pleasure
Millions Millions❤🎉 pranamas
🎉
Abhishek anna
Great video
Learned a lot
But if there is any chance, please do the video on code deploy on ecs or eks.
It will be much more helpful.
Thanks for the efforts anna
Noted
thank you so much Abhishek🙏
My pleasure 😊
Great learning..... Looking forward to work with Blue/green and canary startegy with codedeploy... ❤
You are welcome
I must recommend that u are doing a wonderful job.especially troubleshooting every detail failure. Hats off man
Thanks a ton
Finally completed this awesome tutorial
Glad it helped!
very helpful and awesome video , you teach from heart
Glad to hear that
failed, failed, failed, failed, failed, failed more the scenarios which i failed I didn't check privileges mode, second docker imaged was not proper in script folder and again there is some syntax check buildspec and again system manager wrong input of docker values and again service roles of code deploy to ec2 and ec2 to code deploy and there is some thing missing in the artifacts where it was not able to identify in the S3 bucket and finally code build is succeeded and code deploy is succeeded. Abhishek this is an awesome ci/cd hit and trail practice practice practice and learn by doing. Awesome Abhishek. Thank you.
Amazing 🤩 and yes this is how you learn things. Keep Learning and Keep Sharing 🚀
@@AbhishekVeeramalla Hi Abhishek, What should I provide in Docker_registry_url parameter?
Hi Anil. I am facing an issue related to the missing artifacts. Can you please tell me how you eliminated that?
Hi Bro while run the code deploy, I am facing this issue - CodeDeploy agent was not able to receive the lifecycle event. Check the CodeDeploy agent logs on your host and make sure the agent is running and can connect to the CodeDeploy server. I checked my code deploy agent in ec2 but its running. i checked in terminal. I am not able to fix this issues. can anyone help me on this issues
Thank you Abhishek sir 🎉❤️
Welcome
Hi Abhishek, thanks for this wonderful course it's helping me so much. But i have a request to make, please upload videos everyday without delap
I am trying my level best
Hi Abhishek, Your content is really really helpful to start our journey in Devops and cloud. I have one suggestion here please let us know if there will be any cost added in doing this project as even if we do do free instance some or other application adds cost to it. For example I followed your terraform series to deploy in AWS and created NAT Gateway . Even though I deleted all instance I was charged for the time I used which I was not aware.
It will be really helpful If you let us know the cost for this application used.
Hi abhi tqs for upload can u make a video how to switch non technical to get job for freshers, how to prepare.. Can make video plzz
Hi Abhishek.. two days three times practiced and successfully completed CI/CD process..
Keep it up
Hello Abhishek, can you please tell me how is the job market of Terraform today in India ? Can I crack a job if I learn AWS from your free channel + TF + GIT + JENKINS..
Please suggest.
Hi abhishek,
27:43 min
I'm enable to attach my role to an ec2 instance ,
I'm having 6roles but when i goto instance id > actions >security>modify roles> its showing no IAM roles ,
How can i resolve this
Have you solved it?
A possible solution would be to choose EC2 instead of CodeDeploy, on clicking next add permission policy for "AWSCodeDeployFullAccess" or lesser permissions. Then it will appear when refreshing the IAM roles. But haven't yet tested to see if it will work correctly in this scenario.
@prasadzungarepatil4696
Thank you.
You are welcome
Hi bro I've been following you and appreciate your efforts. Can you please make a video on Roles and responsibilities from docker to Continous integration, because one person cannot work on Complete DevOps tools daily. I'm on bench as a cloud engineer wanted to know exact roles and responsibilities it will be helpful for my interview purpose. Thanks in advance..
Hi Abhishek, the readme files are a great way to summarize the class, thanks for including them. However, I couldn't find one for day 15. If you have it handy, can you please commit it to your repo?
Hey Abhishek amazing content man. It helps a lot.
Is there a playlist for these ultimate series where we can check day1-14 also
😍😍😍
yes
Thank you
You are welcome
I am preparing for aws developer associate, does this course helps me and your suggestion which topic shall I work more apart from the topics you are going to cover ?
very much informative Video LEARNED A LOT THANKS LOT abhishek
You are welcome
hi sir, thanks for sharing valuable info to us.
You are most welcome
Abhishek, can u make a video on how we can do continuous deployment using eks and fargate
Noted
Hello Abhishek, I have a query. Ihave learnt Jenkins an year ago so i know only basics of it. Should I learn Jenkins or go with your playlist with AWS CICD? ps: I am not yet working. i have learn AWS as well.
Yes, definitely.All the devops tools
Thanks Abhishek, for the great explanation, but i need to implement on Java based application, can you give any brief for that
Watch the video with name - ultimate cicd piepline implementation
@@AbhishekVeeramalla Thanks for that bro, but I need to implement that Java code using AWS codepipeline, for that I need some brief explanation bro. How to write Codebuild for Java application
Hi Abhishek,
I am new to DevOps and AWS, learning it from your videos.
From an interview point of view, how to explain all these steps? I hope it's difficult to remember all these steps and explain them. Or can we just tell an overview of it? Like, what we do in each of the CI/CD service parts.
The diagram/workflow is pretty useful and I'd just explain it
Thanks Abhi for this wonderful video on AWS CI/CD using code commit, code build and code deploy. I have watched all these video's.
I have one small question when i am writing a stop.sh for removing the running container suggestion was to use
container_id='docker ps | awk -f " "'{print $1}'' and delete the container by running docker rm -f $container_id. what if i have multiple containers here, how do i achieve the same and need to delete just this micro service alone?
I think i can achieve this by uniquely naming my container while running my docker run command initially and use that name for removing it. Thanks again Abhi for such wonderful information and videos 👍👍
what skills DevOps need to after Iac and CICD and monitoring ?
sir tell me about the token of Github you associated , the name 'abhishek' is the token name given during the creation of Github token in github , or the token provided in AWS and name after that as abhishek.
I had a doubt, can't we just install docker inside the ubuntu instance through the scripts in before install part of CD using appspec file, why we have to ssh and then install all that?
I created a role as shown in the video for code deploy to talk to ec2 instance but the created role is not being shown in the drop down section of modify ec2 iam policy section .
Did you find the solution
@@jyothikachinna6966 you need to create two roles with same permissions. Two roles shown in the videos are different. Check the roles of the names in the video
Hi @@user-ii7mn6em9t,
even i'm facing the same issue. could you please tell why two roles with the same permissions?
@@khanmohammad6725 while creating the role choose ec2->next-> name->attach policies(EC2 full Access and AwsCodeDeploy). after doing this you will see the role in drop down
Hi Abhishek, I created an IAM role, but the role doesn't appear in the dropdown list when I launch an instance. What do I do?
Thank you ^^
hi abhishek..what is continous testing usage cases . can you make a class on that please
is this tutorial free of cost or some aws charges?
Help me with the Terminal part i was unable to do it , Abhishek please do one vedio regarding the terminal and how it should it using in step by step
It is already covered in devops zero to hero playlist. Pls start from basics
Hi abhishek bhaiya ! I am getting error in code deploy DownloadBundle it say access deny, i try alot but i am not able to solve it.can you help me.
same
Around 33:00 when you are creating the deployment groups, there is a new UI and I don't know what to do. It is asking for ECS cluster name, Load balancers, and target group.
You are not able to create ?
Great project Abhishek. I just finished the CI/CD project and it was successful even though I had to troubleshoot some errors for two days 🤣🤣 but I'm happy that I learned a lot from it. Thank Sir.🫡🫡🫡 moving to Day-16 next.
Nice work!
my deployment is failing at DownloadBundle after I added it into the pipeline...Does anyone know what the issue is and how to solve it?? Everything else is working fine.
check repo url
Hello, I have a doubt in this video. I did the steps exactly as shown in this video and everything was good upto I created the IAM role, but when I tried to modify the IAM role I was not able to see the role I created. It was only showing only one option- No IAM role. Please help me
Did you found the answer brother?
they are two separate roles. check the names of the roles in the video. You need to create two separate roles
You have Created ec2-codedeploy-role to assign EC2 so that it will speak to codedeploy but while attaching the role to EC2 instance the role is different. I am trying to replicate the same but unable to load the role created for Awscodedeploy. Please advise.
Yeah just got confused with the names .. both have same permissions so you dont have worry.
Create role before you start with creating aws code deploy then it the role will populate
I have created one IAM role but cant see the role in the dropdown while assigning role to the EC2 instance for accessing codedeploy, please help.
Create another role ,while creating select ec2&codedeploy and then allow cmm full access, & codedeploy full access then in drop down it will appear
@@immuind2009 I am unable to select both EC2 and CodeDeploy. Can you elaborate?
@@immuind2009 not able to select both, coud you please help?
hi abhishek, i have successfully deployed the application on container, but facing error accessing it on port 5000 using public ip of the instance
please help
Hi Abhishek, at 27:34, you have created ec2-codedeploy-role. But you have assigned "code-deploy-role" to the Instance. Both are different. I am unable to see the "ec2-codedeploy-role in the dropdown on ec2 instance roles to select. Do we need to create a separate role. please help. thanks
yes, we need to create another role for EC2 service that has permission for codedeploy
@@sauraabh I have a same problem but why do we need to create another role its not described in the video.
@@sajiyasalat it's because the first role created was for CodeDeploy service so it can deploy to ec2 instance. But for EC2 instancce to communicate back with codeDeploy we need to create another role for EC2 service that has codeDeploy permission
@rajendraprasad did u solve the issue of roles because I am not able to add roles to my ec2 instance
Thanks in advance
@@kodalirajkumar5007 Two separate roles need to be created, one for ec2 use case and other for code deploy use case
Please make same type video on kubernetes.
Check the video - ultimate cicd pipeline
Hi Abhishek, if there are multiple micro services are running on single deployment server then how will the specific container will be filter and killed by stop script … also please confirm if EXPOSE instruction on docker file is just for documentation or it will actually expose the container on mentioned port
Please help me on the error.
CodeDeploy agent was not able to receive the lifecycle event. Check the CodeDeploy agent logs on your host and make sure the agent is running and can connect to the CodeDeploy server.
agent status is fine. Nothing started on deploy.
i got the same error, did u find the solution?
@abhishek, I checked implementing todays video...but i have noticed error "missing credentials error" .In Code deploy failed at "before install" .
U might be using my image .. please change the image to yours
I forked the repository to my github userid....pasted erro screenshot in LinkedIn.pls guide me once .
Will you also explain AWS connect?
Not in this series , may be later
Hi Abhishek, thanks for your efforts. I am not able to get the Codedeploy role in the ec2 instance dropdown to attach it with ec2. What will be the possible issue?
Sometimes it takes time .. just refresh and try from beginning
I tried with ec2 service role and attached the codedeploy entity for connection then it reflected in the drop-down. Also created the codedeploy role having the ec2 full access permission to use it in deployment and able to complete the project.
iam also getting the same issue
@@akashmendhe9263 bro plz explain it bro i strucked this from 6 hrs...
@@AbhishekVeeramalla I have refreshed many times. still the issue persisted.
Abhishek at 27:49, you used the different role instead of the newly created role(ec2-code...) earlier. And my doubt is no roles are populating in modify IAM role when im trying to do, why is that happening ?
please try to select ec2 in use case and then code deploy as permission
NEED HELP !!
I made a role for code deploy but when I am attaching that role to EC2 instance, its not showing there the list of roles or the code-deploy-role.
I've tried multiple time creating the role and restarted the aws console but still stuck into this
Please Help
chose ec2 instead of codedeploy while creating role
@AbhishekVeeramalla
Deployment error message
The overall deployment failed because too many individual instances failed deployment, too few healthy instances are available for deployment, or some instances in your deployment group are experiencing problems............................. I am getting this error in the deploy stage.
did you find a solution?
@AbhishekVeeramalla Firstly, thank you for your hard work and useful content. I've been learning a lot. I have a weird case that
all checkout, build and deploy stages are successfull, and image is being updated and pulled in docker hub. Also, the image is being shown in ec2 instance(docker image ls) but when I do docker ps there is nothing and checked inbound rules also but there is no a port my app is bounded. What might be the reason that docker container is not being shown and app is not starting?
May be the container is deleted after the execution .. run container in background using -d option
@@AbhishekVeeramalla Thank you for your response, I found the cause and fixed. I run container in the background and it did not show me a bug then started it without -d option and it showed me the bug related to environment variables then just fixed. Once more thank you very much for the amazing content
7:59 no EKS for deployment only ec2/labmda/ECS
Eks is very widely used and we covered that in Day 22
is anyone's application run on web page after get succeeded in code pipeline stages?
hi Abhishek bro
while accessing the app through public ip i am getting site not reached error.i am using port 8000 and i have also opened the port 8000 in security group on ec2.i am able to perform complete cicd process through your video but i am unable to access the application via public ip.please help me
got the solution?
deployment failed : Error code UnknownError Script name Message Access Denied. Download bundle
I am also stuck at this step. Earlier there was some access denied error for the COde Deploy's role. I added S3FullAccess permission to the role to make it work.
@@feeroz4u ohh thanks, I forget about the access denied statement and focusing on unkown error. Great
Build failed to start. The following error occurred: Cannot have more than 0 builds in queue for the account
I am getting this error in building phase don't know what to do
Even I am getting the same error, tried all possible scenarios but didn't help.
@abhishekVeeramalla - Could you please on this
Sir even after creating role and giving the code deploy policy it is not showing when i go to attach it to ec2 instance sir... pls help...
Hi sir.. I need some help on Azure with terraform.. how i can reach you..pls
telegram and topmate
any one completed CICD. was able send request to server inside EC2. but unable access application publicly. even after adding 5000 port as security group.
would you explain on 27:27 to next. You create an role for code deployed with name ec2-codedeploy-role. but you are attaching code-deploy-role to ec2 on 27:51. How it possible? I could not found that role during my practice.
And what should I do if my appspec.yaml will not be store on github and s3. How I will manage deployment.
while creating the role choose ec2->next-> name->attach policies(EC2 full Access and AwsCodeDeploy). after doing this you will see the role in drop down
🎉❤
Thanks
I created iam role that role is not available while selecting modify iam tole other roles also not showing what to do bro ? Abhishek bro ?
1:00:20 docker error
hello bhaiya is this possible that whenever i update the code and the code is not update and after correcting all data its having same error again and again?
Hello Abhishek Annna
I feel Jenkins is far better than AWS pipeline
Error: I have created ec2 instance installed agent and created IAM role, when i tried to attach that role to ec2 instance , No IAM role is populating , i am not able to see the role i have created. Please help .
select EC2 in the use case -> press next and only then add the codeDeploy permission
Hi @Abhishek,
When i am trying to attach IAM Role with EC2 instance, The drop down list is empty and its not showing anything.
Can you help me to resolve this issue.
I also faced same issue. I used AWS CLI to attach IAM role to EC2 instance , you'll first need to create an instance profile, associate the IAM role with the instance profile, and then finally associate the instance profile with the EC2 instance. Here are the steps:
Create an Instance Profile:
Use the create-instance-profile command to create an instance profile.
# aws iam create-instance-profile --instance-profile-name my-instance-profile
Associate the IAM Role with the Instance Profile:
Use the add-role-to-instance-profile command to associate the IAM role with the instance profile.
# aws iam add-role-to-instance-profile --role-name mention-role-name --instance-profile-name my-instance-profile
Associate the Instance Profile with the EC2 Instance:
Use the associate-iam-instance-profile command to associate the instance profile with the EC2 instance.
# aws ec2 associate-iam-instance-profile --instance-id mention-instance-id --iam-instance-profile Name=my-instance-profile
same doubt
same here
Anyone got no instance error in codedeploy stage?
Hi Abhishek i getting this error CodeDeploy agent was not able to receive the lifecycle event. Check the CodeDeploy agent logs on your host and make sure the agent is running and can connect to the CodeDeploy server. cloud you please check and please help me
have you find out the solution. I am facing the same error. could you help me how to fix this issues
Hi Bro while run the code deploy, I am facing this issue - CodeDeploy agent was not able to receive the lifecycle event. Check the CodeDeploy agent logs on your host and make sure the agent is running and can connect to the CodeDeploy server. I checked my code deploy agent in ec2 but its running. i checked in terminal. I am not able to fix this issues. can anyone help me on this issues
i got the same error did u find any solution?
@@ketansolanki5727 yes i found out. Check your IAM and check trust relationship and edit them and add permission for code deploy and ec2 and attach the role to your ec2 instance then restart your code deploy agent. For me its worked try once if any doubts use chatgpt you will get much idea
I am not able to see therole after creating for codedeploy what might be the issue..i have done exactly the same way...not able to see any IAM role under manage IAM role in ec2instance
I have figure out the issue
Awesome what was the issue ?
@@AbhishekVeeramalla seems there is samll update from aws end.... We have to grant role access to ec2 as well as codedeploy after that it's visible on ec2.. Iam manage role
As i granted only codedeploy role it didn't give me the list to attach role in ec2 instance...
Hi @@onelife7284 ,
How can we select both ec2 and code deploy? and what roles to be given. Could you please help.
can anyone help me, as i am not getting my codedeploy role in the list of iam role in ec2 section.
Create another role ,while creating select ec2&codedeploy and then allow cmm full access, & codedeploy full access then in drop down it will appear
@@immuind2009 thanks.
Done with CICD
Hey, What should I provide in docker_registry_url?
Hi@@RavinaMaudekar, Hope you are doing fine. docker registry URL should be in this way -> //:
@@2KDxCOMMONER Need help with this !!!
@@RavinaMaudekar sure
@@2KDxCOMMONER I am getting an error with Docker_registry_url parameter! what should I put in parameter store in docker_url?
Terraform u completed in 1 hr, will it helpful to clear interviews abhishek??
I will add more videos about terraform which are advanced topics or as a playlist
@@AbhishekVeeramalla ok bro thank u
Hi Abhishek i am facing an issue in deployment stage of pipeline where it is failing and the error says "Unable to access the artifact with Amazon S3 object key 'python-pipeline/BuildArtif/Phsok1r' located in the Amazon S3 artifact bucket 'codepipeline-us-east-1-716207642700'. The provided role does not have sufficient permissions" This is 3rd time i am trying still facing the same issue.
Just change the vaule from artifact to source in the code pipeline when u configure code deploy .
It will work
@@AbhishekVeeramalla Thanks for the response Abhishek I even did that but then also it is failing at Downloadbundle stage where it is showing "unknownerror" clicking on that it is just showing as Accessdenied
@@PavanKumar-yt2ks Were you able to solve this? I'm getting the same error?
Try to give S3 permission to the role
If any one facing the s3 access denied issue, in code deploy change the artifact to source and also for code-deploy role give s3 full access with this your deploy will be successful
can any body resolve my issue while i am running code build all set ok but while running code pipe line using same code build every phase excuted successfully but there is an error it throws "UPLOAD_ARTIFACTS State: FAILED
[Container] 2024/07/22 13:47:49.886707 Phase context status code: CLIENT_ERROR Message: no matching base directory path found for ../simple-python-app" can any body resolve this issue.
Please this is the error I'm gettting I run the pipeline.
"Unable to access the artifact with Amazon S3 object key 'simple-app/BuildArtif/LYQNQcp' located in the Amazon S3 artifact bucket 'codepipeline-us-east-2-470475890308'. The provided role does not have sufficient permissions."
I have done all the stages. When i run the entire pipepline, this is the error. Thank you
Just change the vaule from artifact to source in the code pipeline when u configure code deploy .
It will work
@@AbhishekVeeramalla after changing artifact to source also still seeing the same error
Unable to access the artifact with Amazon S3 object key ......... The provided role does not have sufficient permissions.
have you found solution for this error??
@@PadmajaBasani
Change the permission for s3 bucket policy it will work, I have encountered with similar issue after changing bucket policy allow to all resources it’s resolved
@@MPC5329 Pls share the Bucket Policy Json File .. tnx
for all who got comfused with attaching the role to the ec2 instance know it happens because of the different AWS UI when creating the role - make sure to select EC2 in the use case -> press next and only then add the codeDeploy permission
Yes, thanks for clarifying.
Ohh mann you are savier, I spent 1 hour to conclude it... Thanks buddy.
can any body resolve my issue while i am running code build all set ok but while running code pipe line using same code build every phase excuted successfully but there is an error it throws "UPLOAD_ARTIFACTS State: FAILED
[Container] 2024/07/22 13:47:49.886707 Phase context status code: CLIENT_ERROR Message: no matching base directory path found for ../simple-python-app" can any body resolve this issue.