Introducing 

Prezi AI.

Your new presentation assistant.

Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.

Loading…
Transcript

Containers

in depth

Eric Stevens

Sept 11, 2018

The Basics

History of Containers

GETTING STARTED

VM

Hardware

Software

Bare Metal

Hardware

Software

Container

Hardware

Software

Containers

A container is a lightweight, standalone, executable package of software that includes everything needed to run an application: code, runtime, system tools, system libraries and settings.

What?

Why use them?

-Portable

-Reproduceable

-Lightweight

-Speed

-Scaling

Why?

How To Make a Container

Files or recipes for creating and setting up a virtual machine

MAKING A CONTAINER

Procfile Example

web: vendor/bin/heroku-php-apache2 web/

Heroku

Docker

Dockerfile Example

FROM ubuntu:12.04 #the base linux image to use

##commands to run to setup our environment

RUN apt-get update && apt-get install -y apache2 && apt-get clean && rm -rf /var/lib/apt/lists/*

## some environmental variables

ENV APACHE_RUN_USER www-data

ENV APACHE_RUN_GROUP www-data

ENV APACHE_LOG_DIR /var/log/apache2

#open this for traffic

EXPOSE 80

#Start Apache

CMD ["/usr/sbin/apache2", "-D", "FOREGROUND"]

Orchestration Engine

Orchestration

Kubernetes

Docker Swarm

HOSTING

Cloud based hosting

HOSTING

Heroku Hosting

-"Dynos" (VM)

-Free -> $500+/mo

-Pay per 'second'

Heroku

-Deploy using Heroku CLI

-Git Integration

Amazon ECS Hosting

Fargate - EC2

$23/mo -> $500+/mo

Prorated to Minute

ECS

-Rapid scaling

-Amazon Integration

Google Compute Cloud

- Free -> $500/mo

- Pay per second

-Google Integration

GCS

NEXT STEPS

NEXT STEPS

From 0 to Container with Heroku

Learn more about creating dynamic, engaging presentations with Prezi