No history yet

AWS Security Fundamentals

Who Locks the Doors?

When you move your applications to the cloud, a common question is: who handles security? The answer is a partnership. AWS calls this the Shared Responsibility Model. It's a simple but crucial concept that draws a clear line between what AWS secures and what you are responsible for securing.

AWS is responsible for the security of the cloud. The customer is responsible for security in the cloud.

Think of it like renting an apartment. The landlord is responsible for the security of the building itself, things like the foundation, the main entrance locks, and the fire safety system. That's AWS. They secure the massive global infrastructure: the physical data centers, the hardware, the networking, and the software that runs all their cloud services.

You, as the tenant, are responsible for what happens inside your apartment. You lock your own door, manage who gets a key, and secure your belongings. In AWS terms, you are responsible for securing your data, managing user access, configuring your applications securely, and setting up network controls like firewalls for your own environment.

This division of labor allows you to focus on what matters most, your applications and data, without worrying about running physical data centers. To guide you in securing your part of the cloud, AWS provides a detailed playbook.

The AWS Well-Architected Framework enables cloud architects to build secure, high-performing, resilient, and efficient infrastructure for a range of applications and workloads.

Your Security Playbook

The AWS Well-Architected Framework is a set of best practices for building on AWS, organized into several 'pillars.' The Security Pillar is your guide to fulfilling your side of the shared responsibility model. It’s built on several key design principles that help you improve your security posture.

Core Security Principles

1. Implement a Strong Identity Foundation This is about controlling who can do what. The principle of least privilege is central here. Grant users and systems only the permissions they absolutely need to perform their jobs, and nothing more. This minimizes the potential damage from accidents or a security breach. You should also enforce strong password policies and use multi-factor authentication (MFA) everywhere you can.

2. Enable Traceability If something goes wrong, you need to know what happened. This principle is about logging and monitoring. By keeping detailed records of all actions and changes in your environment, you create an audit trail. This helps with investigating security incidents, troubleshooting issues, and even automating responses to certain events.

3. Apply Security at All Layers Don't just rely on a single firewall at the edge of your network. Modern security requires a defense-in-depth approach. This means applying security controls at every layer of your architecture, from the network perimeter to your individual applications and the data itself. If one layer is breached, others are still in place to protect your assets.

Lesson image

4. Automate Security Best Practices Humans make mistakes, especially when repeating manual tasks. Automation helps create more secure and scalable systems. You can use code to define and deploy your infrastructure, which allows you to apply security controls consistently every time. Automated checks can also continuously scan your environment for misconfigurations or vulnerabilities.

5. Protect Data In-Transit and At-Rest Your data is often your most valuable asset. It needs to be protected wherever it is. Data 'in transit' is data moving across a network. Data 'at rest' is data stored on a disk. You should use encryption for both. Classifying your data helps you apply the right level of protection, ensuring that the most sensitive information gets the strongest security.

6. Keep People Away from Data To reduce the risk of human error or unauthorized access, limit direct human access to sensitive data as much as possible. Instead, create automated mechanisms and tools for processing and managing data. When people do need access, it should be temporary and logged.

7. Prepare for Security Events Security isn't just about prevention; it's also about response. You should have a plan for how to react to a security incident. This includes running drills and using automated tools to speed up detection, investigation, and recovery. The goal is to minimize the impact of an event and get back to normal operations quickly.

These principles provide a strong foundation. Let's test your understanding.

Quiz Questions 1/6

In the AWS Shared Responsibility Model, which of the following is the customer's responsibility?

Quiz Questions 2/6

The security design principle that involves applying security controls at multiple levels, from the network perimeter to individual applications, is known as:

By understanding your responsibilities and following these design principles, you can build a robust and secure environment on AWS.