ci/cd with docker on aws

Post on 14-Aug-2015

54 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

CI/CD with

on

Docker

DockerAN OPEN PLATFORM FOR

DEVELOPERS AND SYSADMINS TO BUILD, SHIP, AND RUN

DISTRIBUTED APPLICATIONS.

DockerVM v Docker

DockerDocker Images

Docker

Ops

FROM ubuntu:14.04 RUN apt-get update RUN apt-get -y upgrade CMD /bin/bash

Docker

Ops Dev

FROM ubuntu:14.04 RUN apt-get update RUN apt-get -y upgrade CMD /bin/bash

FROM ops:latestRUN git clone… RUN pip install… CMD [“python” “run.py”]

Docker

Ops Dev

T E S T I N G

Docker

Ops

Deploy

Docker

Ops Dev

T E S T I N G

Docker

T E S T I N G

Deploy

CI/CD with

on

EC2 Container Service (ECS)

Benefits:Nothing extra to run

Benefits:AWS Manages

Scheduling

Benefits:

Built on EC2

Benefits:Integrates with other

AWS services

Benefits:Extensible

(APIs + Open Source Agent)

ECS Key Components

Container Instances EC2 Instances

Docker Amazon ECS Agent

EC2 {

ECS Agent

Clusters

Task Definitions

https://docs.aws.amazon.com/AmazonECS/latest/developerguide/create-task-

definition.html

Tasks v. Services

domain.com

Deploy

domain.com

DeployT E S T I N G

domain.com

1 Free Container / Org

$50 / per container

EC2 Container Service

top related