Learn how to create and host a Python Discord bot on AWS Lambda.
In this tutorial, you'll learn how to create a Discord Bot using Discord's Interaction HTTP endpoints — and then host it for FREE on AWS Lambda. This is a super easy, cost-effective, and scalable way to host Discord bots.
We'll be using Flask and Python for the Discord bot, and AWS CDK to deploy our Lambda infrastructure.
????️ Code: https://github.com/pixegami/discord-bot-lambda
???? Links
???? Discord Developer Portal: https://discord.com/developers/applications
???? AWS CDK: https://docs.aws.amazon.com/cdk/v2/guide/home.html
???? Running Docker on Lambda: https://youtu.be/wbsbXfkv47A
???? Chapters
00:00 Introduction
02:40 Set Up Discord Bot
04:13 Register Bot Commands
07:21 Creating Bot Endpoints
10:38 Token Validation
13:02 Create Docker Image
16:04 Deploying with AWS CDK
21:15 Wrapping Up
In this tutorial, you'll learn how to create a Discord Bot using Discord's Interaction HTTP endpoints — and then host it for FREE on AWS Lambda. This is a super easy, cost-effective, and scalable way to host Discord bots.
We'll be using Flask and Python for the Discord bot, and AWS CDK to deploy our Lambda infrastructure.
????️ Code: https://github.com/pixegami/discord-bot-lambda
???? Links
???? Discord Developer Portal: https://discord.com/developers/applications
???? AWS CDK: https://docs.aws.amazon.com/cdk/v2/guide/home.html
???? Running Docker on Lambda: https://youtu.be/wbsbXfkv47A
???? Chapters
00:00 Introduction
02:40 Set Up Discord Bot
04:13 Register Bot Commands
07:21 Creating Bot Endpoints
10:38 Token Validation
13:02 Create Docker Image
16:04 Deploying with AWS CDK
21:15 Wrapping Up
- Catégories
- Architecte Intérieur - Décorateur
- Mots-clés
- python, aws, discord
Commentaires