Sitemap

Kubiya AI and AWS Integration

7 min readNov 21, 2023
Press enter or click to view image in full size

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:

Press enter or click to view image in full size

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.

Press enter or click to view image in full size

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

Press enter or click to view image in full size

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

Press enter or click to view image in full size

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
Press enter or click to view image in full size

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

Press enter or click to view image in full size
  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
Press enter or click to view image in full size

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.

Press enter or click to view image in full size

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

Press enter or click to view image in full size

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

Press enter or click to view image in full size

Enter the One-time password to authenticate with the Kubiya

Press enter or click to view image in full size

It will prompt two options

  • Chat on Slack
  • Kubiya Web App, Click on Kubiya Web App
Press enter or click to view image in full size

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

Press enter or click to view image in full size

This is the Kubiya Initial dashboard to view history.

Press enter or click to view image in full size

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.

Press enter or click to view image in full size

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

Press enter or click to view image in full size

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

Press enter or click to view image in full size

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

Press enter or click to view image in full size

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

Press enter or click to view image in full size

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

Press enter or click to view image in full size

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

Press enter or click to view image in full size

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

Press enter or click to view image in full size

AI Suggestions are enabled for AWS by default

Press enter or click to view image in full size

Mention Kubi to List all Ec2 Instances.

Press enter or click to view image in full size

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

Press enter or click to view image in full size

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

Press enter or click to view image in full size

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

Press enter or click to view image in full size

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.

Press enter or click to view image in full size

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

Press enter or click to view image in full size

Mention Kubi with the Instance ID to terminate.

Press enter or click to view image in full size

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

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

Press enter or click to view image in full size

Open the Kubiya Web UI dashboard.

Press enter or click to view image in full size

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

Press enter or click to view image in full size

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

Press enter or click to view image in full size

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

--

--

No responses yet