Skip to content

sameermahajan/cloud-deployment-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

You can perform your cloud deployments using this bot.

You can say something like

I would like to deploy EC2 machines of t2.micro having ubuntu using key sameer

and achieve one utterance deployment! Or you can interact with the bot specifying values for each parameter as you are prompted, until it gathers all values and launches the deployment. Here is a screenshot of a sample interaction with its slack integration:

Cloud Deployment Bot Sample Interaction

For how to create a custom bot in AWS Lex with AWS Lambda, you can take a look at article https://chatbotsmagazine.com/quick-start-develop-a-chat-bot-with-aws-lex-lambda-part-1-b6f7c80ebba6

lex_bot.json

It is the json for the AWS lex bot.

lambda_function.py

It is the python code for back end logic in lambda.

Slack Integration

Steps on how to integrate with slack: https://docs.aws.amazon.com/lex/latest/dg/slack-bot-association.html

Future Work

The sample code currently given here can be extended by

  • Taking parameters like CPU, RAM, disk, network to deduce instance type
  • Other AWS services
  • Mix of services
  • Multi cloud
  • Channel integrations

About

Bot to perform your cloud deployments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages