Book Image

Cloud Security Automation

By : Prashant Priyam
Book Image

Cloud Security Automation

By: Prashant Priyam

Overview of this book

Security issues are still a major concern for all IT organizations. For many enterprises, the move to cloud computing has raised concerns for security, but when applications are architected with focus on security, cloud platforms can be made just as secure as on-premises platforms. Cloud instances can be kept secure by employing security automation that helps make your data meet your organization's security policy. This book starts with the basics of why cloud security is important and how automation can be the most effective way of controlling cloud security. You will then delve deeper into the AWS cloud environment and its security services by dealing with security functions such as Identity and Access Management and will also learn how these services can be automated. Moving forward, you will come across aspects such as cloud storage and data security, automating cloud deployments, and so on. Then, you'll work with OpenStack security modules and learn how private cloud security functions can be automated for better time- and cost-effectiveness. Toward the end of the book, you will gain an understanding of the security compliance requirements for your Cloud. By the end of this book, you will have hands-on experience of automating your cloud security and governance.
Table of Contents (15 chapters)
Title Page
Packt Upsell

Infrastructure as Code

Now, as you have already learned about the basic fundamentals of DevOps, let's start to understand it by example. As an example, I will use the CloudFormation template to describe how easy and fast it is to deploy solutions in AWS.


CloudFormation is an AWS service that is used to provision your IT Infrastructure as Code. Once it's coded, you can deploy it in any region, and it also gives you facility to customize it as per your own wishes.

As we can see in the following screenshot, CloudFormation gives you a very rich GUI where you can drag and drop the required components and establish relations between them, and in backend code is automatically generated in the JSON and YAML formats. Once you are done drawing using drag and drop, you save this as a template and start deployment:


In CloudFormation, we generate code in the JSON or YAML formats. JSON stands for JavaScript Object Notation, and YAML stands for Yet Another Markup Language. Both are very easy to understand...