snippetMinor
How do I release multiple projects to same domain using AWS when developer commit the latest code change
Viewed 0 times
sameprojectsdevelopercommitthelatestchangecodereleaseusing
Problem
I have multiple projects on Github and I need to release each project on same domain different paths when developer commit code changes.
Example:
I have Github repositories like below
currently, our website is like this
Please someone tell me how to do this in AWS using there services. Currently im doing this manually login to server and git pull
Thanks.
Example:
I have Github repositories like below
- CRM
- CMS
- Main-Website
currently, our website is like this
- example.com/CRM
- example.com/CMS
- example.com --> is the Main-Website repository.
Please someone tell me how to do this in AWS using there services. Currently im doing this manually login to server and git pull
Thanks.
Solution
You may wish to try scripting the actions you want. Then use git hooks to trigger your scripts to release the latest code to your environment. Alternatively, you could use something like Jenkins to configure a "push on green" system if you are working with compiled code. Lastly, (though I haven't used them) Amazon claims that their CodePipeline product can do this (and perhaps CodeBuild can as well), though my personal preference is to keep things as generic as possible and avoid drinking Amazon's Kool-Aid in order to keep things portable. Like a drug dealer, the first hit may be free with Amazon, and things are great until they have you hooked and decide to jack up the price. Utilizing my own open source system ensures that I can easily take my ball and go to another cloud or home altogether (and host it myself) in the event that I need to make a rapid exit from Amazon's cloud and avoids lock-in.
Context
StackExchange DevOps Q#2564, answer score: 2
Revisions (0)
No revisions yet.