~ 4 min read

How to onboard an AWS account to Kloudle

This document details the steps that are required to create an AWS user that will be onboarded to Kloudle so that Kloudle can make API requests to AWS.

Table of Contents

What is Kloudle?

What is this document about?

AWS Onboarding for Kloudle

     Through Console

     Through CLI

What is Kloudle?

Kloudle is a Digital Assets Security Automation Platform for SREs and DevOps. When integrated with your Cloud or SaaS provider, Kloudle takes periodic security snapshots and provides complete security contextual visibility that allows you to make informed decisions about your infrastructure, the assets and their various configurations.

Kloudle collects metadata about the resources and analyzes them to identify misconfigurations and using a massive research powered knowledgebase, identifies what would go wrong if these misconfigurations were exploited and what you can do to fix them.

As part of making sure the lives of SREs and DevOps become easier, Kloudle offers the ability to create “rules” that allow a user to take automated actions against a baseline. These automated actions, which we call Security Processes, allow users to configure a series of steps that kick in when custom events occur to ensure the security of the cloud and SaaS platform being monitored.

What is this document about?

This document details the steps that are required to create an AWS user that will be onboarded to Kloudle so that Kloudle can make API requests to AWS.

AWS Onboarding for Kloudle

Through Console

  1. Log in to the AWS account you want to onboard
  2. Ensure you have permissions to create an IAM user and attach policies to the user
  3. Navigate to IAM
  4. Go to Users page
  5. Click on Add users
  6. Enter User Name as kloudle-user
  7. Check Programmatic access for Access type. To perform visibility checks we will not require Console Access

Add user

  1. Click on Next
  2. Choose Attach existing policies directly.

  1. We will require two policies to be attached ReadOnlyAccess and IAMAccessAnalyzerReadOnlyAccess. Search for these policies using the “Filter policies” search box.

Read only access11. Add Tags in the next page, createdby and createdfor 12. Click on Review and then Create user

create user

  1. Download the csv file containing the user credentials
  2. Now in Kloudle dashboard, go to Manage and click on AWS under Cloud Integrations

15. On the onboarding screen, enter your AWS Account ID for which the credentials were generated

16. You can give a custom name for your AWS account under Account Name

17. Under Authentication Details, provide the Access Key ID and Secret Key

  1. Click on Add Account button to onboard your AWS account to Kloudle

Through CLI

  1. Ensure you have your CLI credentials to access the AWS account you want to onboard
  2. Ensure you have permissions to create an IAM user and attach policies to the user
  3. Run the below command to create the user kloudle-user,

aws iam create-user —user-name kloudle-user —tags Key=createdfor,Value=kloudle

  1. Then we will create access key for the user

aws iam create-access-key —user-name kloudle-user

  1. Note down the Access Key ID and Secret Access Key for the user
  2. Now we can attach the required policies ReadOnlyAccess and IAMAccessAnalyzerReadOnlyAccess to the user

aws iam attach-user-policy —user-name kloudle-user —policy-arn arn:aws:iam::aws:policy/ReadOnlyAccess

aws iam attach-user-policy —user-name kloudle-user —policy-arn arn:aws:iam::aws:policy/IAMAccessAnalyzerReadOnlyAccess

  1. We can verify that the permissions are attached to the user by running list-attached-user-policies

aws iam list-attached-user-policies —user-name kloudle-user

Once you have created the kloudle-user and noted down the Access Key ID and Secret Key for it, you can proceed with the onboarding steps on Kloudle as mentioned from Step 14 onwards in the previous section “Through Console”.

***

If you wish to onboard a GCP account to Kloudle, this document details the steps that are required to create a Google Cloud service account token to be onboarded to Kloudle so that Kloudle can make API requests to Google Cloud.

;