ci/cd with docker on aws

34
CI/CD with on

Upload: hart-hoover

Post on 14-Aug-2015

54 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: CI/CD with Docker on AWS

CI/CD with

on

Page 2: CI/CD with Docker on AWS

Docker

Page 3: CI/CD with Docker on AWS

DockerAN OPEN PLATFORM FOR

DEVELOPERS AND SYSADMINS TO BUILD, SHIP, AND RUN

DISTRIBUTED APPLICATIONS.

Page 4: CI/CD with Docker on AWS

DockerVM v Docker

Page 5: CI/CD with Docker on AWS

DockerDocker Images

Page 6: CI/CD with Docker on AWS

Docker

Ops

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

Page 7: CI/CD with Docker on AWS

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”]

Page 8: CI/CD with Docker on AWS

Docker

Ops Dev

T E S T I N G

Page 9: CI/CD with Docker on AWS

Docker

Ops

Deploy

Page 10: CI/CD with Docker on AWS

Docker

Ops Dev

T E S T I N G

Page 11: CI/CD with Docker on AWS

Docker

T E S T I N G

Deploy

Page 12: CI/CD with Docker on AWS

CI/CD with

on

Page 13: CI/CD with Docker on AWS
Page 14: CI/CD with Docker on AWS

EC2 Container Service (ECS)

Page 15: CI/CD with Docker on AWS

Benefits:Nothing extra to run

Page 16: CI/CD with Docker on AWS

Benefits:AWS Manages

Scheduling

Page 17: CI/CD with Docker on AWS

Benefits:

Built on EC2

Page 18: CI/CD with Docker on AWS

Benefits:Integrates with other

AWS services

Page 19: CI/CD with Docker on AWS

Benefits:Extensible

(APIs + Open Source Agent)

Page 20: CI/CD with Docker on AWS

ECS Key Components

Page 21: CI/CD with Docker on AWS

Container Instances EC2 Instances

Docker Amazon ECS Agent

Page 22: CI/CD with Docker on AWS

EC2 {

ECS Agent

Page 23: CI/CD with Docker on AWS

Clusters

Page 24: CI/CD with Docker on AWS
Page 25: CI/CD with Docker on AWS

Task Definitions

Page 26: CI/CD with Docker on AWS

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

definition.html

Page 27: CI/CD with Docker on AWS

Tasks v. Services

Page 28: CI/CD with Docker on AWS
Page 29: CI/CD with Docker on AWS

domain.com

Page 30: CI/CD with Docker on AWS

Deploy

domain.com

Page 31: CI/CD with Docker on AWS

DeployT E S T I N G

domain.com

Page 32: CI/CD with Docker on AWS

1 Free Container / Org

$50 / per container

Page 33: CI/CD with Docker on AWS

EC2 Container Service

Page 34: CI/CD with Docker on AWS