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

In Chapter 2Understanding the World of Cloud Automation, we have already seen that Infrastructure as Code involves creating a template for all the required infrastructure, which can be deployed at any point of time. To create a template of the infrastructure, we use JSON or YAML. In AWS, we have CloudFormation, which helps to create the infrastructure template, which can be deployed at any point of time in AWS after making minimal or no changes.

Minimal changes, such as changes in compute size and region-specific details, are required before the deployment of the template when we create a template for a specific region.

When we put our JSON template in the CloudFormation template, it automatically draws a logical diagram, as follows:

We also learned about AWS OpsWorks in an earlier section. It helps us to create the layered infrastructure and deploy applications on top of it.

In this section, we will see how to deploy a PHP sample application using CloudFormation and...