Book Image

AWS Security Cookbook

By : Heartin Kanikathottu
Book Image

AWS Security Cookbook

By: Heartin Kanikathottu

Overview of this book

As a security consultant, securing your infrastructure by implementing policies and following best practices is critical. This cookbook discusses practical solutions to the most common problems related to safeguarding infrastructure, covering services and features within AWS that can help you implement security models such as the CIA triad (confidentiality, integrity, and availability), and the AAA triad (authentication, authorization, and availability), along with non-repudiation. The book begins with IAM and S3 policies and later gets you up to speed with data security, application security, monitoring, and compliance. This includes everything from using firewalls and load balancers to secure endpoints, to leveraging Cognito for managing users and authentication. Over the course of this book, you'll learn to use AWS security services such as Config for monitoring, as well as maintain compliance with GuardDuty, Macie, and Inspector. Finally, the book covers cloud security best practices and demonstrates how you can integrate additional security services such as Glacier Vault Lock and Security Hub to further strengthen your infrastructure. By the end of this book, you'll be well versed in the techniques required for securing AWS deployments, along with having the knowledge to prepare for the AWS Certified Security – Specialty certification.
Table of Contents (12 chapters)

Protecting S3 Glacier vaults with Vault Lock

In this recipe, we will learn to use Amazon S3 Glacier Vault Lock and the Vault Lock policy. We will create a Glacier vault, as required for this recipe, in the Getting ready section.

Getting ready

Create an S3 Glacier vault as follows:

  1. Go to Glacier service in the console.
  2. Click on Create Vault.
  3. Select a region and provide a name. I have selected US East (N. Virginia). I have also given the name as mybackupvault. Click Next Step.
  4. Select Enable notifications and use an existing SNS topic and click Next Step.
  5. Provide the Amazon Resource Name (ARN) of the SNS topic we have already created. We created an SNS topic in the Creating an SNS topic to send email recipe in Chapter 8, Monitoring...