Skip to content

petersiemen/aws-multiple-account-ci-cd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

aws-multiple-account-ci-cd

Ready to used template of a multi-account multi-region ci/cd pipeline
  • Clear separation of production and development by using 2 independent accounts
  • Effective use of a ci/cd pipeline in a shared services account for automatic git push based deployments into development and production

AWS multiple account structure

master account

AWS Organization owner for consolidated billing and for service control policies to configure the available AWS services for every account in the organization.

I use the master account as the central account to configure IAM users. From the master account IAM users can switch to the other AWS accounts (shared services, development, production) into the appropriate IAM roles.

In order to achieve an even higher level of security one can eject the IAM users into yet another AWS account. We keep the configuration of IAM users in the master account for simplicity for now.

used services
  • Organizations
  • IAM

shared services account

used services
  • IAM
  • CodeCommit
  • CodeBuild
  • CodePipeline
  • S3 artifact store for CodeBuild and CodePipeline

development account

used services
  • S3 bucket for static website hosting
  • API Gateway
  • Lambda
  • SES
  • SNS

production account

used services
  • S3 bucket for static website hosting
  • API Gateway
  • Lambda
  • SES
  • SNS

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages