docker persistent storage on amazon web services (aws)

31
How to Build Docker Persistent Storage on Amazon Web Services Greg Pellegrino VP Products SoftNAS

Upload: softnas-inc

Post on 20-Mar-2017

41.130 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Docker Persistent Storage on Amazon Web Services (AWS)

How to Build Docker Persistent Storage on Amazon Web Services

Greg PellegrinoVP ProductsSoftNAS

Page 2: Docker Persistent Storage on Amazon Web Services (AWS)

2

Introducing

Greg PellegrinoVP Products

SoftNAS

© 2015 SoftNAS Inc.

Page 3: Docker Persistent Storage on Amazon Web Services (AWS)

3

Housekeeping

Post your questions here

This session IS being recordedLinks to the recording and presentations will be provided later

To listen using your telephone select the ‘Telephone’ option.

For local numbers click the ‘additional numbers’ link.

You will need to use the Access Code and Audio PIN.

The audio for this webinar is available over VoIP. Just select

the use ‘Mic & Speakers’ option to listen to the webinar

through your computers speakers.

If you CAN NOT hear us, please check your

volume settings.

Webinar Audio1

2

3© 2015 SoftNAS Inc.

Page 4: Docker Persistent Storage on Amazon Web Services (AWS)

4

Get My $100 AWS Credit!

First 100 attendees to register

(URL announced later)

© 2015 SoftNAS Inc.

Page 5: Docker Persistent Storage on Amazon Web Services (AWS)

5

Agenda

© 2015 SoftNAS Inc.

• Docker in 3 Minutes• SoftNAS Architecture• Persistent Storage for Docker• Demo

– Set-up a Cloud NAS on AWS for DockerPersistent Storage

• Amazon EC2 Container Service (ECS)• SoftNAS Overview• Q&A

Page 6: Docker Persistent Storage on Amazon Web Services (AWS)

Docker in 3 Minutes

Page 7: Docker Persistent Storage on Amazon Web Services (AWS)

7

What is Docker?

A Docker Container

looks like a virtual machine

Linux OS isolation

tools made easy

Provide additional ‘goodies’ for app

development© 2015 SoftNAS Inc.

Page 8: Docker Persistent Storage on Amazon Web Services (AWS)

8

What are Containers?CONTAINER CONTAINER

HOST OS

SERVER

APP

LIBS

APP

LIBS

© 2015 SoftNAS Inc.

Page 9: Docker Persistent Storage on Amazon Web Services (AWS)

9

Docker vs VMs

HOST OSSERVER

HYPERVISOR

VIRTUAL MACHINE

APP

LIBSGUEST OS

VIRTUAL MACHINE

APP

LIBSGUEST OS

HOST OS, SHARED SVCSSERVER

CONTAINER

APP

LIBS

CONTAINER

APP

LIBS

Virtualization Containers© 2015 SoftNAS Inc.

Page 10: Docker Persistent Storage on Amazon Web Services (AWS)

© 2015 SoftNAS LLC | Confidential – Do Not Distribute 10

Why DevOps Cares?Configure once…run anything• Efficient, consistent, and repeatable lifecycle• Increased code quality • Inconsistencies eliminated: dev/test/prod/customer

environments• Supports segregation of duties• Improved speed and reliability: continuous

deployment/integration• Easier than VMs: containers improve performance, costs,

deployment, and portability

Page 11: Docker Persistent Storage on Amazon Web Services (AWS)

SoftNAS Architecture

Page 12: Docker Persistent Storage on Amazon Web Services (AWS)

© 2015 SoftNAS LLC 12

SoftNAS Cloud NASEnterprise-class cloud storage

Public cloud – object storage

AWS S3S3

End-userdesktops, devices

Applicationsand servers

Volumes

AFP iSCSI

Storage pools

Cloud NAS

CIFS NFS

Cloud Native – disk storageAWS EBS Volumes

Page 13: Docker Persistent Storage on Amazon Web Services (AWS)

Persistent Storage for Docker

Page 14: Docker Persistent Storage on Amazon Web Services (AWS)

© 2015 SoftNAS LLC | Confidential – Do Not Distribute 14

Container Storage OptionsStorage Option Pros ConsDocker Internal Storage

• Simple• Shared by containers on

same host

• Temporary

Host Storage • Shared by containers on same host

• More configuration – container processes need appropriate read/write permissions

Network StorageGluster, Ceph, SoftNAS, NFS, iSCSI

