Blog Logo
TAGS

Hosting ASP.NET Core WebAPI on Amazon EC2: Step-by-Step Guide

In this article, we will guide you step-by-step on how to host ASP.NET Core WebAPI on Amazon EC2. We will cover various concepts such as setting up the .NET environment, hosting applications, DevOps-related practices, and much more. Amazon EC2 is a cloud computing service offered by AWS that allows you to rent virtual servers. As part of the free tier, AWS offers up to 750 hours of Linux and Windows (micro) instances every month for 1 full year. We will also be building an ASP.NET Core Web API with CRUD operations and PostgreSQL database with Docker container support. You can find the source code on GitHub and we will be SSH into the instance via PuTTY. By the end of this article, you will have a good understanding of how to host an ASP.NET Core WebAPI on Amazon EC2.