Book Image

Implementing DevOps on AWS

By : Vaselin Kantsev
Book Image

Implementing DevOps on AWS

By: Vaselin Kantsev

Overview of this book

Knowing how to adopt DevOps in your organization is becoming an increasingly important skill for developers, whether you work for a start-up, an SMB, or an enterprise. This book will help you to drastically reduce the amount of time spent on development and increase the reliability of your software deployments on AWS using popular DevOps methods of automation. To start, you will get familiar with the concept of IaC and will learn to design, deploy, and maintain AWS infrastructure. Further on, you’ll see how to design and deploy a Continuous Integration platform on AWS using either open source or AWS provided tools/services. Following on from the delivery part of the process, you will learn how to deploy a newly created, tested, and verified artefact to the AWS infrastructure without manual intervention. You will then find out what to consider in order to make the implementation of Configuration Management easier and more effective. Toward the end of the book, you will learn some tricks and tips to optimize and secure your AWS environment. By the end of the book, you will have mastered the art of implementing DevOps practices onto AWS.
Table of Contents (17 chapters)
Implementing DevOps on AWS
About the Author
About the Reviewer
Customer Feedback
Free Chapter
What is DevOps and Should You Care?
Build, Test, and Release Faster with Continuous Integration

Chapter 5. Ever-Ready to Deploy Using Continuous Delivery

Thanks to the Continuous Integration setup we examined in the previous chapter, we now have a way of continuously producing deployable artifacts from our source code.

Our next goal will be to upgrade the pipeline from a Continuous Integration to an Integration plus Delivery one. To illustrate, we are in the middle of a three stage workflow:

That is to say, following a successful Integration run, we trigger the Delivery stage that will do the following:

  • Launch a vanilla EC2 instance

  • Apply configuration management to it:

    • Install the demo-app RPM we produced

    • Install other required packages to turn it into a web server

  • Test the applied configuration (using Serverspec)

  • Produce an AMI out of the configured instance (using Packer)

  • Launch an EC2 instance from the produced AMI

  • Run additional tests against the new EC2 instance

This pipeline will ensure that the application RPM installs correctly, our configuration management gets applied as expected...