WIKING Minic

DTU Big Data Hackathon
Introduction to IBM DevOps Services
and Bluemix
Mattias Mohlin
Senior Software Architect
JazzHub Growth Hacking
Urs Schuppli
Business Development
Executive – Academic
Initiative
© 2014 IBM Corporation
Vision
De studerende skal udvikle en ”Smart City løsning”, der kan gøre Lyngby Taarbæk
Kommune grønnere og til et bedre sted at leve i for forvaltning, borgere og erhvervsliv.
Eksempler på temaer
Bedre dialog
med borgere og
erhvervsliv
Bedre miljø og
energiforbrug
Bedre
affaldshåndterin
g
Bedre
planlægning i
forvaltning
???
Forslag til data - Databuffet
Kommunen
Kommunens bygninger
Solcellers placering
Tømning af affald
DTU
Offentlige data
Tracking/sociale medier
DTU Computes erhvervssamspil
Miljøportalen
Erhvervsstatistik
Vejrdata – DMI
Stamdata for vindmøller
Ønsket resultat
De studerende skal med udgangspunkt i Big data og et konkret behov udvikle prototyper i form af fx apps (eller elementer af heraf),
koncepter eller Internetservices.
Dato
18.11
Indhold og aktiviteter
8.00-9.00 Indregistrering og kaffe
9.00-10.00 Velkomst og introduktion (Auditoriet)
10.00 Hackathon sættes i gang (bordopstilling i stueetagen og loungeområde)
19.11
18.00 Hackathonforløb slutter
18.30-ca.22.00 Bedømmelse og afsløring af vindere
19.00 Grupperne pitcher (Auditoriet) deres projekter for dommerpanelet. Maks 4-6 minutter pr.
præsentation inklusiv spørgsmål fra dommere.
20.30 Bedømmelse og afgørelse (Skylab 1).
21.30 Afsløring af vindere (Auditoriet): Dommerpanelet offentliggør over for de deltagende i hackathonen,
hvilke fire grupper er prisvindere. De konkrete fire priser (1-3 & særpris) afsløres først den 20. november på
Big Data konferencen i DI.
20.11
21.45 Forfriskning og music
10.00-10.20 Hackathon prisuddeling
Uddeling af priser for bedste Hackathon-løsninger v/ borgmester Sofia Osmani, Lyngby-Taarbæk kommune og
koncerndirektør Niels Axel Nielsen, DTU.
Development on the Cloud, for the Cloud, by the Crowd
Bluemix
•
•
•
A platform-as-a-service environment for
deploying web and mobile apps
Compose applications using a wide range
of runtimes and services
Available for everyone, and free up to
certain usage levels
© 2014 IBM Corporation
4
Development on the Cloud, for the Cloud, by the Crowd
Speed and simplicity are the drivers...
Customer Managed
Core
IT
Code
Data
Runtime
Middleware
OS
Virtualization
Benefits
Fully customizable.
Few limitations.
Necessary for some solutions.
Existing Investments.
Time Commitment
Weeks to setup and deploy.
Maintenance/upgrades of
hardware and software.
Servers
Storage
Networking
Time to initial deployment
~ Weeks
~ Days
~ Minutes
© 2014 IBM Corporation
Development on the Cloud, for the Cloud, by the Crowd
Speed and simplicity are the drivers...
Infrastructure
as a Service
Customer Managed
Service Provider Managed
Code
Data
Runtime
Middleware
OS
Virtualization
Benefits
Most control in the cloud.
Necessary for some solutions.
Infrastructure managed by SP.
Time Commitment
Minutes to provision VM.
Time to configure software
and apps varies.
Maintenance/upgrades of OS,
middleware, runtime.
Servers
Storage
Networking
Time to initial deployment
IBM SoftLayer
Core IT
~ Weeks
~ Days
~ Minutes
© 2014 IBM Corporation
Development on the Cloud, for the Cloud, by the Crowd
Speed and simplicity are the drivers...
Platform
as a Service
Customer Managed
Service Provider Managed
Code
Data
Runtime
Middleware
OS
Virtualization
Benefits
Setup environments and
deploy apps very quickly.
Infrastructure and platform
managed by SP.
Time Commitment
Minutes to setup and deploy.
Focus on your apps and their
data.
Servers
Storage
Networking
Time to initial deployment
Core IT
IaaS
~ Weeks
~ Days
IBM Bluemix
~ Minutes
© 2014 IBM Corporation
Development on the Cloud, for the Cloud, by the Crowd
How does Bluemix work?
•
•
•
•
Bluemix is built on Cloud Foundry (an
open source cloud platform)
Each app gets an image (virtual machine)
where it can run
The image is hosted at one of SoftLayers
data centers (Dallas, London etc.)
During deployment all software necessary
for running the app (”build pack”) gets
installed
Design your app to be independent on
underlying technology. For example,
prefer to use cloud services for storage
instead of the file system.
© 2014 IBM Corporation
Development on the Cloud, for the Cloud, by the Crowd
DevOps Services (a.k.a. JazzHub)
•
•
9
Cloud-based software development tools
• SCM (Git or Jazz)
• Web-based editors
(Eclipse Orion)
• Work tracking and planning
• Build and deploy
Special focus on developing apps for
Bluemix
© 2014 IBM Corporation
Development on the Cloud, for the Cloud, by the Crowd
It’s all about collaboration!
 Share your work with others
