SlideShare una empresa de Scribd logo
1 de 21
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Pop-up Loft
Introduction to AWS Organizations
Fritz Kunstler
Senior AWS Security Consultant
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Agenda
• AWS Organizations background
• Key concepts
• Immutable infrastructure using AWS Organizations
• Best practices
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Prod
In the beginning…
Dev-Test Sandbox• A developer creates an AWS account
• A network engineer helps create more
VPCs and establishes VPN access
• Controls are implemented via roles,
policies, tagging, security groups, etc.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Today
Jump
account
Your cloud team
Dev account
Prod account
Data science
account
Security account
Cross-
account
trusts
Cross-account
resource access
You
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Introducing AWS Organizations
• Policy-based management for multiple AWS accounts
• Control AWS
service use across
accounts
• Consolidate
billing and usage
reporting
• Automate
account
creation
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
How does Organizations complement AWS IAM?
• Create AWS accounts
• Create organizational units (OUs)
• Attach SCPs to OUs
• Create users, roles, and policies in an account
• Manage assignment of users to roles in an account
• Create cross-account trusts (delegation and federation)
• Manage cross-account access
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
A1 A2 A4
M
Master Account / Administrative root
Organizational Unit (OU)
AWS Account
Service
Control
Policy (SCP)
AWS Resources
A3
Dev Test Prod
AWS Organizations - key concepts
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
What is a Service Control Policy (SCP)?
• Service Control Policies (SCPs)
allow you to control which AWS
service actions are accessible to
account principals – including root
• Authorization is the intersection of
what is allowed explicitly in the
SCP and what is allowed explicitly
in the IAM permissions attached to
the principal.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Deny",
"Action": [
"ec2:AttachInternetGateway",
"ec2:CreateInternetGateway"
],
"Resource": [
"*"
]
}
]
}
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
A3A1 A2 A4
A
Dev Test Prod
Service Control Policies - inheritance
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Immutable infrastructure: AWS Organizations
How can I freeze long lived resources (e.g. VPCs)?
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Create account hierarchy and apply policies
A6
Development Test Production
A8A1
A5
A4A3
A2
A9
A7
Root
Service Control Policies (SCPs) use the same policy language,
but only specify Actions
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
SCPs are necessary but not sufficient
Allow: EC2:*Allow: S3:* Allow: SQS:*
Allow: EC2:*Allow: EC2:*
SCP IAM
permissions
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Immutable Infrastructure: Use cases
• Delegated administration:
– Situation: Central team responsible for basic account setup and security baseline,
downstream teams responsible for all other account management.
– Challenge: Need to ensure that security baseline can’t be modified by anyone other
than the central team.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Immutable Infrastructure: Solution
A6
Setup Test Production
A8
A1
A5
A4
A3A2
A7
Root
Step 1: Create “Setup” OU and “ImmutableInfra” SCP
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Immutable Infrastructure: Example SCP
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "*",
"Resource": "*"
},
{
"Effect": "Deny",
"Action": [
"ec2:AttachInternetGateway",
"ec2:CreateInternetGateway“,
“ec2:DeleteSubnet”,
<snip>
],
"Resource": "*"
}
]
}
Include mutating actions for
all resource types you wish to
be immutable.
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Immutable Infrastructure: Solution
A6
Setup Test Production
A8
A1
A5
A4
A3A2
A9 A7
Root
Step 2: Provision new account, place in Setup OU
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Immutable Infrastructure: Solution
Step 3: Build desired long lived infrastructure
Central Team
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Immutable Infrastructure: Solution
A6
Setup Test Production
A8
A1
A5
A4
A3A2
A9 A7
Root
Step 4: Move new account to proper OU (SCP now applies)
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Immutable Infrastructure: Solution
Result: Infrastructure usable, but immutable
Central Team
X
Downstream Team
X
Root User
X
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Best practices – AWS Organizations
1. Monitor activity in the master account using AWS CloudTrail.
2. Do not manage resources in the master account.
3. Manage your organization using the principle of “least privilege.”
4. Use OUs to assign controls.
5. Test controls on a single AWS account first.
6. Only assign controls to the root of an organization if necessary.
7. Define and apply criteria for when a new account is necessary.
8. Reset root password and enable MFA as usual
© 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved
Pop-up Loft
aws.amazon.com/activate
Everything and Anything Startups
Need to Get Started on AWS

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Designing security & governance via AWS Control Tower & Organizations - SEC30...
Designing security & governance via AWS Control Tower & Organizations - SEC30...Designing security & governance via AWS Control Tower & Organizations - SEC30...
Designing security & governance via AWS Control Tower & Organizations - SEC30...
 
Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...
Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...
Access Control for the Cloud: AWS Identity and Access Management (IAM) (SEC20...
 
Deep dive into AWS IAM
Deep dive into AWS IAMDeep dive into AWS IAM
Deep dive into AWS IAM
 
AWS 101: Introduction to AWS
AWS 101: Introduction to AWSAWS 101: Introduction to AWS
AWS 101: Introduction to AWS
 
AWS 101
AWS 101AWS 101
AWS 101
 
Amazon CloudWatch Tutorial | AWS Certification | Cloud Monitoring Tools | AWS...
Amazon CloudWatch Tutorial | AWS Certification | Cloud Monitoring Tools | AWS...Amazon CloudWatch Tutorial | AWS Certification | Cloud Monitoring Tools | AWS...
Amazon CloudWatch Tutorial | AWS Certification | Cloud Monitoring Tools | AWS...
 
Intro to Amazon ECS
Intro to Amazon ECSIntro to Amazon ECS
Intro to Amazon ECS
 
Threat detection on AWS: An introduction to Amazon GuardDuty - FND216 - AWS r...
Threat detection on AWS: An introduction to Amazon GuardDuty - FND216 - AWS r...Threat detection on AWS: An introduction to Amazon GuardDuty - FND216 - AWS r...
Threat detection on AWS: An introduction to Amazon GuardDuty - FND216 - AWS r...
 
AWS Security Best Practices
AWS Security Best PracticesAWS Security Best Practices
AWS Security Best Practices
 
Amazon EKS - Elastic Container Service for Kubernetes
Amazon EKS - Elastic Container Service for KubernetesAmazon EKS - Elastic Container Service for Kubernetes
Amazon EKS - Elastic Container Service for Kubernetes
 
AWS IAM Tutorial | Identity And Access Management (IAM) | AWS Training Videos...
AWS IAM Tutorial | Identity And Access Management (IAM) | AWS Training Videos...AWS IAM Tutorial | Identity And Access Management (IAM) | AWS Training Videos...
AWS IAM Tutorial | Identity And Access Management (IAM) | AWS Training Videos...
 
Identity and Access Management: The First Step in AWS Security
Identity and Access Management: The First Step in AWS SecurityIdentity and Access Management: The First Step in AWS Security
Identity and Access Management: The First Step in AWS Security
 
Architecting security and governance across your AWS environment
Architecting security and governance across your AWS environmentArchitecting security and governance across your AWS environment
Architecting security and governance across your AWS environment
 
[AWS Builders] AWS상의 보안 위협 탐지 및 대응
[AWS Builders] AWS상의 보안 위협 탐지 및 대응[AWS Builders] AWS상의 보안 위협 탐지 및 대응
[AWS Builders] AWS상의 보안 위협 탐지 및 대응
 
Introduction to AWS Cost Management
Introduction to AWS Cost ManagementIntroduction to AWS Cost Management
Introduction to AWS Cost Management
 
Introduction to AWS IAM
Introduction to AWS IAMIntroduction to AWS IAM
Introduction to AWS IAM
 
Identity and Access Management: The First Step in AWS Security
Identity and Access Management: The First Step in AWS SecurityIdentity and Access Management: The First Step in AWS Security
Identity and Access Management: The First Step in AWS Security
 
AWS Control Tower를 통한 클라우드 보안 및 거버넌스 설계 - 김학민 :: AWS 클라우드 마이그레이션 온라인
AWS Control Tower를 통한 클라우드 보안 및 거버넌스 설계 - 김학민 :: AWS 클라우드 마이그레이션 온라인AWS Control Tower를 통한 클라우드 보안 및 거버넌스 설계 - 김학민 :: AWS 클라우드 마이그레이션 온라인
AWS Control Tower를 통한 클라우드 보안 및 거버넌스 설계 - 김학민 :: AWS 클라우드 마이그레이션 온라인
 
Landing Zones - Creating a Foundation for Your AWS Migrations
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
 
AWS Web Application Firewall and AWS Shield - Webinar
AWS Web Application Firewall and AWS Shield - Webinar AWS Web Application Firewall and AWS Shield - Webinar
AWS Web Application Firewall and AWS Shield - Webinar
 

Similar a Introduction to AWS Organizations

Similar a Introduction to AWS Organizations (20)

Security at Scale with AWS - AWS Summit Cape Town 2017
Security at Scale with AWS - AWS Summit Cape Town 2017 Security at Scale with AWS - AWS Summit Cape Town 2017
Security at Scale with AWS - AWS Summit Cape Town 2017
 
GPSTEC307_Too Many Tools
GPSTEC307_Too Many ToolsGPSTEC307_Too Many Tools
GPSTEC307_Too Many Tools
 
Building Web Apps on AWS
Building Web Apps on AWSBuilding Web Apps on AWS
Building Web Apps on AWS
 
SID331_Architecting Security and Governance Across a Multi-Account Strategy
SID331_Architecting Security and Governance Across a Multi-Account StrategySID331_Architecting Security and Governance Across a Multi-Account Strategy
SID331_Architecting Security and Governance Across a Multi-Account Strategy
 
How Chick-fil-A Embraces DevSecOps on AWS - SID306 - re:Invent 2017
How Chick-fil-A Embraces DevSecOps on AWS - SID306 - re:Invent 2017How Chick-fil-A Embraces DevSecOps on AWS - SID306 - re:Invent 2017
How Chick-fil-A Embraces DevSecOps on AWS - SID306 - re:Invent 2017
 
Leo Zhadanovsky - Building Web Apps with AWS CodeStar and AWS Elastic Beansta...
Leo Zhadanovsky - Building Web Apps with AWS CodeStar and AWS Elastic Beansta...Leo Zhadanovsky - Building Web Apps with AWS CodeStar and AWS Elastic Beansta...
Leo Zhadanovsky - Building Web Apps with AWS CodeStar and AWS Elastic Beansta...
 
End-User Computing on AWS with Amazon WorkSpaces and Amazon AppStream 2.0 - E...
End-User Computing on AWS with Amazon WorkSpaces and Amazon AppStream 2.0 - E...End-User Computing on AWS with Amazon WorkSpaces and Amazon AppStream 2.0 - E...
End-User Computing on AWS with Amazon WorkSpaces and Amazon AppStream 2.0 - E...
 
Manage Infrastructure Securely at Scale and Eliminate Operational Risks - DEV...
Manage Infrastructure Securely at Scale and Eliminate Operational Risks - DEV...Manage Infrastructure Securely at Scale and Eliminate Operational Risks - DEV...
Manage Infrastructure Securely at Scale and Eliminate Operational Risks - DEV...
 
Migration of Microsoft Workloads to AWS
Migration of Microsoft Workloads to AWSMigration of Microsoft Workloads to AWS
Migration of Microsoft Workloads to AWS
 
Building Manageable Windows Workloads - ARC324 - re:Invent 2017
Building Manageable Windows Workloads - ARC324 - re:Invent 2017Building Manageable Windows Workloads - ARC324 - re:Invent 2017
Building Manageable Windows Workloads - ARC324 - re:Invent 2017
 
Enabling Governance, Compliance, and Operational and Risk Auditing with AWS M...
Enabling Governance, Compliance, and Operational and Risk Auditing with AWS M...Enabling Governance, Compliance, and Operational and Risk Auditing with AWS M...
Enabling Governance, Compliance, and Operational and Risk Auditing with AWS M...
 
DEV305_Manage Your Applications with AWS Elastic Beanstalk.pdf
DEV305_Manage Your Applications with AWS Elastic Beanstalk.pdfDEV305_Manage Your Applications with AWS Elastic Beanstalk.pdf
DEV305_Manage Your Applications with AWS Elastic Beanstalk.pdf
 
Hands on Setup and Overview of AWS Console, AWS CLI, AWS SDK, Boto 3
Hands on Setup and Overview of AWS Console, AWS CLI, AWS SDK, Boto 3Hands on Setup and Overview of AWS Console, AWS CLI, AWS SDK, Boto 3
Hands on Setup and Overview of AWS Console, AWS CLI, AWS SDK, Boto 3
 
Using AWS Management Tools to Enable Governance, Compliance, Operational, and...
Using AWS Management Tools to Enable Governance, Compliance, Operational, and...Using AWS Management Tools to Enable Governance, Compliance, Operational, and...
Using AWS Management Tools to Enable Governance, Compliance, Operational, and...
 
Driving DevOps Transformation in Enterprises (DEV320) - AWS re:Invent 2018
Driving DevOps Transformation in Enterprises (DEV320) - AWS re:Invent 2018Driving DevOps Transformation in Enterprises (DEV320) - AWS re:Invent 2018
Driving DevOps Transformation in Enterprises (DEV320) - AWS re:Invent 2018
 
CI/CD Pipeline Security: Advanced Continuous Delivery Recommendations
CI/CD Pipeline Security: Advanced Continuous Delivery RecommendationsCI/CD Pipeline Security: Advanced Continuous Delivery Recommendations
CI/CD Pipeline Security: Advanced Continuous Delivery Recommendations
 
GPSWKS404-GPS Game Changing C2S Services To Transform Your Customers Speed To...
GPSWKS404-GPS Game Changing C2S Services To Transform Your Customers Speed To...GPSWKS404-GPS Game Changing C2S Services To Transform Your Customers Speed To...
GPSWKS404-GPS Game Changing C2S Services To Transform Your Customers Speed To...
 
AWS Webinar CZSK 02 Bezpecnost v AWS cloudu
AWS Webinar CZSK 02 Bezpecnost v AWS clouduAWS Webinar CZSK 02 Bezpecnost v AWS cloudu
AWS Webinar CZSK 02 Bezpecnost v AWS cloudu
 
Infrastructure Security: Your Minimum Security Baseline
Infrastructure Security: Your Minimum Security BaselineInfrastructure Security: Your Minimum Security Baseline
Infrastructure Security: Your Minimum Security Baseline
 
Dive deep into technical enhancements - re:Invent Come to London 2.0
Dive deep into technical enhancements - re:Invent Come to London 2.0Dive deep into technical enhancements - re:Invent Come to London 2.0
Dive deep into technical enhancements - re:Invent Come to London 2.0
 

Más de Amazon Web Services

Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
Amazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
Amazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
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...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
Amazon Web Services
 

Más de Amazon Web Services (20)

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...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
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...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
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
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
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
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
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...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
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...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
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
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
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
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
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
 
API moderne real-time per applicazioni mobili e web
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
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
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
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
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...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Introduction to AWS Organizations

  • 1. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Pop-up Loft Introduction to AWS Organizations Fritz Kunstler Senior AWS Security Consultant
  • 2. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Agenda • AWS Organizations background • Key concepts • Immutable infrastructure using AWS Organizations • Best practices
  • 3. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Prod In the beginning… Dev-Test Sandbox• A developer creates an AWS account • A network engineer helps create more VPCs and establishes VPN access • Controls are implemented via roles, policies, tagging, security groups, etc.
  • 4. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Today Jump account Your cloud team Dev account Prod account Data science account Security account Cross- account trusts Cross-account resource access You
  • 5. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Introducing AWS Organizations • Policy-based management for multiple AWS accounts • Control AWS service use across accounts • Consolidate billing and usage reporting • Automate account creation
  • 6. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved How does Organizations complement AWS IAM? • Create AWS accounts • Create organizational units (OUs) • Attach SCPs to OUs • Create users, roles, and policies in an account • Manage assignment of users to roles in an account • Create cross-account trusts (delegation and federation) • Manage cross-account access
  • 7. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved A1 A2 A4 M Master Account / Administrative root Organizational Unit (OU) AWS Account Service Control Policy (SCP) AWS Resources A3 Dev Test Prod AWS Organizations - key concepts
  • 8. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved What is a Service Control Policy (SCP)? • Service Control Policies (SCPs) allow you to control which AWS service actions are accessible to account principals – including root • Authorization is the intersection of what is allowed explicitly in the SCP and what is allowed explicitly in the IAM permissions attached to the principal. { "Version": "2012-10-17", "Statement": [ { "Effect": "Deny", "Action": [ "ec2:AttachInternetGateway", "ec2:CreateInternetGateway" ], "Resource": [ "*" ] } ] }
  • 9. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved A3A1 A2 A4 A Dev Test Prod Service Control Policies - inheritance
  • 10. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Immutable infrastructure: AWS Organizations How can I freeze long lived resources (e.g. VPCs)?
  • 11. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Create account hierarchy and apply policies A6 Development Test Production A8A1 A5 A4A3 A2 A9 A7 Root Service Control Policies (SCPs) use the same policy language, but only specify Actions
  • 12. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved SCPs are necessary but not sufficient Allow: EC2:*Allow: S3:* Allow: SQS:* Allow: EC2:*Allow: EC2:* SCP IAM permissions
  • 13. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Immutable Infrastructure: Use cases • Delegated administration: – Situation: Central team responsible for basic account setup and security baseline, downstream teams responsible for all other account management. – Challenge: Need to ensure that security baseline can’t be modified by anyone other than the central team.
  • 14. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Immutable Infrastructure: Solution A6 Setup Test Production A8 A1 A5 A4 A3A2 A7 Root Step 1: Create “Setup” OU and “ImmutableInfra” SCP
  • 15. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Immutable Infrastructure: Example SCP { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": "*", "Resource": "*" }, { "Effect": "Deny", "Action": [ "ec2:AttachInternetGateway", "ec2:CreateInternetGateway“, “ec2:DeleteSubnet”, <snip> ], "Resource": "*" } ] } Include mutating actions for all resource types you wish to be immutable.
  • 16. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Immutable Infrastructure: Solution A6 Setup Test Production A8 A1 A5 A4 A3A2 A9 A7 Root Step 2: Provision new account, place in Setup OU
  • 17. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Immutable Infrastructure: Solution Step 3: Build desired long lived infrastructure Central Team
  • 18. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Immutable Infrastructure: Solution A6 Setup Test Production A8 A1 A5 A4 A3A2 A9 A7 Root Step 4: Move new account to proper OU (SCP now applies)
  • 19. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Immutable Infrastructure: Solution Result: Infrastructure usable, but immutable Central Team X Downstream Team X Root User X
  • 20. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Best practices – AWS Organizations 1. Monitor activity in the master account using AWS CloudTrail. 2. Do not manage resources in the master account. 3. Manage your organization using the principle of “least privilege.” 4. Use OUs to assign controls. 5. Test controls on a single AWS account first. 6. Only assign controls to the root of an organization if necessary. 7. Define and apply criteria for when a new account is necessary. 8. Reset root password and enable MFA as usual
  • 21. © 2017, Amazon Web Services, Inc. or its Affiliates. All rights reserved Pop-up Loft aws.amazon.com/activate Everything and Anything Startups Need to Get Started on AWS