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
Contributors
Preface
Index

CI/CD


In the CI/CD process, we define a pipeline, which helps to automate the application delivery process. It initiates automatic build and deploys the code on EC2 instances. Using AWS CodePipeline, we automate the build, test, and deployment processes whenever there is a change made in the code.

In this section, we will look at an example to implement AWS CodePipeline, where we will use S3 as the code repository, use CodePipeline to create the pipeline, and AWS CodeDeploy to deploy the application on autoscaling group instances.

The first step of this process will be to create an autoscaling group. For this, log in to the AWS Console and click on EC2 services. Under the EC2 console, click on the autoscaling group and then click on Create Auto Scaling group.

Now, choose new Launch Configuration, click on the Next Step, and choose an AMI (here we opted for Amazon Linux AMI). Click on Next and choose Compute. Now, click on Configure Details, specify the name of the configuration details, and...