Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

How Docker Quickly Advanced Development of an IoT Application

3,951 views

Published on

Talk given by Flux7 CEO at DevOps Summit, 2014 on how Docker helped application development by providing quick and easy multi-tenancy

Published in: Technology

How Docker Quickly Advanced Development of an IoT Application

  1. 1. How Docker Quickly Advanced Development of an IoT Application Presented by Aater Suleman November 5, 2014
  2. 2. Today’s Presenter Aater Suleman Co-founder & CEO Flux7 Faculty, University of Texas at Austin Flux7: Cloud and DevOps Solutions Cloud and Devops for Web Teams Enterprise DevOps Management AWS Certified Team Partners Clients
  3. 3. Australia’s 5th Largest Solar Panel Installer Application: Solar Panel Monitoring
  4. 4. Business Problems Low customer engagement → limited upsell opportunities Unhappy customers stuck with large electricity bills Low collection rates on leased units
  5. 5. Measure power output at solar panels Store data Create reports Mail Status Indicator Monitoring Customer 1 Customer 2 Customer n Controlling
  6. 6. Measure power output at solar panels Customer 1 Customer 2 Customer n Mail Status Indicator Monitoring Store data Create reports Controlling
  7. 7. Mail Status indicator Monitoring Store data Create reports Measure power output at solar panels Customer 1 Customer 2 Customer n Controlling
  8. 8. What Did Flux7 Do? Multi-tenancy Developer Workflows
  9. 9. Multi-tenancy Scenario ...
  10. 10. Dev Solution Add Tenant ID in Code and Database
  11. 11. Code Changes Downsides Tedious Error Prone
  12. 12. Ops Solution New set of servers per tenant
  13. 13. Downsides High High Cost Low Utilization Maintenance
  14. 14. Why Not Leaner Servers? Page load time > 5 seconds
  15. 15. DevOps Solution New Docker containers for every tenant
  16. 16. Inexpensive: Up to 30 tenants per large AWS instance Page loads under 1 second Benefits Fast: Implemented in less than 2 weeks with NO code changes
  17. 17. DevOps Take Aways Dev or Ops alone
  18. 18. What Did Flux7 Do? Multi-tenancy Developer Workflows
  19. 19. Improved Developer Workflows Developer Local Test QA Production DockerFile DockerFile
  20. 20. One Docker container for each application tier Run a VM with folder sync and port forwarding Installs Docker Downloads containers (if not available)
  21. 21. Shared folder for code and logs Web App DB Mem$ LogStash HTTP SSH Virtualbox VM App Code and Logs Laptop run scripts on the laptop for interacting with the environment Docker Containers
  22. 22. Who Sees the benefit? Backend Developers ● Homogenous environment ● Quick feedback ● Agile; break it fearlessly Front-end HTML Devs ● Quick visual feedback with populated data ● Avoid installations Ops Only one standardized dev environment to support Management ● Less conflict ● Faster time to market ● Happier engineers ● Easier hiring
  23. 23. Why We Used Docker? Minimal Performance Overhead Fast Boot and Shutdown Smaller Files Sizes and Ability to Diff Containers Container will run in the Cloud
  24. 24. Vision Docker can speed up the Cloud side of IoT Docker can also speed up the development and code delivery to the “Things” ✓ ARM’s & Intel’s devices run Docker ✓ Code can be delivered to devices as container layers ✓ Code can be tested via emulators encompassing the containers
  25. 25. Thank You! Twitter: @Flux7Labs Blog: blog.flux7.com

×