Almost all major cloud computing companies like Google Cloud, Microsoft Azure or Amazon Web Services (AWS) offer free 12 months services or free credits to newly registered members. We use AWS in this solution. If you don’t have an account on AWS, Please be registered

AWS EC2 services
AWS EC2 services

We are going to click on the “Services” top left and then under “Computing” select “EC2”

What is EC2?

It’s an amazon service let us deploy a virtual machine in the cloud. It will run our vpn server.

Launch EC2 Instance

Create Sample Project

To begin with, we create our sample project by going to the folder where we keep our repositories. I am using dotnet CLI with powershell in Windows 10 but you can use different terminals and OS (MACOS, Linux etc.)

PS> mkdir Matech.Sample.Template 
PS> cd Matech.Sample.Template

Add some class library projects (Application, Domain, Infrastructure) and Web Api project.

PS Matech.Sample.Template> dotnet new classlib -n Application 
PS Matech.Sample.Template> dotnet new classlib -n Domain
PS Matech.Sample.Template> dotnet new classlib -n Infrastructure
PS Matech.Sample.Template> dotnet new webapi -n WebApi

Add Solution item

PS Matech.Sample.Template> dotnet new sln

Add multiple C# projects to a solution Matech.Sample.Template.sln using a globbing pattern (Windows PowerShell…


İlker Aytı

I’m a Husband, Father and Developer.

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