Grijan
Grijan

Reputation: 298

Is it possible to host a *CONSOLE* application in AWS

I'm trying to upload a .net console application, which has selenium in it which does some automation in the web. I have seen the docs that tell us how to upload a mvc application and i have hosted it successfully. So the question is, is it possible to upload a console application created in visual studio to aws.

Upvotes: 1

Views: 2655

Answers (4)

Akshay Gupta
Akshay Gupta

Reputation: 1

Of course Possible it will be very easy, I hope. In my case I use .NetCore 3.1 console app, where I implement tcplistener, tcpClient.

  1. Configure port in aws.

  2. when u create instances u will see public ipv4 address, that u will put in yours client or app file.

  3. and after than in that instance open cmd -> type ipconfig -> thane u find private ipv4 address, that use in server file.

    Finished!!!

Upvotes: 0

user2809306
user2809306

Reputation: 1

you can deploy it to AWS Lightsail or AWS EC2 . But you are in developing some application, it is better to deploy to AWS Lightsail as to reduce cost of development.

Upvotes: 0

Lex Li
Lex Li

Reputation: 63203

Literally you don't need AWS to host your console app at all, as you can write even simpler AWS Lambda in C#, which is similar to Azure Functions.

Upvotes: -1

John Rotenstein
John Rotenstein

Reputation: 269500

Amazon EC2 creates a virtual machine that runs the operating system of your choice.

You can run whatever you wish on it, as long as it does not violate the Terms & Conditions of usage.

Upvotes: 4

Related Questions