AWS CodeDeploy | Pipeline | Setup | Deploy application on EC2 using GitHub as source

preview_player
Показать описание
I am going to demonstrate how to automate application deployment into EC2 using CodeDeploy as soon as application source code is pushed on GitHub. In this video I am going to cover the following points -
How to setup AWS CodeDeploy
How to setup EC2 and install codeDeploy agent
How to integrate CodeDeploy with GitHub for the deployment
How to deploy application in EC2 using CodeDeploy

AWS Code Deploy:
AWS CodeDeploy is a fully managed deployment service that automates software deployments to a variety of compute services such as Amazon EC2, AWS Fargate, AWS Lambda, and your on-premises servers.
CodeDeploy makes it easier for you to rapidly release new features, helps you avoid downtime during application deployment, and handles the complexity of updating your applications.

Centralized control - AWS CodeDeploy allows you to easily launch and track the status of your application deployments through AWS management console

Minimize downtime - AWS CodeDeploy helps maximize your application availability during the software deployment process.

GitHub Sample Application source code -

GitHub link for Steps and dependencies list -

Рекомендации по теме
Комментарии
Автор

thanks so much, i have been battling with this and now i finally got it

phillipohwotemu
Автор

Thank you Prabhakar. You explained the process very well.

mayurkandekar
Автор

nice, easy to follow, a good tutorial !

alzeNL
Автор

I've been stuck on this for days and I still cant get the pipeline to deploy to EC2. It just hangs for a few minutes before eventually timing out. When I go into the Details and check the Events, I can see that all events are pending. Anyone got some idea why this might be?

bkironas
Автор

Thanks for the video Sir. Attaching the EC2CodeDeploy role to the ec2 instance is not mentioned in the video. Also in the user data, the wget for installing code deploy has to be modified as per the region.

lakshmiig
Автор

Good video, at least it is up to date, not like on AWS channel

I'm surprised though that the deployment is automatic after every push
I guess I'll create a new branch

StarNab
Автор

I am able to deploy the application using http but not with https://
I have added HTTPS rule in the security group as well.
Could anyone please advise?

biswadeepabhattacharyaofficial
Автор

how we can use secret manager to store personal access token in this scenario?

cloudsecurity
Автор

@Technology Hub

Can you provide your previous video link on the creation of the role in the description?

madullapallisudhams
Автор

This is really helpful, can you please make a video on how to troubleshoot pipeline errors? In my pipeline the source section succeeds but deploy section fails. I've setup my pipeline with Bitbucket and not sure how to troubleshoot it. My instances are in auto-scaling group. Thanks

manishverma
Автор

Can some one share the link of how to create IAM roles associated withis project .Iam not able to find them in the previous videos

praveenvoruganti
Автор

Excellent tutorial, thank you!

Just a note: There were some inconsistencies with the microphone quality and the volume of your voice throughout the video. It might be something to look into for future videos.

raadkasem
Автор

Any bodey help me to create website
In the website Dashboard, have to pute, aws,start,stop, options...
To give to user to use their own vps server

bikramchandradas
Автор

Can someone plz tell me how to create service role in codedeploy

nishidameshram
Автор

Actually it is
But my issue is each and every time it re-upload all the files and it deleted images folder

subramani.k
Автор

thanks for the video, but how to deploy a Python script in a similar manner? I mean using such a setup, and not using Elastic Beanstock or a Containerised setup.

Looking forward to hearing from you.

aashishsahni
Автор

Where the source code is deployed in instance. Location ?

vinaykandikatla
Автор

Hello sir, My deployment got failed why it would happens?

priyankapatel
Автор

in deployment group name, service role is not showing.

rameezrza
Автор

do i need to install codedeploy agent on the ec2 first ? thanks

rhnnf