Running Docker on AWS with Rancher - December Meetup

6,560 views

Published on

AWS is one of the most popular platforms for running Docker workloads, and we’ve seen more and more users deploy Rancher in conjunction with multiple AWS services to deliver a resilient production grade service. In our December online meetup, we discussed best practices for running Docker applications in Amazon with Rancher. We’ll demosntrated at how to deploy, scale and manage deployments while using underlying AWS features, such as EBS, ELB, Route53, RDS, and more.

Over the meetup we demonstrated:
• Deploying Rancher using RDS, ELB and Route53
• Deploy capacity in AWS with Docker Machine
• Deploying persistent applications using NFS storage
• Using autoscaling groups with Rancher
• Leveraging ELB and Route53 for load balancing.
• Dynamically utilizing spot instances to reduce costs

We also had a demo from Spotinst, on how to automate management of Spot Instances.

Published in: Technology

Running Docker on AWS with Rancher - December Meetup

  1. 1. © 2015 Rancher Labs, Inc.© 2015 Rancher Labs, Inc . Running Docker and Rancher on AWS December 17, 2015 #ranchermeetup
  2. 2. © 2015 Rancher Labs, Inc. Shannon Williams Co-Founder/VP Marketing @smw355 1 Darren Shepherd Co-Founder/Chief Architect @ibuildthecloud Freenode: darren0 #ranchermeetup
  3. 3. © 2015 Rancher Labs, Inc. Amiram Shachar CEO & Founder Spotinst @spotinst 2 #ranchermeetup
  4. 4. © 2015 Rancher Labs, Inc. First things first… This is a not a ! 3 #ranchermeetup
  5. 5. © 2015 Rancher Labs, Inc.4 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
  6. 6. © 2015 Rancher Labs, Inc.5 Join the conversation on Twitter #ranchermeetup
  7. 7. © 2015 Rancher Labs, Inc. 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 6 #ranchermeetup
  8. 8. © 2015 Rancher Labs, Inc. Rancher Labs 7
  9. 9. © 2015 Rancher Labs, Inc. Open source software for building a Private Container Service 8
  10. 10. © 2015 Rancher Labs, Inc. Rancher Overview 9 Rancher Catalog AD/LDAP Alerts/Events Environment 1 Environment N … Network Services Storage Services Container Orchestration and Scheduling User Mgmt Ops Mgmt
  11. 11. © 2015 Rancher Labs, Inc. Runing Docker on AWS with Rancher
  12. 12. © 2015 Rancher Labs, Inc. Deploying the Rancher Management server on AWS 11 rancher.itsgoingto.space IP: 43.55.231.593:8080 SSL Certificate SSL Termination 1. Deploy EC2 Instance 2. Deploy RDS MySQL Instance 3. 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
  13. 13. © 2015 Rancher Labs, Inc. Adding Capacity to a Rancher Environment – Docker Machine 12 - Provide Credentials - Specify Availability Zone & VPC - Select Security Group - Select Instance Options - Select Number of Hosts - Deploy
  14. 14. © 2015 Rancher Labs, Inc. Adding Capacity to a Rancher Environment – Auto Scaling Groups 13 Define Policies and Triggers Management Server
  15. 15. © 2015 Rancher Labs, Inc.14
  16. 16. © 2015 Rancher Labs, Inc. Today’s Application Stack 15 Rancher-LB Lychee Sessions NFS Images Metadata lychee.itsgoingto.spaceHostIP Service Routing SSL Termination
  17. 17. © 2015 Rancher Labs, Inc.16 Demo #ranchermeetup
  18. 18. a virtual IaaS cloud
  19. 19. can run applications on Amazon’s and Google’s cloud for 1/10th of the regular price It is a fact
  20. 20. Capacity purchased Spotinst helps customers to get more compute in better ROI
  21. 21. Running Hours of Spotinst Managed Cloud Servers Spotinst traffic usage Increased 100% MoM 500,000
  22. 22. Automatic Containers Relocation Auto Scaling Cost Reduction
  23. 23. Live demo. Enough talking
  24. 24. © 2015 Rancher Labs, Inc. Latest Rancher Enhancements 23 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)
  25. 25. © 2015 Rancher Labs, Inc.24 #ranchermeetup http://info.rancher.com/beta
  26. 26. © 2015 Rancher Labs, Inc. Getting Started Rancher and RancherOS live in GitHub – Get Involved, Join the Beta 25 #ranchermeetup http://github.com/rancher
  27. 27. © 2015 Rancher Labs, Inc.© 2015 Rancher Labs, Inc . Thank you rancher.com

×