Landing Zone Security
Earn 25 points (50 with Pro) in two steps
- ① Read through the lesson — each section gets a ✓ as you scroll through it.
- ② When every section has a ✓, tap Complete lesson.
0 of 12 read · keep scrolling
✦ See fewer ads and earn double points — 50 a lesson instead of 25 — with Pro
Landing Zone Security: Building a Secure Foundation in the Cloud
Introduction: Why Landing Zones Matter
When organizations transition from traditional on-premises data centers to cloud environments, the sheer scale and speed of cloud provisioning can quickly lead to chaos. Without a structured approach, individual teams often provision resources in silos, leading to inconsistent security configurations, "shadow IT," and compliance gaps. This is where the concept of a "Landing Zone" becomes essential. A Landing Zone is the pre-configured, multi-account environment that acts as the foundation for your cloud footprint. It incorporates identity management, governance, data security, network design, and logging into a single, automated deployment.
Security at the Landing Zone level is not merely an optional feature; it is the bedrock upon which all subsequent applications and services must be built. If the foundation is porous, every application deployed within that environment inherits those vulnerabilities by default. By implementing security guardrails at the account creation level, you ensure that developers can move fast without inadvertently exposing sensitive data to the public internet or violating regulatory requirements. This lesson explores the architectural patterns, security controls, and operational best practices required to build and maintain a secure Landing Zone.
Not read yet
Core Components of a Secure Landing Zone
A secure Landing Zone is composed of several logical layers that work in concert to enforce security policies. While cloud providers have different naming conventions, the functional requirements remain consistent across AWS, Azure, and Google Cloud.
1. Identity and Access Management (IAM)
Centralized identity management is the first line of defense. Instead of creating local users in every account, you should integrate your cloud environment with a central identity provider (IdP), such as Active Directory or Okta. By enforcing Single Sign-On (SSO) and Multi-Factor Authentication (MFA) at the organization level, you reduce the risk of credential theft and simplify the offboarding process for employees.
2. Account Governance and Organization
Cloud environments should be organized into a hierarchy of accounts, often grouped by environment (e.g., Development, Staging, Production) or business unit. This structure allows you to apply security policies—often called "Service Control Policies" or "Azure Policies"—that restrict what actions can be taken within those accounts. For example, you might prevent developers from modifying security group settings in a Production account, even if they have administrative privileges within that account.
3. Network Segmentation
A secure Landing Zone enforces a "hub-and-spoke" network architecture. The "hub" account contains shared network services, such as a centralized firewall, intrusion detection systems, and VPN or Direct Connect gateways. The "spoke" accounts contain the actual application workloads. By forcing all egress traffic through the hub, you gain visibility into what data is leaving your environment and can block malicious traffic patterns at a single choke point.
4. Centralized Logging and Auditing
Visibility is the cornerstone of incident response. A secure Landing Zone must aggregate logs from every account—including API call logs, firewall logs, and application logs—into a dedicated, locked-down security account. This centralized repository should be immutable, meaning that even a compromised account cannot delete its own audit history.
Callout: The Shared Responsibility Model It is vital to remember that while the cloud provider manages the security of the cloud (the physical hardware, networking infrastructure, and hypervisor), you are responsible for security in the cloud. A Landing Zone is your primary tool for managing your side of this responsibility. It automates the "boring" parts of security—like enabling encryption by default—so you can focus on application-level threats.
Not read yet
Implementing Security Guardrails
Guardrails are the automated rules that keep your environment within predefined security boundaries. They generally fall into two categories: preventative and detective.
Preventative Guardrails
These are proactive measures that block unauthorized actions before they happen. Examples include:
- Restricting Regions: Blocking the creation of resources in regions that do not meet your data residency requirements.
- Enforcing Encryption: Denying the creation of any storage bucket or database that does not have encryption-at-rest enabled.
- Disallowing Public Access: Blocking the ability to make a cloud storage bucket or database instance publicly accessible.
Detective Guardrails
These are reactive measures that identify when a configuration has drifted from your security baseline. Examples include:
- Configuration Monitoring: Automatically scanning for security groups that allow traffic on port 22 (SSH) or 3389 (RDP) from anywhere (0.0.0.0/0).
- Vulnerability Scanning: Periodically checking virtual machine images for known software vulnerabilities.
- Anomaly Detection: Analyzing logs for unusual API behavior, such as a user suddenly downloading massive amounts of data from a bucket they rarely access.
Not read yet
Step-by-Step: Configuring a Secure Account Factory
The "Account Factory" is the automated process used to provision new accounts within your Landing Zone. Every new account should be "born" with a baseline security configuration.
Step 1: Define the Baseline Template
Create a template (using Terraform, CloudFormation, or Bicep) that defines the mandatory resources for every account. This includes:
- A default security group that denies all inbound traffic.
- A central logging configuration that routes logs to your security account.
- The application of a "Read-Only" role for your security operations center (SOC).
Step 2: Implement Policy-as-Code
Use policy-as-code tools to enforce your rules. For instance, in an AWS environment, you might use a Service Control Policy (SCP) to prevent the disabling of CloudTrail:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PreventCloudTrailTampering",
"Effect": "Deny",
"Action": [
"cloudtrail:StopLogging",
"cloudtrail:DeleteTrail",
"cloudtrail:UpdateTrail"
],
"Resource": "*"
}
]
}
Explanation: This JSON snippet defines an SCP that denies any user, including administrators, the ability to stop or delete the audit trail. This ensures that the audit logs remain active regardless of who has access to the account.
Step 3: Automate Account Provisioning
Use a service catalog or a CI/CD pipeline to trigger the account creation process. When a team requests a new account, the pipeline should:
- Create the account in the organization.
- Join the account to the correct organizational unit (OU).
- Apply the base security policy template.
- Notify the team that their account is ready.
Tip: Automate or Die Manual account provisioning is the primary cause of security drift. If a human has to "remember" to enable logging or set up a firewall, they will eventually forget. If a process cannot be automated, it is not a scalable security strategy.
Not read yet
Network Security: The Hub-and-Spoke Pattern
The network is the most common attack vector. A secure Landing Zone isolates workloads using a hub-and-spoke architecture to minimize the blast radius of a potential breach.
The Hub
The Hub VPC (or VNet) acts as the gateway to the outside world. It typically houses:
- Firewalls: Next-generation firewalls that perform deep packet inspection.
- NAT Gateways: Allowing private subnets to reach the internet for updates without being directly exposed.
- Transit Gateways: Managing the routing between different spokes and the on-premises connection.
The Spokes
The Spoke VPCs contain the actual application components. These spokes should be configured with:
- Private Subnets Only: No public IP addresses should be assigned to instances within these subnets.
- Security Groups: Strictly defined rules that only allow traffic from the Load Balancer or the App tier.
- VPC Endpoints: Using private connections to access cloud services (like S3 or DynamoDB) so that traffic never touches the public internet.
| Feature | Hub-and-Spoke Architecture | Flat Network Architecture |
|---|---|---|
| Visibility | Centralized, high-level oversight | Fragmented, difficult to monitor |
| Control | Uniform security policies | Inconsistent, per-account policies |
| Blast Radius | Minimized; isolated segments | High; lateral movement is easy |
| Complexity | High initial setup | Low initial setup |
Not read yet
Incident Response and Logging Strategy
Even with the best preventative measures, breaches will occur. Your Landing Zone must be designed to facilitate rapid detection and containment.
Centralized Logging
As mentioned earlier, all logs must be shipped to a centralized security account. This includes:
- Management Plane Logs: Every API call made in the environment.
- Network Plane Logs: Flow logs detailing every connection attempt.
- Data Plane Logs: Access logs for storage buckets and databases.
Automated Alerts
Do not rely on humans to monitor logs. Use automated tools to trigger alerts based on specific patterns. For example:
- Alert: A user logs in from an unusual geographic location (e.g., a country where you have no business).
- Alert: A security group is modified to open port 22 to the public.
- Alert: An S3 bucket policy is changed to "Public Read."
Containment Strategies
When an alert is triggered, your Landing Zone should support automated containment. This could involve:
- Quarantine: Using a Lambda function or automation script to move a compromised resource into a "sandbox" security group that denies all traffic.
- Credential Revocation: Automatically disabling a compromised IAM user or role.
- Snapshotting: Taking an immediate snapshot of a compromised instance for forensic analysis before the threat actor can delete the data.
Not read yet
Common Pitfalls and How to Avoid Them
Even experienced teams fall into common traps when building Landing Zones. Here are the most frequent mistakes and the strategies to avoid them.
1. Over-Privileged Default Roles
The Mistake: Creating a default "Admin" role that every developer gets upon account creation. The Fix: Implement "Just-in-Time" (JIT) access. Developers should have read-only access by default and must request elevated privileges for a limited time (e.g., 2 hours) when they need to perform administrative tasks.
2. Ignoring "Shadow" Regions
The Mistake: Focusing security controls only on the primary region where the team works, while ignoring other regions where a threat actor might deploy resources to hide.
The Fix: Use service-wide policies to disable unused regions entirely. If you only operate in us-east-1, use an SCP to deny any resource creation in all other regions.
3. Hardcoding Credentials
The Mistake: Storing API keys or database passwords in configuration files or code repositories. The Fix: Use a native Secrets Manager or Key Management Service (KMS). Rotate these secrets automatically on a regular schedule.
4. Lack of Patch Management
The Mistake: Assuming that "cloud" means the provider handles all OS-level patching. The Fix: If you are using virtual machines (IaaS), you are still responsible for patching the guest OS. Use automated patch management tools to ensure all instances are up to date.
Warning: The "Public" Trap The most frequent cause of data breaches in the cloud is the accidental misconfiguration of storage buckets. Always enable "Block Public Access" at the account or organization level. This acts as a final safety net that overrides any individual bucket setting, ensuring that even if a developer makes a mistake, the data remains private.
Not read yet
Advanced Security: Data Protection at Rest and in Transit
Securing the perimeter is only half the battle. You must also ensure that the data itself is protected, regardless of where it resides.
Encryption at Rest
Every storage volume, database, and object storage bucket should be encrypted by default. You should use a Key Management Service (KMS) where you control the lifecycle of the keys. By using Customer Managed Keys (CMKs), you have the ability to rotate keys and instantly "revoke" access to data by disabling the key, even if the storage itself is compromised.
Encryption in Transit
All internal traffic between services should be encrypted using TLS. Do not assume that because traffic is "inside your network," it is safe. Use service meshes or load balancers to terminate TLS and ensure that data is encrypted while moving between microservices.
Data Classification
Not all data is created equal. Your Landing Zone should include a tagging strategy that identifies the sensitivity of data (e.g., Public, Internal, Confidential, Restricted). Security policies can then be applied based on these tags. For example, you might create a policy that prevents any resource tagged "Restricted" from being moved to an account that does not have specific compliance certifications (like PCI-DSS or HIPAA).
Not read yet
Scaling Security: The DevSecOps Approach
Security should not be a "gate" at the end of the development lifecycle. Instead, it should be integrated into the developer's workflow.
- IDE Integration: Provide developers with plugins that scan their infrastructure code (Terraform/CloudFormation) for security vulnerabilities before they commit it to the repository.
- CI/CD Pipeline Scanning: Run automated security tests in your pipeline. If a template contains a security violation (e.g., an open S3 bucket), the build should fail automatically.
- Feedback Loops: When a security issue is detected, provide the developer with a clear error message and a link to documentation on how to fix it. Do not just say "Access Denied"; explain the policy that was violated and the recommended alternative.
Example: CI/CD Security Check
In a typical pipeline, you might use a tool like checkov to scan your Terraform files:
# Example command in a CI/CD pipeline
checkov -d ./terraform-configs --check CKV_AWS_20
Explanation: This command scans your configuration files for a specific check (CKV_AWS_20), which verifies that S3 buckets have logging enabled. If it finds a bucket without logging, the build process stops, preventing the insecure configuration from ever reaching your production environment.
Not read yet
Best Practices Checklist for Landing Zone Security
To ensure your Landing Zone remains secure over time, maintain a regular audit cadence and follow these industry-standard best practices:
- Least Privilege: Every human and machine identity should have the absolute minimum permissions required to perform its job.
- Continuous Compliance: Use automated tools to continuously monitor your environment against industry benchmarks (like the CIS Foundations Benchmark).
- Immutable Infrastructure: Avoid modifying running servers. If a server needs an update, replace it with a new, patched image.
- Separation of Duties: Ensure that the team managing the Landing Zone infrastructure is separate from the team managing the application workloads.
- Disaster Recovery: Regularly test your ability to restore data and services. A secure environment is useless if you cannot recover from a ransomware event.
- Centralized Identity: Never use long-lived access keys for human users. Always use federated identity with MFA.
- Logging Integrity: Treat your log storage as a high-security asset. Only the security team should have write/delete permissions for the logs.
Not read yet
Common Questions: Landing Zone Security
Q: Does a Landing Zone replace the need for an application firewall? A: No. A Landing Zone provides the infrastructure-level security (the "walls" of your house). You still need application-level security (e.g., WAF, input validation, authentication logic) to protect the software running inside that house.
Q: How often should we update our Landing Zone policies? A: You should review your security policies at least quarterly or whenever there is a significant change in your cloud provider’s feature set. Treat your infrastructure-as-code repository with the same versioning and review rigor as your application code.
Q: Can we use a Landing Zone for a small project? A: Yes, but keep it simple. Even a single-account project benefits from having a basic security baseline, such as MFA enforcement, centralized logging, and encrypted storage. Do not over-engineer; instead, start with a "minimal viable security" baseline and expand as the project grows.
Not read yet
Key Takeaways
- Foundation is Everything: Security starts at the account level. A well-designed Landing Zone provides the guardrails that allow developers to innovate safely without compromising the integrity of the organization.
- Automation is Essential: Manual security configuration is prone to human error and drift. Use infrastructure-as-code and automated policy enforcement to ensure that security is consistent and repeatable.
- The Hub-and-Spoke Model: Use a centralized network hub to manage traffic, firewalls, and connectivity. This limits the blast radius of any individual account and provides a single point of visibility for security operations.
- Visibility and Auditing: You cannot secure what you cannot see. Centralize all logs into an immutable repository and use automated tools to alert you to anomalies, rather than relying on manual log review.
- Shift Left: Integrate security into the development lifecycle by scanning infrastructure code in your CI/CD pipelines. This catches vulnerabilities before they are ever deployed to the cloud.
- Identity is the Perimeter: In the cloud, traditional firewalls are not enough. Secure identity, enforce MFA, and use role-based access control to ensure that only the right people and services have access to your data.
- Shared Responsibility: Always remember that the cloud provider manages the infrastructure, but you are responsible for the security of your data and configurations. A Landing Zone is the primary tool for managing your side of that responsibility.
By following these principles and building a Landing Zone that prioritizes security, you create an environment that is not only resilient against threats but also agile enough to support the rapid pace of modern cloud-native development. Secure your foundation, automate your controls, and maintain constant visibility to ensure your cloud journey remains safe and compliant.
Not read yet
Each section gets a ✓ as you scroll through it. Tap the button to jump to the next one.
- Introduction to Zero Trust
- Introduction to Zero Trust Quiz5q
- Zero Trust Guiding Principles
- Zero Trust Guiding Principles Quiz5q
- Security Best Practices Overview
- Security Best Practices Overview Quiz5q
- Zero Trust Adoption Framework
- Zero Trust Adoption Framework Quiz5q
- Security Antipatterns to Avoid
- Security Antipatterns to Avoid Quiz5q
- Microsoft Cybersecurity Reference Architecture
- Microsoft Cybersecurity Reference Architecture Quiz5q
- Microsoft Cloud Security Benchmark
- Microsoft Cloud Security Benchmark Quiz5q
- Security Adoption Framework
- Security Adoption Framework Quiz5q
- Insider Threat Protection
- Insider Threat Protection Quiz5q
- Supply Chain Security
- Supply Chain Security Quiz5q
- Compliance Requirements Translation
- Compliance Requirements Translation Quiz5q
- Microsoft Purview Compliance Manager
- Microsoft Purview Compliance Manager Quiz5q
- Azure Policy for Compliance
- Azure Policy for Compliance Quiz5q
- Multicloud Compliance Strategies
- Multicloud Compliance Strategies Quiz5q
- AI Governance and Compliance
- AI Governance and Compliance Quiz5q
- Identity Architecture Design
- Identity Architecture Design Quiz5q
- Access Strategies for Different Models
- Access Strategies for Different Models Quiz5q
- Modern Authentication Design
- Modern Authentication Design Quiz5q
- External Collaboration Security
- External Collaboration Security Quiz5q
- Identity Infrastructure Protection
- Identity Infrastructure Protection Quiz5q
- Enterprise Access Model
- Enterprise Access Model Quiz5q
- Privileged Access Workstations
- Privileged Access Workstations Quiz5q
- Microsoft Entra ID Governance
- Microsoft Entra ID Governance Quiz5q
- AI Workload Privileged Access
- AI Workload Privileged Access Quiz5q
- Multicloud Privileged Access
- Multicloud Privileged Access Quiz5q
- Security Operations Center Design
- Security Operations Center Design Quiz5q
- SIEM and SOAR Design
- SIEM and SOAR Design Quiz5q
- Microsoft Sentinel Architecture
- Microsoft Sentinel Architecture Quiz5q
- Security Workflows and Automation
- Security Workflows and Automation Quiz5q
- Threat Intelligence Integration
- Threat Intelligence Integration Quiz5q
- Logging and Auditing Design
- Logging and Auditing Design Quiz5q
- Network Segmentation Strategies
- Network Segmentation Strategies Quiz5q
- Traffic Filtering and DDoS Protection
- Traffic Filtering and DDoS Protection Quiz5q
- Network Monitoring and Posture
- Network Monitoring and Posture Quiz5q
- Azure Firewall Architecture
- Azure Firewall Architecture Quiz5q
- Web Application Firewall Design
- Web Application Firewall Design Quiz5q
- Microsoft Purview Data Security
- Microsoft Purview Data Security Quiz5q
- Data Discovery and Classification
- Data Discovery and Classification Quiz5q
- Defender for SQL and Storage
- Defender for SQL and Storage Quiz5q
- Encryption and Key Management
- Encryption and Key Management Quiz5q
- AI Security Considerations
- AI Security Considerations Quiz5q
Spend your points to unlock exam-style practice questions
Spend points to unlock SC-100 exam-style practice questions.
Practice for SC-100