– reuse code and share solutions
– manage versions
– make others aware of what you are doing
 Access your files from everywhere
– Develop using Eclipse (or another IDE), or use web-based development tools
 Track and plan the development
– Replace personal TODO-lists with work items
– Everyone becomes aware of the plan (what is done, and what comes next)
 Automatic deployment to Bluemix
– As soon as changes are delivered a new deployed version of the application is available
– Your collegues and customers can immediately access the deployed application
10
© 2014 IBM Corporation
Development on the Cloud, for the Cloud, by the Crowd
Public vs Private Projects
 Public project
– Accessible to everyone
11
 Private project
– Only accessible to invited
project members
© 2014 IBM Corporation
Development on the Cloud, for the Cloud, by the Crowd
Member Management
 A project has a single owner (by default the creator)
– Possible to transfer ownership
 The project owner can invite others to become members of the project
– Invite by means of email-address
– Note: You must use the email-address registered with IBM DevOps Services
12
© 2014 IBM Corporation
Development on the Cloud, for the Cloud, by the Crowd
Choose Your SCM Toolset
 Jazz SCM
 Git
What to choose mostly depends on your
previous experience, which IDE you plan
to use etc.
13
© 2014 IBM Corporation
Development on the Cloud, for the Cloud, by the Crowd
Choose Your IDE
 Web IDE
– Provides code editors, SCM tools, deployment tools etc. in the web browser
– No need to install anything locally
– For people who want to get started quickly, have no preference for another IDE, do not
need all advanced IDE features or work away from their regular computer
 Eclipse or Visual Studio
– For people familiar with these IDEs
– Integrates with IBM DevOps Services by means of plugins (EGit or RTC)
 Command-line
– For people who use another IDE
Any member in your team can make their own choice!
14
© 2014 IBM Corporation
Development on the Cloud, for the Cloud, by the Crowd
Track & Plan
 New Track & Plan UI recently released in beta
– Easy to quickly create a new work item
– Predefined queries for quickly finding work items of interest (open, subscribed, recently
worked on etc.)
15
© 2014 IBM Corporation
Development on the Cloud, for the Cloud, by the Crowd
Connecting Work Items to Code Changes
 Supported both when using Git and Jazz SCM
– For Jazz SCM use RTC’s
ability to link a change set
to a work item, or use special
button in the web IDE:
– For Git write a commit comment that includes the work item type followed by the work
item number.
For example:
16
© 2014 IBM Corporation
Development on the Cloud, for the Cloud, by the Crowd
Linking a DevOps Project to Wiki, Blog etc.
 Link to arbitrary additional contents using hyperlinks
– By placing a hyperlink in the README.md file it shows up on the project overview page
in DevOps Services. For example:
– Use DevOps Services for code and other files that make up an application
– Other files (presentations, documentation etc.) may be placed elsewhere and linked to
17
© 2014 IBM Corporation
Development on the Cloud, for the Cloud, by the Crowd
Deployment to Bluemix
 Simple deployment
– Files are copied from your DevOps project to BlueMix (but not built)
– Works well for applications developed using script languages (Node.JS, Python, PHP
etc.)
18
© 2014 IBM Corporation
Development on the Cloud, for the Cloud, by the Crowd
Deployment to Bluemix
 Advanced deployment
– Support for building code before
deployment, to run unit tests and more
– Should be used when some kind of
processing of files is necessary before
deployment, typically compilation
(Java etc)
19
© 2014 IBM Corporation
Development on the Cloud, for the Cloud, by the Crowd
Managing a Bluemix App
 manifest.yml
– This file contains the settings necessary for deploying a Bluemix app (runtime, memory,
host name, number of instances etc.)
 Further administration can be done from the Bluemix web UI
– For example to add new services to an app
20
© 2014 IBM Corporation
Development on the Cloud, for the Cloud, by the Crowd
Learn More
 Bluemix: http://bluemix.net
(documentation in the DOCS menu)
 DevOps Services: http://hub.jazz.net
(documentation in the HELP menu)
21
© 2014 IBM Corporation
Development on the Cloud, for the Cloud, by the Crowd
Demo
 Create a new DevOps Services Project
 Invite another person to join the project
 Edit and commit code using the web editors
 Edit and commit code using Eclipse
 Automatic deployment
22
© 2014 IBM Corporation