Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Scale Multi-container Apps using ACS & Docker Swarm

Nilesh Gule
November 16, 2017

Scale Multi-container Apps using ACS & Docker Swarm

Slides from the talk for Microsoft Azure Singapore meet up held on 16th November 2017 - https://www.meetup.com/mssgug/events/241713767

The videos used during the presentation can be found at http://bit.ly/AzureMeetupSwarmDemo

Nilesh Gule

November 16, 2017
Tweet

More Decks by Nilesh Gule

Other Decks in Technology

Transcript

  1. AGENDA Introduction 01 02 03 04 05 06 07 08

    Quick overview of the app Journey of container apps Build, package & test locally Publish to DockerHub Overview of Swarm & ACS Swarm cluster provisioning Scale services 2’ 2’ 2’ 5’ 5’ 5’ 5’ 10’
  2. Base Image 4 Package App as container image Compose multiple

    containers Publish Image (s) to registry Deploy to target environment(s) Journey of containerised App 1 2 3 4 5
  3. FROM • Base image Dockerfile WORKDIR • Working directory inside

    the container COPY • Artifacts to be published EXPOSE • Port exposed from container ENTRYPOINT • Executable to start when container is instantiated
  4. image • Name of the output image Docker compose (Build)

    build • Context & Dockerfile depends_on • Dependent services services • List of services (images) ports • Port mapping between container & host
  5. image • Name of the image from registry (dockerhub) Docker

    compose (Deploy) depends_on • Dependent services services • List of services (images) ports • Port mapping between container & host
  6. Base Image 27 Package App as container Compose multiple container

    Publish Image (s) to registry Deploy to target environment(s) Journey of containerised App 1 2 3 4 5
  7. 28 References 1. Demo source code - https://github.com/yuvarajac/dotnet-2017 2. Docker

    getting started - https://docs.docker.com/get-started/ 3. Docker compose V3 - https://docs.docker.com/compose/compose-file/#build 4. Commands Readme - https://github.com/yuvarajac/dotnet-2017/blob/master/DotNet2017/ AzureDockerSwarm.md