AWS Multi-Account Architecture and Best Practices

Amazon Web Services
Amazon Web ServicesAmazon Web Services
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
T A I P E I
10.15.19
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Multi-Account Architecture
and Best Practices
AWS 多帳戶架構與最佳實踐
Simon Wang 王舜民
Solutions Architect
Amazon Web Services
T A I P E I
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
• About Multiple Account Strategy and “landing zone”
• What’s a landing zone?
• Implementing a landing zone – 2 Approaches
• Summary
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
How many AWS accounts do I need?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Organizations
Master Account (★)
• Account used to create the
organization (payer account)
• Central management and
governance hub
Organizational Unit (OU)
• Set of AWS accounts logically
grouped within an organization
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Account - Best Isolation Boundary
Security/resource
boundary
API limits/throttling Billing separation
“If Team A can’t support Team B's app when paged
at 2 AM, the applications probably shouldn't be in
the same account.”
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Why One Account isn’t Enough?
Billing
Many teams
Security / compliance
controls
Business process
Isolation
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
You Need a “landing zone”
H
• A configured, secure, scalable, multi-account AWS environment
based on AWS best practices
• A starting point for net new development and experimentation
• A starting point for migrating applications
• An environment that allows for iteration and extension over time
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What accounts should I create?
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Master Account
AWS Organizations Master
Network Path
Data Center
No connection to DC
Service control policies
Consolidated billing
Volume discount
Minimal resources
Limited access
Restrict Orgs role!
Cloud Platform Engineering
Platform Team
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Core Accounts
Core Accounts
AWS Organizations Master
Network Path
Data Center
Foundational
Once per organization
Have their own development
life cycle (dev/qa/prod)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Core: Log Archive Account
Core Accounts
AWS Organizations Master
Log Archive
Network Path
Data Center
Versioned Amazon S3 bucket
Restricted
MFA delete
AWS CloudTrail logs
Security logs
Single source of truth
Alarm on user login
Limited access
Cloud Platform Engineering
Operation Team
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Core: Security Account
Core Accounts
AWS Organizations Master
Log Archive
Network Path
Data Center
Optional data center
connectivity
Security tools and audit
Amazon GuardDuty
master / Amazon
Inspector / Firewall
Manager
Cross-account read/write
Automated Tooling
Limited access
Security
Cloud Platform Engineering
Security Team
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Core: Shared Services Account
Security
Core Accounts
AWS Organizations Master
Log Archive
Network Path
Data Center
Connected to DC
Shared Services to whole
organization
• DNS
• LDAP/Active Directory
• Deployment tools
• Golden AMI
• Source Repo/Pipeline
• Scanning infrastructure
• Inactive instances
• Improper tags
• Monitoring
Limited access
Shared
Services
Cloud Platform Engineering
Platform Team
Cloud Platform Engineering
Operation Team
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Developer Sandbox
Security
Core Accounts
AWS Organizations Master
Shared
Services
Network
Log Archive
Network Path
No connection to DC
Innovation space
Fixed spending limit
Autonomous
Experimentation
Developer
Sandbox
Developer Accounts
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Team/Group Accounts
Developer
Sandbox
Security
Core Accounts
AWS Organizations Master
Shared
Services
Network
Log Archive
Network Path
Developer Accounts Data Center
Based on level of needed
isolation
Match your development
lifecycle
Team/Group Accounts
Application
Devops teams
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Team: Dev Account
Developer
Sandbox
Team/Group Accounts
Security
Core Accounts
AWS Organizations Master
Shared
Services
Network
Log Archive
Network Path
Developer Accounts Data Center
Develop and iterate
quickly
Collaboration space
Stage of SDLCDev
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Team: Pre-prod Account
Developer
Sandbox
Dev
Team/Group Accounts
Security
Core Accounts
AWS Organizations Master
Shared
Services
Network
Log Archive
Network Path
Developer Accounts Data Center
Connected to DC
Production-like
Staging
Testing
Automated deployment
Pre-Prod
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Team: Production
Developer
Sandbox
Dev Pre-Prod
Team/Group Accounts
Security
Core Accounts
AWS Organizations Master
Shared
Services
Network
Log Archive
Network Path
Developer Accounts Data Center
Connected to DC
Production applications
Automated deployments
Limited access
Prod
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Team: Shared Services
Developer
Sandbox
Dev Pre-Prod
Team/Group Accounts
Security
Core Accounts
AWS Organizations Master
Shared
Services
Network
Log Archive Prod
Network Path
Developer Accounts Data Center
Grows organically
Shared to the team
Product-specific common
services
Common tooling
Common services
Team Shared
Services
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Action Plan for Landing Zone …
Create Organizations Master account
• Create temporary Amazon S3 bucket for AWS
CloudTrail logs
• Enable CloudTrail locally
• Enable AWS Organizations full feature
Create Log Archive account
• Create bucket(s) for security logs (AWS CloudTrail,
AWS Config)
• Enable MFA delete
• Enable versioning
• Define limited access bucket policy
• Add SCP to prevent s3:delete
• Backfill: Enable CloudTrail in organizations master
account to send logs to Log Archive account
• Backfill: Copy CloudTrail logs for actions that
happened between Organizations Master creation and
log archive
Create Security account
• Backfill: Cross-account roles with trust to Security account
for organizations master and log archive
• Read-only role
• Read/Write role (fewer permissions for assumption)
• <CommonCheckList>
• Create security tooling/AWS Lambda functions for security
checks
Create Shared Services account
• <CommonCheckList>
• Connect via DX/VPN to DC
• Launch common services
• Directory services
• Limit monitoring
Create Team accounts
• <CommonCheckList>
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Common Checklist for Account Security
• Secure Root credentials
MFA
• OTP
• U2F could make this easier for managing them
• https://aws.amazon.com/blogs/security/how-to-create-
and-manage-users-within-aws-sso/
• Complex password
• Establish rotation policy
• Link to Organizations Master account if not already a
member
• Use group email/phone as the contact info
• Enable AWS CloudTrail in all regions, send to Log Archive
account
• Enable Amazon GuardDuty in all regions.
• Security Account as Amazon GuardDuty master
• Operationalize the findings
• Enable AWS Config, send to Log Archive account
• Enable appropriate AWS Config rules
• Amazon S3 bucket encryptions
• Amazon S3 world read/write
• ebs encryption etc...
• Create read-only cross-account Security role
• Create read/write cross-account Security role
• Create VPC (non-overlapping IP space)
• Enable federation into account
• http://federationworkshopreinvent2016.s3-website-us-east-
1.amazonaws.com/
• Define roles and access policies
• Peer/Privatelink Amazon VPC with Shared Services
• Add a policy for prefix naming conditions to every
account—For example, deny access to Lambda functions
that start with “security*”
• Review CIS Foundations Benchmark and leverage as
appropriate
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Approaching to your ”landing zone”
AWS Landing Zone (ALZ):
• Implementation of a landing zone based on multi-account strategy guidance
• Is an AWS Solutions (not an AWS service) that can save time by automating the setup of an
environment while implementing an initial security baseline
AWS Control Tower (CT):
• AWS native-service version of AWS Landing Zone
H
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Implementation - AWS Landing Zone
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Landing Zone Structure
Shared Services Log Archive Security
AWS Organizations
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Master Account – SSO (Single Sign On)
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Master Account - Account Vending Machine
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Team/Group Account – Baselines
Enable Notification
Enable Config Rules
Create VPC, Delete default VPC,
enable Flow Log and peering
Strong PWD Policy
Setup Security Roles
CloudTrail to Log
Account
Enable GuardDuty
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Shared Services Account
AD Service
Centralized Logging Search
Shared Service VPC Peering
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Log Archive Account
S3 bucket for Centralized Logs
CloudTrail and Config History
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Security Account
GuardDuty Master View
Compliance & Security Notifications
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Implementation - AWS Control Tower
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Control Tower - Set up an AWS landing zone
• Landing zone - a preconfigured, secure,
scalable, multi-account AWS environment
based on best practice blueprints
• Multi-account management using AWS
Organizations
• Identity and federated access management
using AWS SSO
• Centralized log archive using AWS
CloudTrail and AWS Config
• Cross-account audit access using AWS SSO
and AWS IAM
• End user account provisioning through
AWS Service Catalog
• Centralized monitoring and notifications
using Amazon CloudWatch and Amazon
SNS
Master account
AWS Control Tower AWS Organizations AWS Single
Sign-On
Stack
sets
AWS Service
Catalog
Log archive
account
Aggregate
AWS CloudTrail
and AWS
Config logs
Account
baseline
Audit account
Security cross-
account roles
Account
baseline
Provisioned
accounts
Network
baseline
Account
baseline
Amazon
CloudWatch
aggregator
Security
notifications
Core OU Custom OU AWS SSO
directory
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Establish Guardrails (Baselines)
• Guardrails are preconfigured governance rules
for security, compliance, and operations
• Expressed in plain English to provide
abstraction over granular AWS policies
• Preventive guardrails: prevent policy violations
through enforcement; implemented using AWS
CloudFormation and SCPs
• Detective guardrails: detect policy violations
and alert in the dashboard; implemented using
AWS Config rules
• Mandatory and strongly recommended
guardrails for prescriptive guidance
• Easy selection and enablement on
organizational units
Organizational
units
Accounts
Enable
Enable
Output
Output
Output
Organizational
units
Accounts
Preventive guardrail
Granular AWS
policies
SCP
Detective/remediable
guardrails
Granular
AWS policies
AWS Config
rules
Always
compliant
Compliant
Non-
compliant
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Guardrails
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Account
Factory
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Dashboard
for
Oversight
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS Control Tower vs. AWS Landing Zone
• AWS Cloudformation-base solution
• Fully customizable/owned by customer
• Most regions supported
• Complete flexibility on account structure
• Complex requiring significant expertise
• Managed service by AWS
• Fixed blueprints and guardrails
• Four regions at launch
• Two non-configurable core accounts,
no Shared Service, no Amazon VPC in
core
• Self service guided deployment
configurable through GUI
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Which One Should I Choose?
AWS Control
Tower
AWS Landing
Zone
AWS Control Tower capabilities
meet what you need
You are willing to start with
fresh new environment
You are willing to grow with the
managed service
You don't have a team that can
take on the complexity of
managing the AWS Landing
Zone Solution
You have an existing landing
zone that meets your current
needs and exceeds CT’s feature
set
You need full customization and
full control over every aspect of
the landing zone
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Best Practice - Multi-account Strategy
Developer
Sandbox
Dev Pre-Prod
Team/Group Accounts
Security
Core Accounts
AWS Organizations Master Account
Shared
Services
Network
Log Archive Prod
Team Shared
Services
Network Path
Developer Accounts Data Center
Orgs: Account management
Log Archive: Security logs
Security: Security tools, AWS Config rules
Shared services: Directory, limit monitoring
Network: Direct Connect, Transit Gateway
Dev Sandbox: Experiments, Learning
Dev: Development
Pre-Prod: Staging
Prod: Production
Team SS: Team Shared Services, Data Lake
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Benefits of “landing zone”
Set up a best-practices AWS environment
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Resource to Get You Started
AWS Control Tower User Guide
https://docs.aws.amazon.com/controltower/latest/userguide/controltower-ug.pdf
AWS Control Tower Labs
https://controltower.aws-management.tools
AWS Landing Zone Solution
https://aws.amazon.com/solutions/aws-landing-zone/
AWS Landing Zone Online Tech Talks
https://pages.awscloud.com/Whats-New-in-AWS-Landing-Zone_2019_0514-ENT_OD.html
Thank you!
© 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Simon Wang 王舜民
Solutions Architect
shunminw@amazon.com
1 of 43