• Shared universally within cluster

• Requires careful UID/GID mapping (until cgroup user namespace work completed)

Cloud StorageBlock: AWS EBSObject: AWS S3

• Block: shared in cluster, if minion info is public

• Object: Good for files that change infrequently; latency not an issue; accessed over HTTP w/ REST

• Block: requires low latency; problematic over WAN

• Object: requires software and access info for storage processes w/in container

Page 15: Docker Persistent Storage on Amazon Web Services (AWS)

15

Application Delivery with Persistent Shared Storage

© 2015 SoftNAS Inc.

SoftNAS Cloud NAS

EBS/S3

Host OSHost OSHost OS

Linux Server

Page 16: Docker Persistent Storage on Amazon Web Services (AWS)

16

AWS ECS with SoftNAS

© 2015 SoftNAS Inc.

SoftNAS Cloud NAS

Page 17: Docker Persistent Storage on Amazon Web Services (AWS)

© 2015 SoftNAS Inc. 17

Architecture – ECS + SoftNAS Cloud

Page 18: Docker Persistent Storage on Amazon Web Services (AWS)

DemoSet-up a Cloud NAS on AWS for Docker Persistent storage

Page 19: Docker Persistent Storage on Amazon Web Services (AWS)

19

Demo

© 2015 SoftNAS Inc.

View Demo in YouTube

Page 20: Docker Persistent Storage on Amazon Web Services (AWS)

Amazon EC2 Container Service (ECS)

Page 21: Docker Persistent Storage on Amazon Web Services (AWS)

21

Amazon EC2 Container Service

Launch and terminate Docker

containers

Access a cluster of EC2 instances

Mount persistent volumes at launch

Private Docker repositories

© 2015 SoftNAS Inc.

Page 22: Docker Persistent Storage on Amazon Web Services (AWS)

22

Amazon ECS Benefits• Easily manage clusters for any

scale– Nothing to run– Complete state– Control and monitoring– Scale

• Flexible container placement– Applications– Batch jobs– Multiple schedulers

© 2015 SoftNAS Inc.

• Designed for use with other AWS services– Elastic Load Balancing– Amazon Elastic Block Store– Amazon Virtual Private Cloud– AWS Identity and Access

Management (IAM)– AWS Cloud Trial

• Extensible– Comprehensive APIs– Open source agent– Custom schedulers

Page 23: Docker Persistent Storage on Amazon Web Services (AWS)

SoftNAS Overview

Page 24: Docker Persistent Storage on Amazon Web Services (AWS)

24

SoftNAS Products

SoftNAS Cloud NAS• Amazon Web Services (AWS)• Microsoft Azure• VMware vCloud Air• CenturyLink Cloud

Public cloud NAS filer

SoftNAS Object Filer• VMware vSphere

Software-defined NAS for object storage

SoftNAS for Service Providers• VMware vSphere

Multi-tenant NAS replacement for use with iSCSI and object storage

© 2015 SoftNAS Inc.

Page 25: Docker Persistent Storage on Amazon Web Services (AWS)

25

Technology Partners

© 2015 SoftNAS Inc.

Page 26: Docker Persistent Storage on Amazon Web Services (AWS)

Brands You Know Trust SoftNAS

Page 27: Docker Persistent Storage on Amazon Web Services (AWS)

27

Why SoftNAS Matters to Docker• Need for file sharing and advanced NAS features• Manage data for all containers in simple and powerful

storage solution• Available on-demand to meet IT and DevOps agile storage

needs• Snapshots and clones that work with stored container

output• Streamlines continuous deployment build-test-validate-

release cycles• Enhances security built into AWS• Protects mission-critical data in the cloud• 99.999% uptime

© 2015 SoftNAS Inc.

Page 28: Docker Persistent Storage on Amazon Web Services (AWS)

28

Earn $100 AWS Credit!

First 100 attendees to register

bit.ly/docker-aws-credits

© 2015 SoftNAS Inc.

Page 29: Docker Persistent Storage on Amazon Web Services (AWS)

Next Steps

• Learn moresoftnas.com/docker

• Try itsoftnas.com/tryaws

• Contact sales [email protected]

Try It!

© 2015 SoftNAS Inc.

Page 30: Docker Persistent Storage on Amazon Web Services (AWS)

Questions?

Page 31: Docker Persistent Storage on Amazon Web Services (AWS)

Thank you