How-To: Configure the AWS cloud provider
Categories:
The AWS provider allows you to deploy and connect to AWS resources from a Radius Environment on an EKS cluster. It can be configured:
Prerequisites
- AWS account and an IAM user
- rad CLI
Interactive configuration
-
Initialize a new environment with
rad init --full
:rad init --full
-
Follow the prompts, specifying:
- Namespace - The Kubernetes namespace where your application containers and networking resources will be deployed (different than the Radius control-plane namespace,
radius-system
). - Add an AWS provider - Enter your IAM access key and secret key and pick a region to deploy your AWS resources to.
- Environment name - The name of the environment to create.
You should see the following output:
Initializing Radius... ✅ Install Radius v0.33 - Kubernetes cluster: k3d-k3s-default - Kubernetes namespace: radius-system - AWS IAM access key ID: **** ✅ Create new environment default - Kubernetes namespace: default - AWS: account ***** and region: us-west-2 ✅ Scaffold application samples ✅ Update local configuration Initialization complete! Have a RAD time 😎
- Namespace - The Kubernetes namespace where your application containers and networking resources will be deployed (different than the Radius control-plane namespace,
Manual configuration
-
Update your Radius Environment with your AWS region and AWS account ID:
rad env update myEnvironment --aws-region myAwsRegion --aws-account-id myAwsAccountId
This command updates the configuration of an environment for properties that are able to be changed. For more information visit
rad env update
-
Add your AWS cloud provider credentials:
rad credential register aws --access-key-id myAccessKeyId --secret-access-key mySecretAccessKey
For more information on the command arguments visit
rad credential register aws
Feedback
Was this page helpful?
Glad to hear it! Please feel free to star our repo and join our Discord server to stay up to date with the project.
Sorry to hear that. If you would like to also contribute a suggestion visit and tell us how we can improve.