Creating and Hosting An Application on AWS Elastic Container Service (ECS)

In the ever-evolving tech landscape, the call for efficient and reliable ways to deploy applications is ringing louder than ever. But no worries! Thanks to robust tools like GitHub Actions, Docker, and the AWS Services, automating the deployment of ASP.NET Core applications to AWS ECS has become a lot easier.

This is our third post in the series of building a Slack Bot hosted in AWS. In this post we’ll delve into how to create and host our ASP.NET Core API on an Elastic Container Server (ECS).

๐Ÿ’ป How to Create a Custom Slack Bot with .NET 7

๐Ÿš€ Creating a Minimal API With ASP.NET Core That Interacts With AWS DynamoDB

๐Ÿ”ง Creating and Hosting An Application on AWS Elastic Container Service (ECS)

๐ŸšขContinuous Deployment with GitHub Actions to AWS Elastic Container Service (ECS)

Read More »

Creating a Minimal API With ASP.NET Core That Interacts With AWS DynamoDB

In this blog post, we will guide you through the process of creating a simple .NET 7 API that interacts with DynamoDB. Additionally, we will integrate our SlackBot console application, which we introduced in a previous blog post How to Create a Custom Slack Bot with .NET 7.

This is the second post in the series

๐Ÿ’ป How to Create a Custom Slack Bot with .NET 7

๐Ÿš€ Creating a Minimal API With ASP.NET Core That Interacts With AWS DynamoDB

๐Ÿ”ง Creating and Hosting An Application on AWS Elastic Container Service (ECS)

๐Ÿšข Continuous Deployment with GitHub Actions to AWS Elastic Container Service (ECS)

Before we dive into the details, it’s important to note that we could have created everything within the SlackBot console application. If you prefer that approach, feel free to do so. However, in this post, we are creating a separate Web API to allow for future integration with front-end applications, rather than solely relying on the SlackBot console application.

In this post, we are going to cover creating our ASP.NET Core API first. We will then add a ping endpoint to ensure our Web API is working as expected. Next, we will create an IAM role in the AWS Management Console, create a DynamoDB table in the AWS Management Console, add the AWSDynamoDB SDK and finally the code needed to call our DynamoDB table in AWS.

Read More »