Amazon Web Services Concepts
Concepts
There are two types of Accounts in the Spinnaker AWS provider: AWS Managing account and AWS Managed account(s).
From the Spinnaker perspective, Halyard configures Spinnaker to use the AWS Managing account to control the AWS Managed account(s).
Note The AWS IAM structure must be set up prior to adding the Spinnaker AWS Provider with Halyard.
From the AWS perspective, AWS Managing account assumes control of the AWS Managed account(s) through the use of AWS IAM Roles. By assuming a role across AWS Accounts, Spinnaker can control AWS resources from multiple AWS Managed accounts.
Refer to AWS IAM Providing Access to multiple AWS Accounts for AWS technical details.
AWS Managing account. There is always exactly one managing account. This account is what Spinnaker authenticates as and, if necessary, uses to assumes roles in the managed account(s).
AWS Managed. Every AWS account that you want to modify resources in is a managed account. Managed accounts require AWS IAM policies and a trust relationship to grant
AssumeRole
access to the managed account(s).The AWS Managing account assumes the roles of the AWS Managed account(s).
Example: AWS Managing account
spinnakermanaging
can assume the Managed role in the accounts accountdev, accountstaging, accountprod and deploy a baked AMI in the pipeline.
There are several ways to configure the Amazon Web Services (AWS) Cloud Provider. Choose one or more based on your requirements:
- Amazon Elastic Compute Cloud (EC2) - - Use this option, if you want to manage EC2 Instances via Spinnaker
- Amazon Elastic Container Service (ECS) - Use this option, if you want to manage containers in Amazon ECS
- Amazon Elastic Kubernetes Service (EKS) - Use this option, if you want to manage containers in Amazon EKS . This option uses Kubernetes V2 (manifest based) Clouddriver