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:
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
It is the json for the AWS lex bot.
It is the python code for back end logic in lambda.
Steps on how to integrate with slack: https://docs.aws.amazon.com/lex/latest/dg/slack-bot-association.html
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