AWS Cloud Provider Management
Pre-requisites
Before you can create a new cloud provider for Amazon Web Services (AWS) in Platform9 Managed Kubernetes (PMK), you must satisfy some prerequisites. Refer to Pre-requisites for AWS Clusters (Legacy) for more info.
You must be an administrator to perform Cloud Provider operations.
Add AWS Cloud Provider
Follow the steps given below to create a new AWS cloud provider.
- Navigate to Infrastructure -> Cloud Providers -> Add New Cloud Provider.
- Click Amazon Web Services under Cloud Provider Type.
- Enter the following AWS credentials and Click Save.
Field | Description |
---|---|
AWS Access Key ID | Access Key ID provided by AWS |
AWS Secret Access Key | Secret Access Key provided by AWS |
The AWS cloud provider is created successfully, and you are now ready to create Kubernetes clusters on the AWS cloud provider.
You can create multiple AWS cloud providers. For ease of debugging, we recommend that each cloud provider is created with unique credentials.
Test AWS Cloud Provider
To ensure clusters can be created by a given cloud provider Platform9 has built a mechanism to test connectivity and validate the credentials.
You can test an AWS cloud provider to ensure the credentials used by that cloud provider will be able to deploy a cluster.
Follow the steps below to test an AWS cloud provider.
- Navigate to Infrastructure > Cloud Providers.
- Select the AWS Cloud Provider whose credentials you want to test.
- Click Edit Cloud Provider button.
- Below the Credentials details are three cards that validate access to AWS; Region Access, Route53 Access and Registered Domain and SSH Key availability.
- Select a Region. This will fire a test to validate Route53 and SSH Key availability.
If no AWS Regions are available the provided credentials may not have the required IAM Policy.
Edit AWS Cloud Provider
You can edit a cloud provider to update the credentials used by that cloud provider.
Follow the steps given below to edit an AWS cloud provider.
- Navigate to Infrastructure -> Cloud Providers
- Select the AWS Cloud Provider whose credentials you want to edit
- Click Edit Cloud Provider button.
- Make the required changes to the credentials and click Update Cloud Provider.
The changed credentials are used to access the cloud resources once the cloud provider is updated.
Delete AWS Cloud Providers
You can delete an existing AWS when you no longer require it.
You must be an administrator to perform this operation.
Follow the steps given below to delete a cloud provider.
- Navigate to Infrastructure>Cloud Providers.
- Select the Cloud Provider to delete.
- Click Delete Cloud Provider button
- Verify your selection to delete the cloud provider.
Once a cloud provider is deleted, all virtual resources associated with the cloud provider are no longer accessible from Platform9.