CodeDeploy Benefits and Other AWS CI/CI Services: CodePipeline, and CodeBuild

CodeDeploy benefits: you can automate your deployment and by doing that you would minimize the downtime because you can always roll the new deployment or roll back whatever bugs you might have in the new deployment. You can roll back to the state for the previous version. You can use centralized control. It's very easy to adopt. So just with a few minutes, 10 to 15 minutes, anyone after watching this course, obviously after watching this module can set up their own (not too complicated but it will be fully functional) Continuous Integration pipeline.

Here's the service. It's called CodePipeline or AWS CodePipeline. It's a continuous integration / continuous deployment, continuous delivery service. It has the benefits such as rapid delivery, improves quality of the products or a service; you can configure pretty much anything, you can even integrate with other services or technologies. It's easier to get started and it's easy to integrate. Let's take a look at this example. You would have the source code which is coming from the left side, and there is another AWS service, it's called Code Commit.

Or as I mentioned before you can use Github and set up a hook that will set up an integration that will notify AWS. And that would be the build stage. So from the source you're going to the build. During the build stage, there is a Code Build service or you can build your own by just spinning an EC2 or you can leverage some outside software as a service such as Team City. At Storify we used CircleCI.

The building and during the staging phase that's where you might need to perform some testing. SauceLabs, we use that a DocuSign to use across multiple browsers to test our UI. And then the final stage, the production. That's where AWS CodeDeploy or you can also leverage Elastic Beanstalk, OpsWorks, CloudFormation as well.