Recommended

AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018 by
AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018
AWS Landing Zone Deep Dive (ENT350-R2) - AWS re:Invent 2018Amazon Web Services
3.8K views25 slides
AWS Control Tower by
AWS Control TowerAWS Control Tower
AWS Control TowerCloudHesive
656 views33 slides
Building a well-engaged and secure AWS account access management - FND207-R ... by
 Building a well-engaged and secure AWS account access management - FND207-R ... Building a well-engaged and secure AWS account access management - FND207-R ...
Building a well-engaged and secure AWS account access management - FND207-R ...Amazon Web Services
2.1K views53 slides
Aws landing zone by
Aws landing zoneAws landing zone
Aws landing zoneIgor Ivanovic
362 views33 slides
Using AWS Control Tower to govern multi-account AWS environments at scale - G... by
Using AWS Control Tower to govern multi-account AWS environments at scale - G...Using AWS Control Tower to govern multi-account AWS environments at scale - G...
Using AWS Control Tower to govern multi-account AWS environments at scale - G...Amazon Web Services
8.4K views23 slides
Introduction to AWS Lambda and Serverless Applications by
Introduction to AWS Lambda and Serverless ApplicationsIntroduction to AWS Lambda and Serverless Applications
Introduction to AWS Lambda and Serverless ApplicationsAmazon Web Services
11K views45 slides

