AWS CodeDeploy | Pipeline | Setup | Deploy application on EC2 using S3 as source
Vložit
- čas přidán 29. 08. 2024
- I am going to demonstrate how to automate application deployment into EC2 using CodeDeploy as soon as application source code is copies on S3. In this video I am going to cover the following points -
How to setup AWS CodeDeploy
How to setup EC2 & S3 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 link for Steps and dependencies list -
github.com/pra...
EC2 Tutorial: • AWS Cloud EC2 introduc...
AWS Complete tutorial - • AWS Cloud EC2 introduc...
This is really well done, thank you. Even amazon couldn't put something together that explained it this well.
agree
Really thankful to you prabha
This is very informative. It helped me understand the process and I was able to deploy successfully. Thank you.
Thank you Prabhakar .. you did it 😊
Thanks for making this video. Great work on explaining each and every concepts clearly. I could able to run a sample application. Thanks
LIFE SAVER
Thank you a wonderful session. Keep up your good work Brother. :)
Thanks Brother, very useful, requesting your help to continue
U r amazing! Thanks buddy!
Good job. Thanks.
Thank you so much.
Hi, thank you for your great tutorial. I have a question, which is why we skip build step in code pipeline? Thank you so much!
Error code
UnknownError
Script name
Message
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.
how to fix error.
great job
Thanks Sir Nice Video
very informative, thanks sir
How do you specify the folder you deploy to? If I deploy a Laravel application how do I put it in to the correct folder?
thank you thank you,,,,,,,,,,,,,,
Great
Thank you very sir,,
Damn that mic
Do I need to give any permissions?
Is possible to Zip Spring boot application and keep in S3 bucket??
If i have multiple applications in ec2, how will i specify which application i want to deploy in ec2?
I can't see IAM role in Ec2 list to choose Iam Role
The One I made is not shown there
refresh
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
can we do it with terraform ?
Didn't understood anything.
waaw??really?
HI bro, if i have 4 ec2 and wants to deploy a .net web application using codedeploy. But for every ec2 i have use deferent webcofig file. so what are the steps for this
Hi,
The following changes you have to make to support different dynamic config files for different environments.
1.you have to make 4 webconfig files on your application. Eg: webconfig-1, webconfig-2, webconfig-3, webconfig-4.
2. Modify your application code which supports to load webconfig using environment variables. Suppose if I am deploying application on ec2-instance1 then I have to set environment variable as hostname "webconnfig-1".if deploying app on ec2-instance-2 then set environment variable as " Webconfig-2".. Same for ec2-instance 3 & 4.
3. If we do above changes on your application then if we are deploying application on ec2-instance-1 then we will set environment variable as webconfig-1 so it will load webconfig-1 file in that ec2 instance. If we are deploying app in ec2-instance-2 then set environment variable as webconfig-2, so that it wil use different webconfig for each deployment based on environment variables we set on each ec2 instance.
Hope this helps you
@@technologyhub1503 thank bro i will check and update you