Тёмный

CI/CD Pipeline Project using AWS CodePipeline | CodeDeploy | Deploy Django Project 

CodeWithMuh
Подписаться 3,4 тыс.
Просмотров 14 тыс.
50% 1

Опубликовано:

 

25 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 84   
@CodeWithMuh
@CodeWithMuh 10 месяцев назад
Connect with me on LinkedIn: www.linkedin.com/in/muhammad-rashid-daha
@CodeWithMuh
@CodeWithMuh Год назад
Its Takes Time To Create Quality Content for Free. Please Show Some Love and Support By Subscribing to My Channel. Thanks😇
@karunakarreddy2109
@karunakarreddy2109 Год назад
hi Muh,This is the excellent video.Your way of teaching is very good.
@CodeWithMuh
@CodeWithMuh Год назад
Glad to hear. ✨
@tahakhawaja8538
@tahakhawaja8538 10 месяцев назад
Thank you, this was an awesome video!
@CodeWithMuh
@CodeWithMuh 10 месяцев назад
Glad To hear. 😉
@Ervilhav10
@Ervilhav10 Год назад
It was very helpful my friend! Keep up with this amazing content.
@CodeWithMuh
@CodeWithMuh Год назад
Glad it helped!
@AQIBDAHA
@AQIBDAHA Год назад
MashaAllah keep it up 👍
@CodeWithMuh
@CodeWithMuh Год назад
Thanks
@HaidarrazaMeghreji
@HaidarrazaMeghreji Год назад
bahot khub rashid bhai..Greate
@CodeWithMuh
@CodeWithMuh Год назад
Thanks 😊
@Rana-d3e
@Rana-d3e 2 месяца назад
Very helpful this video thanks
@CodeWithMuh
@CodeWithMuh 2 месяца назад
@@Rana-d3e happy to hear.
@nomdev1
@nomdev1 Год назад
Very helpful video. 😍 Excellent method of teaching.
@CodeWithMuh
@CodeWithMuh Год назад
Glad you liked it. Thanks
@CodeWithMuh
@CodeWithMuh Год назад
Which method you are using to push code?
@akindelelekan614
@akindelelekan614 5 месяцев назад
Life saver!!👏
@CodeWithMuh
@CodeWithMuh 5 месяцев назад
I am happy to hear
@sonalimaharana1915
@sonalimaharana1915 Месяц назад
I have issue while codedeploy stage it is telling that 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. What I should to resolve this
@CodeWithMuh
@CodeWithMuh Месяц назад
You will be doing something wrong in the whole setup. I can not tell without looking into this
@sonalimaharana1915
@sonalimaharana1915 Месяц назад
@@CodeWithMuh ok can you please help me out
@arunbabu995
@arunbabu995 Месяц назад
I have the same issue
@sachiningale9728
@sachiningale9728 Год назад
keep it up bro thanks.
@CodeWithMuh
@CodeWithMuh Год назад
Welcome
@hamorap6349
@hamorap6349 Год назад
Very helpful videos.💕
@CodeWithMuh
@CodeWithMuh Год назад
Thanks
@giri455161
@giri455161 Год назад
Hello Sir, I have deployed my code in the same way , deployement is successfull however while trying to access the site, error is thrown as "502 Bad Gateway" Please can you suggest me what should I check?
@CodeWithMuh
@CodeWithMuh Год назад
Its mean your nginx, gunicorn or security groups are not configured properly. Double check these things.
@badugudinesh9245
@badugudinesh9245 Год назад
@Girjesh Kumar hi can you fix 502 error
@florishol7552
@florishol7552 Год назад
Great video! Green pipeline. However my app isn’t up and running because the codedeployagent logs tell me that all the files in the scripts folder were not executable. I’ve already added permissions in the appspec file and also when I check in the ec2 instance scripts directory myself I can see the files are executable. Do you have any suggestions what could be causing the issue here?
@CodeWithMuh
@CodeWithMuh Год назад
Without looking at the issue, i can't suggest anything
@florishol7552
@florishol7552 Год назад
@@CodeWithMuh From the codedeploy agent logs I can see that I'm getting this error for all scripts: InstanceAgent::Plugins::CodeDeployPlugin::HookExecutor: Script at specified location: scripts/clean_instance is not executable. Trying to make it executable. I used AWS linux 2023 instead of ubuntu and adjusted all commands accordingly to AWS linux. Apparently I can't share links in comments so can't show my repo unfortunately. Please let me know if you know what could cause this issue? I've set permissions in the appspec file to 777 and can see manually in the ec2 instance that the files are executable which is strange.
@florishol7552
@florishol7552 Год назад
I can't drop a reference to my repo but my name on is fholcodes and the repo is called trading-application
@CodeWithMuh
@CodeWithMuh Год назад
I can only help via live session.
@florishol7552
@florishol7552 Год назад
The discord link in your profile says that the invite to your community is either invalid or expired. Could you update the invitation link?
@NathanCaleb-i2s
@NathanCaleb-i2s 9 месяцев назад
The adopted teaching method is this video is quite impressive and helpful but the method when reproduced does not lead to success. A 502 Bad Request (nginx error) was returned. This shows the described nginx and gunicorn configurations seem specific to the hosted app by the author and does not work for other Django apps deployed on an AWS EC2 instance. The author can make a complimentary (Part 2) video to this that explains each lines of the nginx and gunicorn configuration files so that they can be easily adapted to any Django app Having said that, I wish to thank you for the good work. It is very helpful.
@CodeWithMuh
@CodeWithMuh 9 месяцев назад
About Nginx and Gunicorn, You have to make sure paths are correct, like your project name, you have to replace it with your project name, as well as the folder name where your setting.py file is. When you do not replace/update these things, then you get into trouble. Still, if someone needs help they can reach me on LinkedIn.
@manifz90
@manifz90 Год назад
Can you please make a video on django,postgres, docker, nginx,gunicorn deployment with any ci cd pipeline like Jenkins and terraform. Thanks in advance
@CodeWithMuh
@CodeWithMuh Год назад
Yes, I have this video in list. Will create soon.
@manifz90
@manifz90 Год назад
@@CodeWithMuh Thanks for your response
@suigetzu
@suigetzu 8 месяцев назад
iam getting this error =/ Build failed to start. The following error occurred: Cannot have more than 0 builds in queue for the account
@CodeWithMuh
@CodeWithMuh 8 месяцев назад
Your account Quota Problem. Reach out to AWS to increase your quota.
@ameerhbaig
@ameerhbaig Год назад
getting 502 bad gateway... upon chekcing gunicorn status, it is not working although i installed it? any ideas what it could be
@CodeWithMuh
@CodeWithMuh Год назад
502 is due to Nginx issue. Make your nginx configuration correct. Check your ngix file.
@CodeWithMuh
@CodeWithMuh Год назад
Re-follow all setps from gunicorn to nginx. Error is coming because you did mistake somewhere
@ameerhbaig
@ameerhbaig Год назад
@@CodeWithMuh when i check gunicorn's status, it gives the error that "Failed at step EXEC spawning /home/ubuntu/env/bin/gunicorn: No such file or directory"
@ameerhbaig
@ameerhbaig Год назад
@@CodeWithMuh nginx is working fine
@CodeWithMuh
@CodeWithMuh Год назад
You have to check all files. Also security groups. You are making mistake somewhere. That's why issue is coming. Post your question on Facebook group: i will sechdule a call to help group link is given in video description
@faisalkabiru4372
@faisalkabiru4372 Год назад
Pls can you do a video on how to mikemigrations and connect to a database? Am have trouble with that Thank you
@CodeWithMuh
@CodeWithMuh Год назад
1. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-1D4mn_rO2cM.html , you can do ssh to your instance as well, just follow this Video, 2. OR ssh to your instance az explained in video. 3. You can also add migrations commands in start_app.sh file as well.
@JuanitoOrtega
@JuanitoOrtega Год назад
Hi guy, I can apply this course in another cloud provider as a digitalocean or any other else?
@CodeWithMuh
@CodeWithMuh Год назад
Yes, but for this you will need to make some changes in configurations
@mcdee4250
@mcdee4250 Год назад
is it possible to auto deploy to aws ec2 instance using only github action?
@CodeWithMuh
@CodeWithMuh Год назад
Yes, for this you will need to follow GitHub actions
@nallagondaanitha4499
@nallagondaanitha4499 Год назад
Hellow sir i can following in your videos pipeline three stages competed successfully but i got 502 bad gateway error and iam configure nginx config properly and add security groups http, https, ssh but not working
@CodeWithMuh
@CodeWithMuh Год назад
There will be mistake in your Nginx
@CodeWithMuh
@CodeWithMuh Год назад
For a short live session reach out to me at discord
@ameerhbaig
@ameerhbaig Год назад
Really helpful
@CodeWithMuh
@CodeWithMuh Год назад
Glad to hear
@trandung-t2g
@trandung-t2g Год назад
hey guy!! first of all, thanks for your video. Next i have a problem when i follow your step in video. My build stage have an error, that is "Error while executing command: pip3 install -r requirements.txt. Reason: exit status 1". Help me pls.
@trandung-t2g
@trandung-t2g Год назад
i find bug in file buildspec.yml at pre_build
@CodeWithMuh
@CodeWithMuh Год назад
Do you have requirements.txt file in your repository?
@trandung-t2g
@trandung-t2g Год назад
@@CodeWithMuh yes i have structure of the django project almost the same of your :(
@CodeWithMuh
@CodeWithMuh Год назад
Its difficult to guess where the mistake you did via comment
@trandung-t2g
@trandung-t2g Год назад
@@CodeWithMuh when build failed, i check the phase details. the phase error name PRE_BUILD and the full context is "COMMAND_EXECUTION_ERROR: Error while executing command: pip3 install -r requirements.txt. Reason: exit status 1"
@biznesmen8295
@biznesmen8295 Год назад
I did exactly like your but it gives '502 Bad Gateway'
@CodeWithMuh
@CodeWithMuh Год назад
There will be Nginx error or you application error
@badugudinesh9245
@badugudinesh9245 Год назад
hello sir I got this error please tell me how to solve the error [Container] 2023/06/11 08:15:56 Waiting for agent ping [Container] 2023/06/11 08:15:58 Waiting for DOWNLOAD_SOURCE [Container] 2023/06/11 08:15:59 Phase is DOWNLOAD_SOURCE [Container] 2023/06/11 08:15:59 CODEBUILD_SRC_DIR=/codebuild/output/src332977926/src [Container] 2023/06/11 08:15:59 Phase complete: DOWNLOAD_SOURCE State: FAILED [Container] 2023/06/11 08:15:59 Phase context status code: YAML_FILE_ERROR Message: YAML file does not exist
@CodeWithMuh
@CodeWithMuh Год назад
Make sure yaml file is there. File is missing
@badugudinesh9245
@badugudinesh9245 Год назад
@@CodeWithMuh sir YAML file does not exist is fixed and iam go 502 Bad Gateway error
@CodeWithMuh
@CodeWithMuh Год назад
It means your nginx has issues. Make sure the Nginx file is correct.also added security group
@badugudinesh9245
@badugudinesh9245 Год назад
security groups means ec2 instance security groups.
@CodeWithMuh
@CodeWithMuh Год назад
Yes
Далее
Китайка и Пчелке Холодно😂😆
00:21
Ilkinchi hotin oberasanmi deb o’ylabman🥹😄
00:26
ДУБАЙСКАЯ ШОКОЛАДКА 🍫
00:55
Просмотров 843 тыс.
How to design a modern CI/CD Pipeline
9:59
Просмотров 152 тыс.
Myself ruined 15 LPA DevOps last round 🤮🤮🤮
18:04
What does larger scale software development look like?
24:15
Китайка и Пчелке Холодно😂😆
00:21