Weitere ähnliche Inhalte
Ähnlich wie HashiTalks Africa - Going multi-account on AWS with Terraform (20)
Mehr von Cobus Bernard (20)
Kürzlich hochgeladen (20)
HashiTalks Africa - Going multi-account on AWS with Terraform
- 1. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Going Multi-Account on AWS with Terraform
H a s h i T a l k s A f r i c a – 2 0 2 0 / 0 4 / 3 0
Cobus Bernard
Sr Developer Advocate
Amazon Web Services
@cobusbernard
cobusbernard
cobusbernard
- 2. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
• Developer for 15 years
• AWS Customer for 8 years
• Terraform since 0.6
@cobusbernard
cobusbernard
cobusbernard
- 3. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda
Why use multiple account?
Splitting resources between accounts
Account switching
Role switching
Q&A
- 4. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AWS global platform
AWS global infrastructure
• 24 Regions with 76 Availability Zones
• 4 Regions coming soon: Indonesia, Japan
and Spain
216 CloudFront PoPs
• 205 edge locations
• 11 Regional edge caches
• 245 Countries and territories served
AWS global network
• Redundant 100 GbE network
• 100% encrypted between facilities
• Private network capacity between
all AWS Regions except China
SLA of
99.99% availability
- 5. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
- 6. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Allow
s3:*
Userdata-dev
Userdata-dev/*
Environment security
AWS account
Userdata-dev
Userdata-test
Userdata-UAT
Userdata-prod
Allow
s3:*
Userdata-test
Userdata-test/*
Allow
s3:GetObjects
s3:ListObjects
Userdata-UAT
Userdata-UAT/*
Deny
s3:*
Userdata-prod
Userdata-prod/*
- 7. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Environment security
AWS account
Userdata-dev
Userdata-test
Userdata-UAT
Userdata-prod
Allow
s3:*
Userdata-dev
Userdata-dev/*
Allow
s3:*
Userdata-test
Userdata-test/*
Allow
s3:GetObjects
s3:ListObjects
Userdata-UAT
Userdata-UAT/*
Deny
s3:*
Userdata-prod
Userdata-prod/*
- 8. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Environment security
AWS account Dev
AWS account Test
AWS account UAT
AWS account Prod
Userdata-dev Userdata-UAT
Userdata-test
Userdata-prod
Userdata-dev
Userdata-test
Userdata-UAT
Userdata-prod
- 9. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Environment security
AWS account Dev
AWS account Test
AWS account UAT
AWS account Prod
Userdata-dev Userdata-UAT
Userdata-test
Userdata-prod
AWS account Main
- 10. © 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
- 11. Thank you!
© 2020, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Cobus Bernard
Sr Developer Advocate
Amazon Web Services
@cobusbernard
cobusbernard
cobusbernard