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

Deploying a Web App on Azure Container Services

Deploying a Web App on Azure Container Services

Azure Container instances and Azure container services are an amazing approach to get started with containers very quickly on the Azure cloud services platform.

ACI / ACS lets you concentrate on just your business functions of the codebase while taking care of a lot of the internal wiring and infrastructure so you can get your product or service in front of your customers quickly.

In this short talk we’ll look at taking a sample app on the ACS platform from zero to 100 and cover what is required to build and scale.

Ashwin Murali

May 07, 2020
Tweet

More Decks by Ashwin Murali

Other Decks in Technology

Transcript

  1. Kerala • Old school sys / network admin • <3

    shell / UNIX • Cloud • IoT • Mail • DNS
  2. Kerala Agenda • Docker – What is it? What give?

    • Dockerfiles • Azure Container offerings • Azure Container instances • Demo
  3. Kerala • A Standard unit of software that packages code

    and all of its dependencies so the application run quickly and reliably from one computing environment to another • Includes everything needed to run the application: code, runtime, system tools and libraries as well as settings. • Multiple containers are run by a single OS kernel, therefore are more lightweight than virtual machines.
  4. Kerala Agility • Reduced effort from dev to production •

    Streamlined dev / test cycles • Faster time to market • Quicker turnaround time
  5. Kerala Portability • Write once run everywhere • Standardised environment

    throughout lifecycle • Immutability brings lesser moving parts • More security - More safety
  6. Kerala Scalability • Less overhead on infra • Reduced cycle

    time - Faster boot up / restarts • Skewed scaling with Orchestration • Ramp down as well as Ramp up
  7. Kerala • Cloud Native • Lift and Shift • Batch

    & Bulk Processing • New age tech - IoT / ML / AI
  8. Kerala • Azure Container Registry (ACR) • Azure Container Instance

    (ACI) • Azure Web Apps for Containers • Azure Kubernetes Service (AKS)
  9. Kerala • A repository for storing container images • Similar

    to public registry like docker hub, but typically used in private model • Container images can be replicated across Azure regions (Premium ACR SKU) • Containers must have a tag corresponding to the name of the ACR
  10. Kerala • Just, run your containers, job done! • Really

    quick time to market • Serverless - Worry about business, not infrastructure • Bill for what you use - pay per second • All the Managed Service benefits
  11. FROM python:3.7.3-alpine3.8 MAINTAINER [email protected] RUN apk add --no-cache mariadb-dev build-base

    ADD requirements.txt / RUN pip install -r /requirements.txt COPY ./ /code WORKDIR /code CMD [ "python", ”app.py" ]