In this article, we are going to see how to deploy an ASP.Net Core Web API on AWS EKS Fargate, We push the ASP.Net application as an image to AWS ECR and pull the image from it to deploy into Fargate.


  • The user should have an AWS Account.
  • Visual Studio and Docker Desktop should be installed in your system.
  • AWS CLI should be installed and configured in the user’s system.
  • AWS Profile should be configured in Visual Studio.

Part 1: Creating an ASP.Net Core Web API and add Docker Support

A. Creating an ASP.Net Core Web API

Open Visual Studio and click on Create a new project.

Choose ASP.Net Core…

We can use HTTP in Tomcat server by default, In this article, we are going to enable HTTPS in Tomcat Server.

Java KeyStore

The Java KeyStore is a database that can contain keys. A Java KeyStore is represented by the KeyStore ( class. A KeyStore can be written to disk and read again. The KeyStore as a whole can be protected with a password, and each key entry in the KeyStore can be protected with its own password. This makes the KeyStore class a useful mechanism to handle encryption keys securely.


Java and Tomcat Server should be already installed…

AWS Lambda

AWS Lambda is an event-driven, serverless computing platform provided by Amazon as a part of Amazon Web Services. It is a computing service that runs code in response to events and automatically manages the computing resources required by that code.

Building Lambda functions with Python

You can run Python code in AWS Lambda. Lambda provides runtimes for Python that execute your code to process events. Your code runs in an environment that includes the SDK for Python (Boto 3), with credentials from an AWS Identity and Access Management (IAM) role that you manage.

Need for the deployment package

Dhandapani Sudhakar

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store