- 334 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Cloud Security Automation
About This Book
Secure public and private cloud workloads with this comprehensive learning guide.About This Book• Take your cloud security functions to the next level by automation• Learn to automate your security functions on AWS and OpenStack• Practical approach towards securing your workloads efficientlyWho This Book Is ForThis book is targeted at DevOps Engineers, Security professionals, or any stakeholders responsible for securing cloud workloads. Prior experience with AWS or OpenStack will be an advantage.What You Will Learn• Define security for public and private cloud services• Address the security concerns of your cloud• Understand Identity and Access Management• Get acquainted with cloud storage and network security• Improve and optimize public and private cloud security• Automate cloud security• Understand the security compliance requirements of your cloudIn DetailSecurity 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.Style and approachThis book follows a step-by-step, practical approach to help automate and secure your cloud account structure in an Amazon Web Services (AWS) and OpenStack environment.
Frequently asked questions
Information
Private Cloud Security
- Hypervisor: KVM/ESXi/XenServer/Hyper-V
- Database: MySQL
- Message Queue: RabbitMQ
- Network service: Neutron (in the earlier version, it was nova-network)
- IAM: Keystone
- Image store: Glance
- Block storage: Cinder
- Object storage: Swift
- Compute: Nova
- Dashboard: Horizon
Securing hypervisor
- Skills and expertise of your team: The more expertise your team has in the project and in technology, the less are the chances of mistakes. It's a very important factor when adopting any technology, this applies for the hypervisor as well. For the hypervisor, you also need to do patch management, configuration, and security management tasks. Having internal skills and expertise increases the availability of your systems, allows segregation of duties, and mitigates problems at any point in time.
- Maturity of product or project: One always adopts projects or products that are mature. It helps us to ensure the safety, security, and success of the environment. You need the right skill set to run your project and, for this, availability of skill sets is mandatory. The quality of the community has a direct impact on the timeliness of bug fixes and security updates. Let's take a look at the factors affecting the maturity of the project:
- Availability of skills sets in the market
- Active developer and user communities
- Timeliness and the availability of updates
- Common criteria: Common criteria is an internationally standardized software evaluation process, used by governments and commercial companies to ensure software technologies perform as advertised. As per NSTISSP, number 11 mandates that US government agencies only procure software that has been common criteria certified. Apart from this, OpenStack evaluates the hypervisors on different sets of criteria such as audit, RBAC, mandatory access control, object reuse, security management, and storage encryption. Common criteria evaluates how the technology is developed:
- How is the source code management performed?
- How are users granted access to build systems?
- Is the technology cryptographically signed before distribution?
- Certification and association: This depicts the production readiness and testing of the hypervisor platform, apart from the regulatory requirement.
- Hardware concerns: When selecting the hypervisor, you also need to concentrate on the physical hardware. Apart from this, you also need to focus on the additional features or capabilities the hardware is providing and how these can be utilized with the hypervisor.
- Other security concerns: When selecting a hypervisor platform, you should also think of the availability of specific security features. Let's see the list of security features of hypervisors:
XSMsVirtTXTAppArmorcgroupsMAC policyKVMXXXXXXenXXESXiXHyper-V
The preceding table shows the security features of a hypervisor. We have also seen the point on which OpenStack lets you choose a suitable hypervisor.
- Direct memory access (DMA): DMA allows hardware devices to access arbitrary physical memory addresses in the host computer. Usually, video cards have this capability, but the instance should not be given such access, as it will give full access to the system and other instances running on top of it. The Physical Server vendor uses an Input Output Memory Management Unit (IOMMU) to manage the DMA.
- Hardware infection: This happens when the instance makes some malicious modification of firmware or some other part of a device. As the same machine will be running multiple VMs, it can affect other VMs as well. If this happens, the VM instance can run its code outside of the specified security domain. It's a very significant breach, which can lead to additional exposure such as access to the management network. To solve this hardware infection problem for example, one option could be to re-flash the firmware after use. Trusted Platform Module (TPM) technology is a solution that is used to unauthorize changes to firmware. However, it is always recommended to disable PCI passthrough, until and unless it is not clearly specified and the associated risk of PCI passthrough is calculated.
Securing KVM
- Relocation read-only (RELRO): This hardens the data section of an executable. It also has two types, Full RELRO and Partial RELRO. For QEMU, Full RELRO is the best choice. This will enable the global offset table to be read-only and place various internal data sections before the program data section in the resulting executable.
- Stack measurement: This positions values on the stack and verifies their presence to help prevent buffer overflow attacks.
- Never Execute (NX): This is also known as Data Execution Prevention (DEP). It ensures that data sections of the executable cannot be executed.
- Position Independent Executable (PIE): This produces a position-independent executable.
- Address Space Layout Randomization (ASLR): This ensures that the placement of both code and data regions will be randomized. This is also enabled by the kernel, when the executable is built with PIE.
- Hypervisor threat: When a virtual machine is running with a compromised application, there is a chance that it will infect the underlying physical hardware configuration and it can also expose the network configuration.
- Virtual machine threat: On hypervisor, we run multiple virtual machines. If there is a VM running with a comp...
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- Introduction to Cloud Security
- Understanding the World of Cloud Automation
- Identity and Access Management in the Cloud
- Cloud Network Security
- Cloud Storage and Data Security
- Cloud Platform Security
- Private Cloud Security
- Automating Cloud Security
- Cloud Compliance
- Other Books You May Enjoy