Amazon Web Services (AWS) offers the latter and while it may offer full control of your pipeline, it also can be a daunting task for businesses that are new to DevOps or have a smaller team. Amazon Web Services supports and enables DevOps by providing tools to build, store and deploy applications. Whether you are already using AWS or not, you can create and integrate a DevOps pipeline and automate steps in your software release processes in a way that best fits you.
The development process starts with breaking down the backlog into deliverable User Stories. The developers then branch out from the master branch and create a new branch for that user story.
When it’s time to submit it, the developers create a pull request which is intercepted by a CloudWatch Event and triggers a Lambda function that creates a CodePipeline through a CloudFormation template. The pipeline automatically starts testing and building the application and notifies the developers when it has finished or failed.
Next in the pipeline, we have a Manual Approve step which is labeled as Code Review and this gets approved when the Pull Request status is approved. Then, based on the build in step 1 through the Serverless framework, a unique development environment is created for the application which is identical to the production one.
QA is then notified through SNS that a new User Story is ready for testing along with the review URL and a link to the Manual Approval step in the CodePipeline. If QA rejects the User Story, the developer commits a new change on the same branch, and the pipeline restarts from the beginning. If it is approved it triggers a Lambda function that merges the branch into the master branch and deletes the resources provisioned by the pipeline along with the CodePipeline stack resources.
The production pipeline gets triggered when there is a new change on the master branch. It consists of a “Test and Build” phase and a “Deploy” phase. Developers and QA are notified through SNS when there is a new deployment or something goes wrong on the production pipeline.
Now that we’ve covered why this is one of the best options for your business and how you can get the best of both worlds, it’s time to take action and get it up and running. Contact us today!