docker persistent storage on amazon web services (aws)
TRANSCRIPT
How to Build Docker Persistent Storage on Amazon Web Services
Greg PellegrinoVP ProductsSoftNAS
2
Introducing
Greg PellegrinoVP Products
SoftNAS
© 2015 SoftNAS Inc.
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.
4
Get My $100 AWS Credit!
First 100 attendees to register
(URL announced later)
© 2015 SoftNAS Inc.
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
Docker in 3 Minutes
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.
8
What are Containers?CONTAINER CONTAINER
HOST OS
SERVER
APP
LIBS
APP
LIBS
© 2015 SoftNAS Inc.
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.
© 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
SoftNAS Architecture
© 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
Persistent Storage for Docker
© 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
15
Application Delivery with Persistent Shared Storage
© 2015 SoftNAS Inc.
SoftNAS Cloud NAS
EBS/S3
Host OSHost OSHost OS
Linux Server
16
AWS ECS with SoftNAS
© 2015 SoftNAS Inc.
SoftNAS Cloud NAS
© 2015 SoftNAS Inc. 17
Architecture – ECS + SoftNAS Cloud
DemoSet-up a Cloud NAS on AWS for Docker Persistent storage
Amazon EC2 Container Service (ECS)
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.
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
SoftNAS Overview
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.
25
Technology Partners
© 2015 SoftNAS Inc.
Brands You Know Trust SoftNAS
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.
28
Earn $100 AWS Credit!
First 100 attendees to register
bit.ly/docker-aws-credits
© 2015 SoftNAS Inc.
Next Steps
• Learn moresoftnas.com/docker
• Try itsoftnas.com/tryaws
• Contact sales [email protected]
Try It!
© 2015 SoftNAS Inc.
Questions?
Thank you