More Related Content

What's hot

Deploy and Govern at Scale with AWS Control Tower by
Deploy and Govern at Scale with AWS Control TowerDeploy and Govern at Scale with AWS Control Tower
Deploy and Govern at Scale with AWS Control TowerAmazon Web Services
4.2K views66 slides
Intro to AWS Lambda by
Intro to AWS Lambda Intro to AWS Lambda
Intro to AWS Lambda Amazon Web Services
8.8K views26 slides
Setting Up a Landing Zone by
Setting Up a Landing ZoneSetting Up a Landing Zone
Setting Up a Landing ZoneAmazon Web Services
31.7K views25 slides
Aws VPC by
Aws VPCAws VPC
Aws VPCAbhishek Amralkar
1.5K views26 slides
Deep dive into AWS IAM by
Deep dive into AWS IAMDeep dive into AWS IAM
Deep dive into AWS IAMAmazon Web Services
5.9K views52 slides
Getting Started with Amazon EC2 by
Getting Started with Amazon EC2Getting Started with Amazon EC2
Getting Started with Amazon EC2Amazon Web Services
8.2K views70 slides

What's hot(20)

Deploy and Govern at Scale with AWS Control Tower by Amazon Web Services
Deploy and Govern at Scale with AWS Control TowerDeploy and Govern at Scale with AWS Control Tower
Deploy and Govern at Scale with AWS Control Tower
Amazon Web Services4.2K views
Amazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven by Amazon Web Services
Amazon CloudWatch Logs and AWS Lambda: A Match Made in HeavenAmazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven
Amazon CloudWatch Logs and AWS Lambda: A Match Made in Heaven
Amazon Web Services1.2K views
Implementing your landing zone - FND210 - AWS re:Inforce 2019 by Amazon Web Services
Implementing your landing zone - FND210 - AWS re:Inforce 2019 Implementing your landing zone - FND210 - AWS re:Inforce 2019
Implementing your landing zone - FND210 - AWS re:Inforce 2019
Amazon Web Services5.1K views
고객의 플랫폼/서비스를 개선한 국내 사례 살펴보기 – 장준성 AWS 솔루션즈 아키텍트, 강산아 NDREAM 팀장, 송영호 야놀자 매니저, ... by Amazon Web Services Korea
고객의 플랫폼/서비스를 개선한 국내 사례 살펴보기 – 장준성 AWS 솔루션즈 아키텍트, 강산아 NDREAM 팀장, 송영호 야놀자 매니저, ...고객의 플랫폼/서비스를 개선한 국내 사례 살펴보기 – 장준성 AWS 솔루션즈 아키텍트, 강산아 NDREAM 팀장, 송영호 야놀자 매니저, ...
고객의 플랫폼/서비스를 개선한 국내 사례 살펴보기 – 장준성 AWS 솔루션즈 아키텍트, 강산아 NDREAM 팀장, 송영호 야놀자 매니저, ...
Automated Solution for Deploying AWS Landing Zone (GPSWS407) - AWS re:Invent ... by Amazon Web Services
Automated Solution for Deploying AWS Landing Zone (GPSWS407) - AWS re:Invent ...Automated Solution for Deploying AWS Landing Zone (GPSWS407) - AWS re:Invent ...
Automated Solution for Deploying AWS Landing Zone (GPSWS407) - AWS re:Invent ...
Amazon Web Services2.3K views
AWS 네트워크 보안을 위한 계층별 보안 구성 모범 사례 – 조이정, AWS 솔루션즈 아키텍트:: AWS 온라인 이벤트 – 클라우드 보안 특집 by Amazon Web Services Korea
AWS 네트워크 보안을 위한 계층별 보안 구성 모범 사례 – 조이정, AWS 솔루션즈 아키텍트:: AWS 온라인 이벤트 – 클라우드 보안 특집AWS 네트워크 보안을 위한 계층별 보안 구성 모범 사례 – 조이정, AWS 솔루션즈 아키텍트:: AWS 온라인 이벤트 – 클라우드 보안 특집
AWS 네트워크 보안을 위한 계층별 보안 구성 모범 사례 – 조이정, AWS 솔루션즈 아키텍트:: AWS 온라인 이벤트 – 클라우드 보안 특집
Getting Started with Serverless Architectures by Amazon Web Services
Getting Started with Serverless ArchitecturesGetting Started with Serverless Architectures
Getting Started with Serverless Architectures
Amazon Web Services9.3K views
Security at Scale: Security Hub and the Well Architected Framework - AWS Summ... by Amazon Web Services
Security at Scale: Security Hub and the Well Architected Framework - AWS Summ...Security at Scale: Security Hub and the Well Architected Framework - AWS Summ...
Security at Scale: Security Hub and the Well Architected Framework - AWS Summ...
Elastic Load Balancing Deep Dive - AWS Online Tech Talk by Amazon Web Services
Elastic  Load Balancing Deep Dive - AWS Online Tech TalkElastic  Load Balancing Deep Dive - AWS Online Tech Talk
Elastic Load Balancing Deep Dive - AWS Online Tech Talk
Amazon Web Services5.1K views
AWS Control Tower를 통한 클라우드 보안 및 거버넌스 설계 - 김학민 :: AWS 클라우드 마이그레이션 온라인 by Amazon Web Services Korea
AWS Control Tower를 통한 클라우드 보안 및 거버넌스 설계 - 김학민 :: AWS 클라우드 마이그레이션 온라인AWS Control Tower를 통한 클라우드 보안 및 거버넌스 설계 - 김학민 :: AWS 클라우드 마이그레이션 온라인
AWS Control Tower를 통한 클라우드 보안 및 거버넌스 설계 - 김학민 :: AWS 클라우드 마이그레이션 온라인

