Setting up and adding AWS accounts to Cloud Manager
If you want to deploy Cloud Volumes ONTAP in different AWS accounts, then you need to provide the required permissions and add the details to Cloud Manager. How you provide the permissions depends on whether you want to provide Cloud Manager with AWS keys or the ARN of a role in a trusted account.
When you deploy Cloud Manager from Cloud Central, Cloud Manager automatically adds the AWS account in which you deployed Cloud Manager. An initial account is not added if you manually installed the Cloud Manager software on an existing system. Learn about AWS accounts and permissions. |
Choices
Granting permissions by providing AWS keys
If you want to provide Cloud Manager with AWS keys for an IAM user, then you need to grant the required permissions to that user. The Cloud Manager IAM policy defines the AWS actions and resources that Cloud Manager is allowed to use.
-
Download the Cloud Manager IAM policy from the Cloud Manager Policies page.
-
From the IAM console, create your own policy by copying and pasting the text from the Cloud Manager IAM policy.
-
Attach the policy to an IAM role or an IAM user.
The account now has the required permissions. You can now add it to Cloud Manager.
Granting permissions by assuming IAM roles in other accounts
You can set up a trust relationship between the source AWS account in which you deployed the Cloud Manager instance and other AWS accounts by using IAM roles. You would then provide Cloud Manager with the ARN of the IAM roles from the trusted accounts.
-
Go to the target account where you want to deploy Cloud Volumes ONTAP and create an IAM role by selecting Another AWS account.
Be sure to do the following:
-
Enter the ID of the account where the Cloud Manager instance resides.
-
Attach the Cloud Manager IAM policy, which is available from the Cloud Manager Policies page.
-
-
Go to the source account where the Cloud Manager instance resides and select the IAM role that is attached to the instance.
-
Click Trust Relationships > Edit trust relationship.
-
Add the "sts:AssumeRole" action and the ARN of the role that you created in the target account.
Example
{ "Version": "2012-10-17", "Statement": { "Effect": "Allow", "Action": "sts:AssumeRole", "Resource": "arn:aws:iam::ACCOUNT-B-ID:role/ACCOUNT-B-ROLENAME" } }
-
The account now has the required permissions. You can now add it to Cloud Manager.
Adding AWS accounts to Cloud Manager
After you provide an AWS account with the required permissions, you can add the account to Cloud Manager. This enables you to launch Cloud Volumes ONTAP systems in that account.
-
In the upper right of the Cloud Manager console, click the Settings icon, and select Cloud Provider & Support Accounts.
-
Click Add New Account and select AWS.
-
Choose whether you want to provide AWS keys or the ARN of a trusted IAM role.
-
Confirm that the policy requirements have been met and then click Create Account.
You can now switch to another account from the Details and Credentials page when creating a new working environment: