DEV Community

Cover image for Kubiya AI and AWS Integration
subbaramireddy
subbaramireddy

Posted on

Kubiya AI and AWS Integration

Integrating Kubiya AI with AWS brings a new level of automation and intelligence to your cloud computing endeavours. AWS, as a cloud platform, empowers users to access computing resources, storage, and services on-demand, fostering scalability and flexibility.

By partnering with Kubiya AI, you introduce an intelligent assistant into this dynamic environment. Kubiya AI navigates AWS seamlessly, automating routine tasks, and enhancing the user experience. Whether you’re exploring the vast capabilities of Amazon EC2 for computing power, leveraging Amazon S3 for storage solutions, or managing databases with Amazon RDS, Kubiya AI becomes your automated guide.

This integration isn’t just about convenience — it’s a synergy of cutting-edge technology that allows you to focus on your core objectives while Kubiya AI takes care of the intricate details. It’s a fusion of AWS’s robust cloud infrastructure with Kubiya AI’s automation prowess, providing you with an efficient, user-friendly, and intelligent cloud computing experience.

prerequisites

  • Required a Slack account

  • Create a channel in Slack to integrate with the Kubiya.

Install the Slack App

Installing Kubiya Slack app

The best way to get started with Kubiya is using the direct integration within Slack which ensures a streamlined and enhanced user experience, enabling you and your team to interface with the virtual assistant without requiring platform switching.

Don’t worry — after installing the Slack app you’ll still be able to access the management interface.

Features of the Slack integration

  • Immediacy: Engage with Kubiya directly within your established communication channels on Slack and manage all kinds of cloud resources with a blink of an eye.

  • **Efficiency: **All native integrations can be easily connected right from Slack.

  • **Collaboration: **Enhance collective decision-making by sharing and debating Kubiya’s insights within your team’s Slack channels.

Installing the Slack App

Add the Kubiya app to your Slack workspace:

Clicking on the Add to Slack button above will prompt you to approve Kubiya’s access to your workspace:

Important: Make sure the correct workspace is selected on the top right.

After adding to Slack, you should be redirected to this page, indicating that the onboarding process succeeded:

You should see the newly installed Kubiya app in your Slack workspace — with a message waiting for you to enable your first integrations:

Add connection of Amazon Web Services (AWS)

Prerequisites

Before you begin, ensure that you have the following:

  • Access to the Kubiya platform.

  • Appropriate permissions to make configurations on AWS (IAM)

Create a Role on AWS

Create a role on AWS for Kubiya to perform actions on AWS:

  1. Login to your AWS console and navigate to the Identity and Access Management (IAM) page.

  2. Click on the Roles section

  3. Click the Create Role button in the top right corner

  4. In the “Select trusted entity” dialog:

  5. Select “AWS account

  6. Select “Another AWS account”

  7. Enter the Kubiya Account ID in the identifier input box 564407622114

  8. Click Next

In the ‘Policies’ dialog, select the access rules that you would like Kubiya to have access to, then click Next

  1. In the “Role details” dialog:

  2. Name the role, you will need this later.

  3. Confirm the Kubiya Account ID in the JSON under “Step 1: Select trusted entities”

  4. Confirm the selected permissions under “Step 2: Add permissions”

  5. If correct, click the Create role button

Enable the integration

open the channel which is created and mention the Kubiya with a greeting. It will invite the Kubiya app to the channel and prompt you to activate the Kubiya account.

It will redirect you to the Kubiya login page and click on Continue with Slack.

Accept and Continue the sign-in to Kubiya with Slack. It will send an email for authentication.

Enter the One-time password to authenticate with the Kubiya

It will prompt two options

  • Chat on Slack

  • Kubiya Web App, Click on Kubiya Web App

It will open the Kubiya Welcome page and click on the Start.

This is the Kubiya Initial dashboard to view history.

Once you’ve activated the Kubiya account, open Slack and navigate to the integration setup. Click on “Connect AWS” and a window will appear prompting you to enter the AWS credentials.

Input the credentials to establish a connection with the AWS account.

A prompt will appear indicating the connection process between Kubiya and the AWS account.

A window will appear, indicating that the connection to AWS has been successfully established.

In the Kubiya UI, We can view the Connections which are configured.

Navigate to the Apps section of Slack to see the integrated apps within the Slack account.

Open the Channel which is created for your team. Mention Kubi to list the S3 buckets within the AWS Account.

We can view the list of s3 buckets in the AWS management console.

AI Suggestions are enabled for AWS by default

Mention Kubi to List all Ec2 Instances.

Mention Kubi to List all the Ec2 instances in the ap-south-1 region. Kubiya will give you the reply in the Thread.

Mention Kubi to Create an Ec2 Instance. It will prompt you to enter the required options to create the instance.

Enter the required values to create the Ec2 instance.

In the AWS Management Console, search for the EC2. Click on it and we can view the running instances

Mention Kubi to list the running Ec2 instance in the ap-south-1 region. Kubi will give you a reply in the thread. we can verify the EC2 Instance with the Instance ID.

Mention Kubi to terminate the EC2 instance. It will prompt you to enter the Instance ID.

Mention Kubi with the Instance ID to terminate.

In the Thread window kubi will reply as the operation completed successfully.

No instances are running in the ap-south-1 region.

Open the Kubiya Web UI dashboard.

We can view the Actions history in the Kubiya web UI.

In the Users & Groups, we can view the Slack user name.

In summary, the integration of Kubiya AI with AWS is a game-changer in cloud computing. AWS’s extensive capabilities blend effortlessly with Kubiya AI’s automation, offering users a seamless, intelligent, and personalized experience. It’s more than a partnership; it’s a revolution in how we leverage the cloud, making complex tasks simple and unlocking the full potential of AWS with ease.

Thanks for reading! I hope you found this helpful and informative.

I’m always happy to connect with tech enthusiasts and answer any questions you may have. Don’t forget to follow me for more updates on cloud computing, tech and more.😄😄

Follow me on LinkedIn to see interesting posts like this : ) Linkedin

Top comments (0)