Similar to AWS Multi-Account Architecture and Best Practices

Launch AWS Faster using Automated Landing Zones - AWS Online Tech Talks by
Launch AWS Faster using Automated Landing Zones - AWS Online Tech TalksLaunch AWS Faster using Automated Landing Zones - AWS Online Tech Talks
Launch AWS Faster using Automated Landing Zones - AWS Online Tech TalksAmazon Web Services
1.5K views31 slides
Landing Zones - Creating a Foundation for Your AWS Migrations by
Landing Zones - Creating a Foundation for Your AWS MigrationsLanding Zones - Creating a Foundation for Your AWS Migrations
Landing Zones - Creating a Foundation for Your AWS MigrationsAmazon Web Services
1.5K views22 slides
Enterprise Governance and Security Build Your AWS Landing Zone (SEC315) - AWS... by
Enterprise Governance and Security Build Your AWS Landing Zone (SEC315) - AWS...Enterprise Governance and Security Build Your AWS Landing Zone (SEC315) - AWS...
Enterprise Governance and Security Build Your AWS Landing Zone (SEC315) - AWS...Amazon Web Services
819 views48 slides
Enterprise Governance: Build Your AWS Landing Zone (ENT351-R1) - AWS re:Inven... by
Enterprise Governance: Build Your AWS Landing Zone (ENT351-R1) - AWS re:Inven...Enterprise Governance: Build Your AWS Landing Zone (ENT351-R1) - AWS re:Inven...
Enterprise Governance: Build Your AWS Landing Zone (ENT351-R1) - AWS re:Inven...Amazon Web Services
3.2K views48 slides
Landing Zone: Como ter certeza que sua Fundação está preparada by
Landing Zone: Como ter certeza que sua Fundação está preparadaLanding Zone: Como ter certeza que sua Fundação está preparada
Landing Zone: Como ter certeza que sua Fundação está preparadaAmazon Web Services LATAM
94 views47 slides
AWS Initiate - Landing Zone: Como saber se sua base está preparada by
AWS Initiate - Landing Zone: Como saber se sua base está preparadaAWS Initiate - Landing Zone: Como saber se sua base está preparada
AWS Initiate - Landing Zone: Como saber se sua base está preparadaAmazon Web Services LATAM
286 views48 slides

