Module 11 - AWS Security Management
Module 11 - AWS Security Management
• Creating a software system is a lot like constructing a building. If the foundation is not solid, structural
problems can undermine the integrity and function of the building
• When architecting technology solutions, if you neglect the six pillars of operational excellence,
security, reliability, performance efficiency, cost optimization and Sustainability, it can become
challenging to build a system that delivers on your expectations and requirements your expectations
and requirements
• The AWS Well-Architected Framework helps cloud architects build the most secure, high-performing,
resilient, and efficient infrastructure possible for their applications
1. Operational Excellence
The Operational Excellence pillar includes the ability to run and monitor systems to deliver business
value and to continually improve supporting processes and procedures.
There are six design principles for operational excellence in the cloud
The Security pillar includes the ability to protect information, systems, and assets while delivering business
value through risk assessments and mitigation strategies.
The Reliability pillar includes the ability of a system to recover from infrastructure or service disruptions,
dynamically acquire computing resources to meet demand, and mitigate disruptions such as
misconfigurations or transient network issues.
The Performance Efficiency pillar includes the ability to use computing resources efficiently to meet
system requirements, and to maintain that efficiency as demand changes and technologies evolve.
There are five design principles for performance efficiency in the cloud:
The Cost Optimization pillar includes the ability to run systems to deliver business value at the lowest
price point.
There are five design principles for cost optimization in the cloud:
The Sustainability pillar focuses on environmental impacts, especially energy consumption and efficiency,
since they are important levers for architects to inform direct action to reduce resource usage
- Learn, measure,
and build using
architectural best
practices
- Helps you review
your workloads
against current
AWS best practices
- Provides guidance
on how to improve
your cloud
architectures
Introduction to Cloud Trail
- Helps you enable governance, compliance, and operational and risk auditing of your AWS account
- Actions taken by a user, role, or an AWS service are recorded as events in CloudTrail
- Events include actions taken in the AWS Management Console, AWS Command Line Interface,
and AWS SDKs and APIs
- Enabled when you create AWS account
- You can use CloudTrail to view, search, download, archive, analyze, and respond to account activity
across your AWS infrastructure
- You can identify
- who or what took which action
- what resources were acted upon
- when the event occurred
- other details to help you analyze and respond to activity in your AWS account
- Can create 5 Trails per region (cannot be increased)
Management Events
Management events provide information about management operations that are performed on
resources in your AWS account. These are also known as control plane operations
- Example
- Registering devices (for example, Amazon EC2 CreateDefaultVpc API operations)
Management events can also include non-API events that occur in your account. For example, when a
user signs in to your account, CloudTrail logs the ConsoleLogin event
Data Events
Data events provide information about the resource operations performed on or in a resource. These
are also known as data plane operations. Data events are often high-volume activities
- Example
- Amazon S3 object-level API activity (for example, GetObject, DeleteObject, and PutObject API
operations)
Insights Events
- CloudTrail Insights events capture unusual activity in your AWS account. If you have Insights events
enabled, and CloudTrail detects unusual activity, Insights events are logged to a different folder or
prefix in the destination S3 bucket for your trail.
- CloudTrail event history provides a viewable, searchable, and downloadable record of the past 90 days
of CloudTrail events. You can use this history to gain visibility into actions taken in your AWS account in
the AWS Management Console, AWS SDKs, command line tools, and other AWS services
Organization Trails
⁻ An organization trail is a configuration that enables delivery of CloudTrail events in the master account
and all member accounts in an organization to the same Amazon S3 bucket
⁻ Creating an organization trail helps you define a uniform event logging strategy for your organization
Cloudwatch
AWS CloudWatch
- Amazon CloudWatch monitors your Amazon Web Services (AWS) resources and the applications you
run on AWS in real time
- Use CloudWatch to collect and track metrics, which are variables you can measure for your resources
and applications.
How Amazon Cloudwatch Works
⁻ You can create a CloudWatch alarm that watches a single CloudWatch metric
⁻ The alarm performs one or more actions based on the value of the metric or expression relative to a
threshold over a number of time periods
⁻ The action can be an Amazon EC2 action, an Amazon EC2 Auto Scaling action, or a notification sent to
an Amazon SNS topic
Datapoints to Alarm
Alarm Possible states: