© 2015 Rancher Labs, Inc.© 2015 Rancher Labs, Inc .
Running Docker and Rancher on AWS
December 17, 2015
#ranchermeetup
© 2015 Rancher Labs, Inc.2
Shannon WilliamsCo-Founder/VP Marketing @smw355
Darren ShepherdCo-Founder/Chief Architect @ibuildthecloudFreenode: darren0
#ranchermeetup
© 2015 Rancher Labs, Inc.3
Amiram ShacharCEO & FounderSpotinst @spotinst
#ranchermeetup
© 2015 Rancher Labs, Inc.4
First things first…
This is a not a !
#ranchermeetup
© 2015 Rancher Labs, Inc.5
There are rules for a meetup!• We won’t be done on time• Questions are always welcome• There are no bad questions• Demo, then demo some more• Things will break, be patient
#ranchermeetup
© 2015 Rancher Labs, Inc.6
Join the conversation on Twitter #ranchermeetup
© 2015 Rancher Labs, Inc.7
Agenda• The Basics: Rancher on AWS – Shannon• Demo: Darren – Deploying and upgrading Rancher Server on AWS• Demo: Building Environments with Autoscaling Groups• Demo: Deploying, Monitoring and Scaling Applications• Using Spotinst with Rancher to take advantage of spot pricing• Demo: Deploying an App with Spotinst.• Latest Rancher Updates – Darren • Getting Started with Rancher
#ranchermeetup
© 2015 Rancher Labs, Inc.8
Rancher Labs
© 2015 Rancher Labs, Inc.9
Open source software for building a Private Container Service
© 2015 Rancher Labs, Inc.10
Rancher OverviewRancher Catalog
AD/LDAP
Alerts/Events
Environment 1 Environment N…Network Services Storage Services
Container Orchestration and SchedulingUser Mgmt Ops Mgmt
© 2015 Rancher Labs, Inc.
Runing Docker on AWS with Rancher
© 2015 Rancher Labs, Inc.12
Deploying the Rancher Management server on AWS
rancher.itsgoingto.space
IP: 43.55.231.593:8080SSL CertificateSSL Termination
1. Deploy EC2 Instance2. Deploy RDS MySQL Instance3. Docker Run Rancher/Server, with
external DB listening on port 8080 of the host
4. Create ELB with SSL and link to Rancher container
5. Register ELB wth Route53 hosted Zone
© 2015 Rancher Labs, Inc.13
Adding Capacity to a Rancher Environment – Docker Machine
- Provide Credentials- Specify Availability Zone & VPC- Select Security Group- Select Instance Options- Select Number of Hosts- Deploy
© 2015 Rancher Labs, Inc.14
Adding Capacity to a Rancher Environment – Auto Scaling Groups
Define Policies and Triggers
Management Server
© 2015 Rancher Labs, Inc.15
© 2015 Rancher Labs, Inc.16
Today’s Application Stack
Rancher-LB
Lychee
Sessions
NFS
Images
Metadata
lychee.itsgoingto.spaceHostIPService RoutingSSL Termination
© 2015 Rancher Labs, Inc.17
Demo
#ranchermeetup
a virtual IaaS cloud
can run applications on Amazon’s and Google’s cloud for 1/10th of the regular price
It is a fact
Spotinst helps customers to get more compute in better ROI
Jul Aug Sep Oct NovRunning Hours of Spotinst Managed Cloud Servers
Spotinst traffic usageIncreased 100% MoM
500,000
Automatic Containers Relocation
Auto Scaling
Cost Reduction
Live demo.
Enough talking
© 2015 Rancher Labs, Inc.
Latest Rancher Enhancements
24
0.50• Docker Machine 0.5.2 support + Docker Engine Options
Support• OpenLDAP support• HA Proxy LB Service Custom Configuration Support• Wildcard Host Path LB Service Support• Multiple Rancher Catalog Support
0.47• New Rancher UI v2• Rancher Persistent Storage Services (GlusterFS)
© 2015 Rancher Labs, Inc.25 #ranchermeetup
http://info.rancher.com/beta
© 2015 Rancher Labs, Inc.26
Getting StartedRancher and RancherOS live in GitHub – Get Involved, Join the Beta
#ranchermeetup
http://github.com/rancher
© 2015 Rancher Labs, Inc.© 2015 Rancher Labs, Inc .
Thank yourancher.com