Similar to AWS Multi-Account Architecture and Best Practices(20)

Launch AWS Faster using Automated Landing Zones - AWS Online Tech Talks by Amazon Web Services
Launch AWS Faster using Automated Landing Zones - AWS Online Tech TalksLaunch AWS Faster using Automated Landing Zones - AWS Online Tech Talks
Launch AWS Faster using Automated Landing Zones - AWS Online Tech Talks
Amazon Web Services1.5K views
Landing Zones - Creating a Foundation for Your AWS Migrations by Amazon Web Services
Landing Zones - Creating a Foundation for Your AWS MigrationsLanding Zones - Creating a Foundation for Your AWS Migrations
Landing Zones - Creating a Foundation for Your AWS Migrations
Amazon Web Services1.5K views
Enterprise Governance and Security Build Your AWS Landing Zone (SEC315) - AWS... by Amazon Web Services
Enterprise Governance and Security Build Your AWS Landing Zone (SEC315) - AWS...Enterprise Governance and Security Build Your AWS Landing Zone (SEC315) - AWS...
Enterprise Governance and Security Build Your AWS Landing Zone (SEC315) - AWS...
Enterprise Governance: Build Your AWS Landing Zone (ENT351-R1) - AWS re:Inven... by Amazon Web Services
Enterprise Governance: Build Your AWS Landing Zone (ENT351-R1) - AWS re:Inven...Enterprise Governance: Build Your AWS Landing Zone (ENT351-R1) - AWS re:Inven...
Enterprise Governance: Build Your AWS Landing Zone (ENT351-R1) - AWS re:Inven...
Amazon Web Services3.2K views
Operational Excellence for Identity & Access Management (SEC334) - AWS re:Inv... by Amazon Web Services
Operational Excellence for Identity & Access Management (SEC334) - AWS re:Inv...Operational Excellence for Identity & Access Management (SEC334) - AWS re:Inv...
Operational Excellence for Identity & Access Management (SEC334) - AWS re:Inv...
Control your cloud environment with AWS management tools by Amazon Web Services
Control your cloud environment with AWS management toolsControl your cloud environment with AWS management tools
Control your cloud environment with AWS management tools
AWS identity services: Enabling and securing your cloud journey - SEC203 - Ne... by Amazon Web Services
AWS identity services: Enabling and securing your cloud journey - SEC203 - Ne...AWS identity services: Enabling and securing your cloud journey - SEC203 - Ne...
AWS identity services: Enabling and securing your cloud journey - SEC203 - Ne...
Cloud Governance and Provisioning Management using AWS Management Tools and S... by Amazon Web Services
Cloud Governance and Provisioning Management using AWS Management Tools and S...Cloud Governance and Provisioning Management using AWS Management Tools and S...
Cloud Governance and Provisioning Management using AWS Management Tools and S...
Best practices for choosing identity solutions for applications + workloads -... by Amazon Web Services
Best practices for choosing identity solutions for applications + workloads -...Best practices for choosing identity solutions for applications + workloads -...
Best practices for choosing identity solutions for applications + workloads -...
Architecting security and governance across your AWS environment by Amazon Web Services
Architecting security and governance across your AWS environmentArchitecting security and governance across your AWS environment
Architecting security and governance across your AWS environment
AWS Systems manager 2019 by John Varghese
AWS Systems manager 2019AWS Systems manager 2019
AWS Systems manager 2019
John Varghese1.5K views
Private Equity Value Creation Carve Outs, Divestitures and mergers by Tom Laszewski
Private Equity Value Creation Carve Outs, Divestitures and mergersPrivate Equity Value Creation Carve Outs, Divestitures and mergers
Private Equity Value Creation Carve Outs, Divestitures and mergers
Tom Laszewski241 views
ARC325_Managing Multiple AWS Accounts at Scale by Amazon Web Services
ARC325_Managing Multiple AWS Accounts at ScaleARC325_Managing Multiple AWS Accounts at Scale
ARC325_Managing Multiple AWS Accounts at Scale
Amazon Web Services4.6K views
AWS Accounts@Scale Using AWS Landing Zone_AWSPSSummit_Singapore by Amazon Web Services
AWS Accounts@Scale Using AWS Landing Zone_AWSPSSummit_SingaporeAWS Accounts@Scale Using AWS Landing Zone_AWSPSSummit_Singapore
AWS Accounts@Scale Using AWS Landing Zone_AWSPSSummit_Singapore
So You've Got ATO - Are You Sure You are Secure? by Amazon Web Services
So You've Got ATO - Are You Sure You are Secure?So You've Got ATO - Are You Sure You are Secure?
So You've Got ATO - Are You Sure You are Secure?

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn... by
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
26.5K views46 slides
Big Data per le Startup: come creare applicazioni Big Data in modalità Server... by
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
5.6K views44 slides
Esegui pod serverless con Amazon EKS e AWS Fargate by
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
4.1K views62 slides
Costruire Applicazioni Moderne con AWS by
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
2.8K views61 slides
Come spendere fino al 90% in meno con i container e le istanze spot by
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
1.8K views21 slides
Open banking as a service by
Open banking as a serviceOpen banking as a service
Open banking as a serviceAmazon Web Services
7K views14 slides

