programming with the oss cloud stack
play

Programming with the OSS Cloud Stack Mike Amundsen Principal API - PowerPoint PPT Presentation

Programming with the OSS Cloud Stack Mike Amundsen Principal API Architect Layer 7 Technologies @mamund 1 1 Preliminaries Mike Amundsen Web Architect, Author, Presenter Software Explorer Principal API Architect,


  1. Programming with the OSS ‘Cloud Stack’  Mike Amundsen Principal API Architect Layer 7 Technologies  @mamund 1 1

  2. Preliminaries  Mike Amundsen  Web Architect, Author, Presenter  Software Explorer  Principal API Architect, Layer 7 Technologies 2 2

  3. Last Project  Building Hypermedia APIs w/ HTML5 & Node (November 2011)  Methodology for writing/maintaining business-level APIs in the cloud.  Real solutions for real use-cases.  Three Servers, Six Clients, 200+ pages. 3 3

  4. Next Project  Programming the Web w/ HTML5 & Node (November 2012?)  User’s Manual for Cloud-based developers.  I put myself on a six month diet of Chromebook-only development  Design, code, source control, collaborate, test, & deploy  All from the Chromebook, all to the cloud. 4 4

  5. Goals today – “the ‘future’ of programming”  Define some terms - Open source, cloud stack, etc.  Explore “cloud programming” - Standards, lifecycle, etc.  View sample products available today - Coding, testing, data, deployment, etc. 5 5

  6. Tooling… 6 6

  7. For the cloud! 7 7

  8. Where is this coming from? 8 8

  9. Start-up experience Reducing operational costs/barriers 9 9

  10. Small biz experience Maintaining agility/flexibility 10 10

  11. “Mobile - ism” Availability anywhere/anytime 11 11

  12. “Hipster - ism” Keeping up w/ the cool kids 12 12

  13. Where is this coming from?  Start-up experience - Reducing operational costs/barriers  Small Biz experience - Maintaining agility/flexibility  Mobil-ism - Availability anywhere/anytime  “Hipster - ism” - Keeping up w/ cool new toys 13 13

  14. Let’s look into “the future” 14 14

  15. First some definitions… 15 15

  16. Open Source  “ Open source is a philosophy or pragmatic methodology that promotes free redistribution and access to an end product's design and implementation details .” - Wikipedia 16 16

  17. Cloud  “ Cloud computing is a metaphor used by Technology or IT Services companies for the delivery of computing requirements as a service to a heterogeneous community of end- recipients.” – Wikipedia 17 17

  18. Stack  “ In computing, a solution stack is a set of software subsystems or components needed to deliver a fully functional solution , e.g. a product or service.” – Wikipedia 18 18

  19. Open Source Cloud Stack  Free distribution and access to … computing requirements as a service … to deliver a fully functional solution. 19 19

  20. And the functional solution is… 20 20

  21. Programming  “ Computer programming is the process of designing, writing, testing, debugging, and maintaining the source code of computer programs .” – Wikipedia 21 21

  22. Let’s also throw in… 22 22

  23. Data  “ Data as a service is based on the concept that the data can be provided on demand to the user regardless of geographic or organizational separation of provider and consumer.” - Wikipedia 23 23

  24. Version Control  “A distributed version control system (DVCS) keeps track of software revisions and allows many developers to work on a given project without necessarily being connected to a common network .” – Wikipedia 24 24

  25. Deployment  “ Software deployment is all of the activities that make a software system available for use.” – Wikipedia 25 25

  26. So So, in a nut n a nutshe shell ll we want nt … 26 26

  27. The following open source services  Data  Programming  Version Control  Debugging/Testing  Deployment 27 27

  28. But from a browser; 28 28

  29. But from a browser; cuz it’s 2012, dude! 29 29

  30. Let’s write some code… 30 30

  31. Let’s write some code… 31 31

  32. Programming w/ Cloud9IDE 32 32

  33. Create a Project 33 33

  34. Open for Editing 34 34

  35. Code a simple Web server 35 35

  36. Fire up a VM for debugging 36 36

  37. Run instance in your browser 37 37

  38. Set breakpoints, inspect vals, etc. 38 38

  39. Let’s manage some data… 39 39

  40. Data w/ CouchDB 40 40

  41. Create a Database 41 41

  42. User Documents 42 42

  43. Message Documents 43 43

  44. Searches and Queries 44 44

  45. Code DB calls from C9 Editor 45 45

  46. Test results in your VM 46 46

  47. Let’s control some versions… 47 47

  48. Version Control w/ Github 48 48

  49. Use git client from C9 editor 49 49

  50. Add source files and commit 50 50

  51. Push to github to share 51 51

  52. Call your friends; lets’ code! 52 52

  53. Let’s do some testing… 53 53

  54. Testing w/ SauceLabs/Selenium 54 54

  55. Let’s deploy some servers… 55 55

  56. Deployment w/ Heroku 56 56

  57. Select Deploy from C9 editor 57 57

  58. Select target servers 58 58

  59. Add a new deployment project 59 59

  60. Validate deployment 60 60

  61. Soak in the devops goodness. 61 61

  62. So, in a nutshell, we got… 62 62

  63. The following open source services  Programming Cloud9IDE – http://c9.io  Data CoudchDB – http://cloudant.com  Version Control git – http://github.com  Debugging/Testing selenium – http://saucelabs.com  Deployment heroku.com 63 63

  64. All from a browser; 64 64

  65. All from a browser; cuz it’s the future, dude! 65 65

  66. Bottom Line…  Programming the Cloud while ON the Cloud is here already.  There are lots of cloud services available; most free to start.  Many offerings are OSS – you can install and run your own!  It took me a while to adjust, but soon I preferred it.  But there’s one big caveat…. 66 66

  67. 67 67

  68. My advice is to jump right on in, the water is fine. 68 68

  69. Programming with the OSS ‘Cloud Stack’  Mike Amundsen Principal API Architect Layer 7 Technologies  @mamund 69 69

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend