.NET Core

From zero to deployment

About

  • piotrgankiewicz.com
  • @spetzu
  • github.com/spetz
  • .NET Core Tour

Prerequisites

  • .NET Core application
  • Monolith, SOA, (nano)services 
  • Server (Virtual Machine)
  • Good will

.NET Core

Action plan

  • Dockerization
  • Automation
  • Deployment
  • Orchestration
  • Extensions

Per aspera

Ad astra

Dockerization

  • Running the application in a classic way 
  • Containers, Docker, Docker Compose
  • Docker Hub, Azure Container Registry

Automation

  • A little bit of the Shell scripts
  • Travis CI
  • BitBucket Pipelines

Deployment

  • Virtual Machine
  • Ubuntu Server
  • Nginx

Orchestration

  • Rancher
  • Services management
  • HAProxy load balancer

Extensions

  • Serilog
  • ELK Stack
  • Additional solutions

HTTP API + Service

||

 Travis CI | Pipelines

||

               Docker Hub | Azure CR

||

    GitHub | BitBucket

||

Rancher

||

HAProxy

||

User

+++++ ELK

++++++ Host #2

Host #1 +++++

||

Ubuntu Server

++++++ Nginx

Docker +++++

+++++ SSL

Summa summarum

  • .NET Core lets you do alot (sic!)
  • Containers aren't just a hype
  • CI & CD is just a few lines of code (scripts)
  • Linux does not bite (and is for free)
  • Orchestration doesn't have to be complicated
  • Neither the centralized data logging
  • And it's just a tip of an iceberg
Made with Slides.com