More from Amazon Web Services(20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn... by Amazon Web Services
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Amazon Web Services26.5K views
Big Data per le Startup: come creare applicazioni Big Data in modalità Server... by Amazon Web Services
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Amazon Web Services5.6K views
Esegui pod serverless con Amazon EKS e AWS Fargate by Amazon Web Services
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
Amazon Web Services4.1K views
Come spendere fino al 90% in meno con i container e le istanze spot by Amazon Web Services
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
Amazon Web Services1.8K views
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea... by Amazon Web Services
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Amazon Web Services3.3K views
OpsWorks Configuration Management: automatizza la gestione e i deployment del... by Amazon Web Services
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
Amazon Web Services2.6K views
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads by Amazon Web Services
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Amazon Web Services1.7K views
Database Oracle e VMware Cloud on AWS i miti da sfatare by Amazon Web Services
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
Amazon Web Services1.3K views
Crea la tua prima serverless ledger-based app con QLDB e NodeJS by Amazon Web Services
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Amazon Web Services1.9K views
API moderne real-time per applicazioni mobili e web by Amazon Web Services
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
Amazon Web Services1.5K views
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare by Amazon Web Services
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Amazon Web Services1.5K views
AWS_HK_StartupDay_Building Interactive websites while automating for efficien... by Amazon Web Services
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Introduzione a Amazon Elastic Container Service by Amazon Web Services
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
Amazon Web Services2.7K views

AWS Multi-Account Architecture and Best Practices

  • 1. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. T A I P E I 10.15.19
  • 2. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Multi-Account Architecture and Best Practices AWS 多帳戶架構與最佳實踐 Simon Wang 王舜民 Solutions Architect Amazon Web Services T A I P E I
  • 3. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Agenda • About Multiple Account Strategy and “landing zone” • What’s a landing zone? • Implementing a landing zone – 2 Approaches • Summary
  • 4. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. How many AWS accounts do I need?
  • 5. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Organizations Master Account (★) • Account used to create the organization (payer account) • Central management and governance hub Organizational Unit (OU) • Set of AWS accounts logically grouped within an organization
  • 6. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Account - Best Isolation Boundary Security/resource boundary API limits/throttling Billing separation “If Team A can’t support Team B's app when paged at 2 AM, the applications probably shouldn't be in the same account.”
  • 7. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Why One Account isn’t Enough? Billing Many teams Security / compliance controls Business process Isolation
  • 8. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. You Need a “landing zone” H • A configured, secure, scalable, multi-account AWS environment based on AWS best practices • A starting point for net new development and experimentation • A starting point for migrating applications • An environment that allows for iteration and extension over time
  • 9. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. What accounts should I create?
  • 10. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Master Account AWS Organizations Master Network Path Data Center No connection to DC Service control policies Consolidated billing Volume discount Minimal resources Limited access Restrict Orgs role! Cloud Platform Engineering Platform Team
  • 11. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Core Accounts Core Accounts AWS Organizations Master Network Path Data Center Foundational Once per organization Have their own development life cycle (dev/qa/prod)
  • 12. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Core: Log Archive Account Core Accounts AWS Organizations Master Log Archive Network Path Data Center Versioned Amazon S3 bucket Restricted MFA delete AWS CloudTrail logs Security logs Single source of truth Alarm on user login Limited access Cloud Platform Engineering Operation Team
  • 13. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Core: Security Account Core Accounts AWS Organizations Master Log Archive Network Path Data Center Optional data center connectivity Security tools and audit Amazon GuardDuty master / Amazon Inspector / Firewall Manager Cross-account read/write Automated Tooling Limited access Security Cloud Platform Engineering Security Team
  • 14. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Core: Shared Services Account Security Core Accounts AWS Organizations Master Log Archive Network Path Data Center Connected to DC Shared Services to whole organization • DNS • LDAP/Active Directory • Deployment tools • Golden AMI • Source Repo/Pipeline • Scanning infrastructure • Inactive instances • Improper tags • Monitoring Limited access Shared Services Cloud Platform Engineering Platform Team Cloud Platform Engineering Operation Team
  • 15. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Developer Sandbox Security Core Accounts AWS Organizations Master Shared Services Network Log Archive Network Path No connection to DC Innovation space Fixed spending limit Autonomous Experimentation Developer Sandbox Developer Accounts
  • 16. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Team/Group Accounts Developer Sandbox Security Core Accounts AWS Organizations Master Shared Services Network Log Archive Network Path Developer Accounts Data Center Based on level of needed isolation Match your development lifecycle Team/Group Accounts Application Devops teams
  • 17. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Team: Dev Account Developer Sandbox Team/Group Accounts Security Core Accounts AWS Organizations Master Shared Services Network Log Archive Network Path Developer Accounts Data Center Develop and iterate quickly Collaboration space Stage of SDLCDev
  • 18. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Team: Pre-prod Account Developer Sandbox Dev Team/Group Accounts Security Core Accounts AWS Organizations Master Shared Services Network Log Archive Network Path Developer Accounts Data Center Connected to DC Production-like Staging Testing Automated deployment Pre-Prod
  • 19. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Team: Production Developer Sandbox Dev Pre-Prod Team/Group Accounts Security Core Accounts AWS Organizations Master Shared Services Network Log Archive Network Path Developer Accounts Data Center Connected to DC Production applications Automated deployments Limited access Prod
  • 20. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Team: Shared Services Developer Sandbox Dev Pre-Prod Team/Group Accounts Security Core Accounts AWS Organizations Master Shared Services Network Log Archive Prod Network Path Developer Accounts Data Center Grows organically Shared to the team Product-specific common services Common tooling Common services Team Shared Services
  • 21. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Action Plan for Landing Zone … Create Organizations Master account • Create temporary Amazon S3 bucket for AWS CloudTrail logs • Enable CloudTrail locally • Enable AWS Organizations full feature Create Log Archive account • Create bucket(s) for security logs (AWS CloudTrail, AWS Config) • Enable MFA delete • Enable versioning • Define limited access bucket policy • Add SCP to prevent s3:delete • Backfill: Enable CloudTrail in organizations master account to send logs to Log Archive account • Backfill: Copy CloudTrail logs for actions that happened between Organizations Master creation and log archive Create Security account • Backfill: Cross-account roles with trust to Security account for organizations master and log archive • Read-only role • Read/Write role (fewer permissions for assumption) • <CommonCheckList> • Create security tooling/AWS Lambda functions for security checks Create Shared Services account • <CommonCheckList> • Connect via DX/VPN to DC • Launch common services • Directory services • Limit monitoring Create Team accounts • <CommonCheckList>
  • 22. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Common Checklist for Account Security • Secure Root credentials MFA • OTP • U2F could make this easier for managing them • https://aws.amazon.com/blogs/security/how-to-create- and-manage-users-within-aws-sso/ • Complex password • Establish rotation policy • Link to Organizations Master account if not already a member • Use group email/phone as the contact info • Enable AWS CloudTrail in all regions, send to Log Archive account • Enable Amazon GuardDuty in all regions. • Security Account as Amazon GuardDuty master • Operationalize the findings • Enable AWS Config, send to Log Archive account • Enable appropriate AWS Config rules • Amazon S3 bucket encryptions • Amazon S3 world read/write • ebs encryption etc... • Create read-only cross-account Security role • Create read/write cross-account Security role • Create VPC (non-overlapping IP space) • Enable federation into account • http://federationworkshopreinvent2016.s3-website-us-east- 1.amazonaws.com/ • Define roles and access policies • Peer/Privatelink Amazon VPC with Shared Services • Add a policy for prefix naming conditions to every account—For example, deny access to Lambda functions that start with “security*” • Review CIS Foundations Benchmark and leverage as appropriate
  • 23. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Approaching to your ”landing zone” AWS Landing Zone (ALZ): • Implementation of a landing zone based on multi-account strategy guidance • Is an AWS Solutions (not an AWS service) that can save time by automating the setup of an environment while implementing an initial security baseline AWS Control Tower (CT): • AWS native-service version of AWS Landing Zone H
  • 24. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Implementation - AWS Landing Zone
  • 25. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Landing Zone Structure Shared Services Log Archive Security AWS Organizations
  • 26. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Master Account – SSO (Single Sign On)
  • 27. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Master Account - Account Vending Machine
  • 28. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Team/Group Account – Baselines Enable Notification Enable Config Rules Create VPC, Delete default VPC, enable Flow Log and peering Strong PWD Policy Setup Security Roles CloudTrail to Log Account Enable GuardDuty
  • 29. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Shared Services Account AD Service Centralized Logging Search Shared Service VPC Peering
  • 30. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Log Archive Account S3 bucket for Centralized Logs CloudTrail and Config History
  • 31. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Security Account GuardDuty Master View Compliance & Security Notifications
  • 32. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Implementation - AWS Control Tower
  • 33. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Control Tower - Set up an AWS landing zone • Landing zone - a preconfigured, secure, scalable, multi-account AWS environment based on best practice blueprints • Multi-account management using AWS Organizations • Identity and federated access management using AWS SSO • Centralized log archive using AWS CloudTrail and AWS Config • Cross-account audit access using AWS SSO and AWS IAM • End user account provisioning through AWS Service Catalog • Centralized monitoring and notifications using Amazon CloudWatch and Amazon SNS Master account AWS Control Tower AWS Organizations AWS Single Sign-On Stack sets AWS Service Catalog Log archive account Aggregate AWS CloudTrail and AWS Config logs Account baseline Audit account Security cross- account roles Account baseline Provisioned accounts Network baseline Account baseline Amazon CloudWatch aggregator Security notifications Core OU Custom OU AWS SSO directory
  • 34. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Establish Guardrails (Baselines) • Guardrails are preconfigured governance rules for security, compliance, and operations • Expressed in plain English to provide abstraction over granular AWS policies • Preventive guardrails: prevent policy violations through enforcement; implemented using AWS CloudFormation and SCPs • Detective guardrails: detect policy violations and alert in the dashboard; implemented using AWS Config rules • Mandatory and strongly recommended guardrails for prescriptive guidance • Easy selection and enablement on organizational units Organizational units Accounts Enable Enable Output Output Output Organizational units Accounts Preventive guardrail Granular AWS policies SCP Detective/remediable guardrails Granular AWS policies AWS Config rules Always compliant Compliant Non- compliant
  • 35. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Guardrails
  • 36. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Account Factory
  • 37. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Dashboard for Oversight
  • 38. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. AWS Control Tower vs. AWS Landing Zone • AWS Cloudformation-base solution • Fully customizable/owned by customer • Most regions supported • Complete flexibility on account structure • Complex requiring significant expertise • Managed service by AWS • Fixed blueprints and guardrails • Four regions at launch • Two non-configurable core accounts, no Shared Service, no Amazon VPC in core • Self service guided deployment configurable through GUI
  • 39. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Which One Should I Choose? AWS Control Tower AWS Landing Zone AWS Control Tower capabilities meet what you need You are willing to start with fresh new environment You are willing to grow with the managed service You don't have a team that can take on the complexity of managing the AWS Landing Zone Solution You have an existing landing zone that meets your current needs and exceeds CT’s feature set You need full customization and full control over every aspect of the landing zone
  • 40. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Best Practice - Multi-account Strategy Developer Sandbox Dev Pre-Prod Team/Group Accounts Security Core Accounts AWS Organizations Master Account Shared Services Network Log Archive Prod Team Shared Services Network Path Developer Accounts Data Center Orgs: Account management Log Archive: Security logs Security: Security tools, AWS Config rules Shared services: Directory, limit monitoring Network: Direct Connect, Transit Gateway Dev Sandbox: Experiments, Learning Dev: Development Pre-Prod: Staging Prod: Production Team SS: Team Shared Services, Data Lake
  • 41. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Benefits of “landing zone” Set up a best-practices AWS environment
  • 42. © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Resource to Get You Started AWS Control Tower User Guide https://docs.aws.amazon.com/controltower/latest/userguide/controltower-ug.pdf AWS Control Tower Labs https://controltower.aws-management.tools AWS Landing Zone Solution https://aws.amazon.com/solutions/aws-landing-zone/ AWS Landing Zone Online Tech Talks https://pages.awscloud.com/Whats-New-in-AWS-Landing-Zone_2019_0514-ENT_OD.html
  • 43. Thank you! © 2019, Amazon Web Services, Inc. or its affiliates. All rights reserved. Simon Wang 王舜民 Solutions Architect shunminw@amazon.com