1 / 18

Modernizing Applications with Docker

Modernizing Applications with Docker. @ spboyer www.tattoocoder.com | spboyer.me /dev-azure-free # devintersection. Shayne Boyer. Sr. Cloud Developer Advocate. What are the things we have to think about?. Decisions. spboyer.me/dev-azure-free. Moving to the cloud decisions.

mpetersen
Télécharger la présentation

Modernizing Applications with Docker

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Modernizing Applications with Docker • @spboyer • www.tattoocoder.com | spboyer.me/dev-azure-free • #devintersection • Shayne Boyer • Sr. Cloud Developer Advocate

  2. What are the things we have to think about? Decisions spboyer.me/dev-azure-free

  3. Moving to the cloud decisions • Require a transformation or re-architecting • Require partial modernization • “Lift and Shift” directly to the cloud • There is no one-size-fits-all strategy spboyer.me/dev-azure-free

  4. Lift & Shift • Cloud Infrastructure Ready - VMs • Cloud DevOps Ready - Containers • Cloud Optimized – Full Platform as a Service (PAAS) spboyer.me/dev-azure-free

  5. Terminology http://spboyer.me/dev-docker-terms • Dockerfile • Container - An instance of a Docker image. A container represents a runtime for a single application, process, or service. • Container Image - A package with all of the dependencies and information needed to create a container. • Tag - A mark or label that you can apply to images • Repository • Registry - i.e. Docker Hub, Azure Container Registry, other Private Registry spboyer.me/dev-azure-free

  6. Terminology http://spboyer.me/dev-docker-terms • Compose • A command-line tool and YAML file format with metadata for defining and running multicontainer applications. • Cluster • A collection of Docker hosts exposed as if they were a single virtual Docker host so that the application can scale to multiple instances of the services spread across multiple hosts within the cluster. • Orchestrator • A tool that simplifies management of clusters and Docker hosts.  spboyer.me/dev-azure-free

  7. Why? If it’s not broken don’t fix it… Benefits spboyer.me/dev-azure-free

  8. Benefits • CI/CD • Once the application is setup in a container, build a CI/CD pipeline to build and push the applications to the cloud in a streamlined fashion. • Increased velocity, versioning, rollback • In addition to the CI/CD features, the ability to version the container, ease of deployment and rollback in the event of failures is easier. • Leverage other cloud services • Add Application Insights, managed database services and other PAAS offerings  spboyer.me/dev-azure-free

  9. What are we using to build these applications? Tools spboyer.me/dev-azure-free

  10. Tools for development • Docker • Kubernetes • Visual Studio • http://docker.com • Docker for Windows / MacDocker Compose • http://kubernetes.io • Orchestration • Azure - AKS Service • https://code.visualstudio.comhttps://visualstudio.com • Windows / Mac / Linux spboyer.me/dev-azure-free

  11. Visual Studio 2017 – ASP.NET 4.x Visual Studio 2017 15.7 - Preview 2 • Automatically picks smart defaults for ASP.NET Full Framework & Windows Images • Support WCF and Webforms apps • Debugging inside containers • Adds new docker compose project • F5 to debug app just as you would using IIS Express • Build, publish container to Azure Container Registry or Docker Hub Can also publish to AppService or Virtual Machine spboyer.me/dev-azure-free

  12. Visual Studio 2017 – ASP.NET 4.x Visual Studio 2017 15.7 - Preview 2 • Get to “Cloud DevOps Ready” quick • Deployment options from Azure Container Registry • Azure Container Instances • Azure Container Service (ACS/AKS) • On-Premises w/ Windows Server 2016 from ACR spboyer.me/dev-azure-free

  13. Modernize a .NET WCF Service Demo spboyer.me/dev-azure-free

  14. Where do I run these applications? Hosting on Azure spboyer.me/dev-azure-free

  15. Hosting on Azure spboyer.me/dev-azure-free

  16. Resources • Docker Terminologyhttp://spboyer.me/dev-docker-terms • Container Dev Center on Azurehttp://spboyer.me/dev-containers-centerFree Azure Accounthttp://spboyer.me/dev-azure-free • Shayne Boyer • @spboyer | #devintersection

More Related