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.
A local private Pass in minutes
with the Red Hat CDK
Eric D. Schabell
Red Hat Technology Evangelist
@ericschabell
Sep 2016
INSERT DESIGNATOR, IF NEEDED
Agenda
2
● Containers - the problem & solution
● Introducing the Red Hat Container Developmen...
INSERT DESIGNATOR, IF NEEDED3
The Problem
Applications require complicated
collaboration during installation
and integrati...
INSERT DESIGNATOR, IF NEEDED4
The solution
Containerize
Adopting a container strategy will
allow applications to be easily...
INSERT DESIGNATOR, IF NEEDED
Developing Containers Can be Difficult
5
Developing containerized applications presents a num...
Red Hat Container Development Kit
INSERT DESIGNATOR, IF NEEDED
CDK Runs in a Virtual Machine
7
The Red Hat Container Development Kit executes as a virtual m...
INSERT DESIGNATOR, IF NEEDED
CDK Primary Components
8
Docker
○ Popular containerization technology
○ Built on core Linux c...
INSERT DESIGNATOR, IF NEEDED
CDK Multi Platform Support
9
Runtime Support on the Most Popular Platforms
RED HAT CONTAINER ...
INSERT DESIGNATOR, IF NEEDED
CDK Hypervisor Support
1
0
Multiple virtualization providers available
RED HAT CONTAINER DEVE...
INSERT DESIGNATOR, IF NEEDED
Eclipse/JBoss Developer Studio
1
1
● Manage CDK lifecycle
● Manage OpenShift projects
● Creat...
INSERT DESIGNATOR, IF NEEDED
CDK Component Stack
1
2
RED HAT CONTAINER DEVELOPMENT KIT
INSERT DESIGNATOR, IF NEEDED
Ease of Use
1
3
The Red Hat Container Development Kit makes it easy to become
familiar with t...
INSERT DESIGNATOR, IF NEEDED
Multiple roles can benefit
1
4
Developers
Operations
Managers
● Explore platform configuratio...
Getting started with the Red Hat CDK
INSERT DESIGNATOR, IF NEEDED
CDK Distribution
1
6
Container Development kit is distributed as a Vagrant box and
supporting...
INSERT DESIGNATOR, IF NEEDED
CDK Features a Simplified Lifecycle
1
7
Delivery using Vagrant allows users to manage
the CDK...
INSERT DESIGNATOR, IF NEEDED
Red Hat Developer Suite
1
8
Bundled solution with a single installer containing the necessary...
INSERT DESIGNATOR, IF NEEDED
Included Features
1
9
The Red Hat Container Development contains example solutions to
enable ...
INSERT DESIGNATOR, IF NEEDED
Red Hat Demo Central
2
0
GitHub organization containing samples and examples targeting
OpenSh...
INSERT DESIGNATOR, IF NEEDED
Get Started Today!
2
1
Download Start
https://github.com/redhatdemocentral/cdk-install-demo
h...
Red Hat CDK
Demo
INSERT DESIGNATOR, IF NEEDED
Atomic Developer Bundle
2
3
Atomic Developer Bundle is the upstream project for the Red Hat
C...
THANK YOU
plus.google.com/+RedHat
linkedin.com/company/red-hat
youtube.com/user/RedHatVideos
facebook.com/redhatinc
twitte...
INSERT DESIGNATOR, IF NEEDED
END CONTENT
2
5
Container Development Kit Workshop
INSERT DESIGNATOR, IF NEEDED
Workshop Goals
2
7
Steps to work your way to CDK hero
● Familiarity with the Container Develo...
INSERT DESIGNATOR, IF NEEDED
Install and Configure the CDK
2
8
Install, configure and start the CDK
● Obtain the component...
INSERT DESIGNATOR, IF NEEDED
Smoke Test the Environment
2
9
Validate connectivity and functionality of the CDK
● Launch th...
INSERT DESIGNATOR, IF NEEDED
Explore the OpenShift Web Console
3
0
Explore the OpenShift web console to
● Launch a web bro...
INSERT DESIGNATOR, IF NEEDED
Create a New Application
3
1
Create a new application to demonstrate build and deployments
● ...
INSERT DESIGNATOR, IF NEEDED
Explore the OpenShift API
3
2
Interact with the Swagger exposed OpenShift API
● Locate your O...
INSERT DESIGNATOR, IF NEEDED
Red Hat JBoss Developer Studio
Integration
3
3
Use Red Hat JBoss Developer Studio to connect ...
INSERT DESIGNATOR, IF NEEDED
Next Steps
3
4
<Insert some next steps for which users can investigate on their own
time>
● <...
Upcoming SlideShare
Loading in …5
×

A local private PaaS in minutes with the Red Hat CDK

1,296 views

Published on

I demonstrate how a full blown private PaaS based on OpenShift Container Platform is at your fingertips with the Red Hat Container Development Kit (CDK). As developers it is the ultimate tool for running local Cloud-based example projects in a fully automated, low touch, easy to install OpenShift Container Platform. I show you how you can create a great environment to prototype your solutions and a playground for your customer engagements – and reveal just how easy the Cloud can really be!

This was presented at the London and Scotland JBug's: During the evening, I conducted a cloud demo which attendees were welcome to participate in. If attendees wanted to join in the demo, they participated with their own laptops; software was distributed at the event.

Published in: Technology
  • Be the first to comment

A local private PaaS in minutes with the Red Hat CDK

  1. 1. A local private Pass in minutes with the Red Hat CDK Eric D. Schabell Red Hat Technology Evangelist @ericschabell Sep 2016
  2. 2. INSERT DESIGNATOR, IF NEEDED Agenda 2 ● Containers - the problem & solution ● Introducing the Red Hat Container Development Kit (CDK) ● CDK components and features ● Getting started with the CDK ● Demo RED HAT CONTAINER DEVELOPMENT KIT
  3. 3. INSERT DESIGNATOR, IF NEEDED3 The Problem Applications require complicated collaboration during installation and integration every time they are deployed. Image: Manually Loading Ships 1921 RED HAT CONTAINER DEVELOPMENT KIT
  4. 4. INSERT DESIGNATOR, IF NEEDED4 The solution Containerize Adopting a container strategy will allow applications to be easily shared and deployed. RED HAT CONTAINER DEVELOPMENT KIT
  5. 5. INSERT DESIGNATOR, IF NEEDED Developing Containers Can be Difficult 5 Developing containerized applications presents a number of challenges when running in a local development environment ● Building and packaging applications ● Running applications locally ● Simulating production environments ● Interaction with other services RED HAT CONTAINER DEVELOPMENT KIT
  6. 6. Red Hat Container Development Kit
  7. 7. INSERT DESIGNATOR, IF NEEDED CDK Runs in a Virtual Machine 7 The Red Hat Container Development Kit executes as a virtual machine provisioned using Vagrant RED HAT CONTAINER DEVELOPMENT KIT
  8. 8. INSERT DESIGNATOR, IF NEEDED CDK Primary Components 8 Docker ○ Popular containerization technology ○ Built on core Linux concepts ■ cgroups and namespace isolation ○ Easily build, deploy and share images Kubernetes ○ Container orchestration framework ○ Manage the container lifecycle ○ Scale up/down ○ Service discovery OpenShift ○ Built on top of docker and kubernetes ○ Development and deployment platform ○ Self service capabilities ○ Built in CI/CD functionality RED HAT CONTAINER DEVELOPMENT KIT
  9. 9. INSERT DESIGNATOR, IF NEEDED CDK Multi Platform Support 9 Runtime Support on the Most Popular Platforms RED HAT CONTAINER DEVELOPMENT KIT
  10. 10. INSERT DESIGNATOR, IF NEEDED CDK Hypervisor Support 1 0 Multiple virtualization providers available RED HAT CONTAINER DEVELOPMENT KIT
  11. 11. INSERT DESIGNATOR, IF NEEDED Eclipse/JBoss Developer Studio 1 1 ● Manage CDK lifecycle ● Manage OpenShift projects ● Create new applications ● Incrementally update applications ● Deploy projects from the workspace ● Remotely debug applications RED HAT CONTAINER DEVELOPMENT KIT
  12. 12. INSERT DESIGNATOR, IF NEEDED CDK Component Stack 1 2 RED HAT CONTAINER DEVELOPMENT KIT
  13. 13. INSERT DESIGNATOR, IF NEEDED Ease of Use 1 3 The Red Hat Container Development Kit makes it easy to become familiar with the tools to develop and run enterprise containerized applications Simplified Setup Effective Examples Build and Deployment Tools RED HAT CONTAINER DEVELOPMENT KIT
  14. 14. INSERT DESIGNATOR, IF NEEDED Multiple roles can benefit 1 4 Developers Operations Managers ● Explore platform configurations ● Develop integrations with the platform ● Build management and monitoring solutions ● Build new solutions (applications, images, integrations) ● Debug applications ● Utilize existing tools and workflows ● First hand platform experience ● Develop patterns for consumption by developers, operations and customers RED HAT CONTAINER DEVELOPMENT KIT
  15. 15. Getting started with the Red Hat CDK
  16. 16. INSERT DESIGNATOR, IF NEEDED CDK Distribution 1 6 Container Development kit is distributed as a Vagrant box and supporting tooling Vagrant Box Support Tooling RED HAT CONTAINER DEVELOPMENT KIT
  17. 17. INSERT DESIGNATOR, IF NEEDED CDK Features a Simplified Lifecycle 1 7 Delivery using Vagrant allows users to manage the CDK lifecycle with a few simple commands ● Creates a guest machine ● Log in to a running system ● Stop the running system ● Reset the system to its initial state vagrant up vagrant ssh vagrant halt vagrant destroy RED HAT CONTAINER DEVELOPMENT KIT
  18. 18. INSERT DESIGNATOR, IF NEEDED Red Hat Developer Suite 1 8 Bundled solution with a single installer containing the necessary software for building and running containers using the Red Hat Container Development Kit Vagrant VirtualBox Cygwin OpenJDK Red Hat JBoss Dev Studio Red Hat Developer Suite RED HAT CONTAINER DEVELOPMENT KIT
  19. 19. INSERT DESIGNATOR, IF NEEDED Included Features 1 9 The Red Hat Container Development contains example solutions to enable you to become a CDK hero in no time Preconfigured persistent storage Sample applicationsBase images RED HAT CONTAINER DEVELOPMENT KIT
  20. 20. INSERT DESIGNATOR, IF NEEDED Red Hat Demo Central 2 0 GitHub organization containing samples and examples targeting OpenShift and the Container Development Kit https://github.com/redhatdemocentral/ Automate the installation and configuration of the CDK Middleware demos and examples running in the cloud RED HAT CONTAINER DEVELOPMENT KIT
  21. 21. INSERT DESIGNATOR, IF NEEDED Get Started Today! 2 1 Download Start https://github.com/redhatdemocentral/cdk-install-demo http://developers.redhat.com/products/cdk/overview/ Innovate RED HAT CONTAINER DEVELOPMENT KIT
  22. 22. Red Hat CDK Demo
  23. 23. INSERT DESIGNATOR, IF NEEDED Atomic Developer Bundle 2 3 Atomic Developer Bundle is the upstream project for the Red Hat Container Development Kit https://github.com/projectatomic/adb-atomic-developer-bundle RED HAT CONTAINER DEVELOPMENT KIT
  24. 24. THANK YOU plus.google.com/+RedHat linkedin.com/company/red-hat youtube.com/user/RedHatVideos facebook.com/redhatinc twitter.com/RedHatNews
  25. 25. INSERT DESIGNATOR, IF NEEDED END CONTENT 2 5
  26. 26. Container Development Kit Workshop
  27. 27. INSERT DESIGNATOR, IF NEEDED Workshop Goals 2 7 Steps to work your way to CDK hero ● Familiarity with the Container Development Kit Ecosystem ● Installation and configuration of local workstation ● Running the Container Development Kit ● Connecting to OpenShift ● Deploying an application to OpenShift ● Eclipse/Red Hat JBoss Developer Studio integration
  28. 28. INSERT DESIGNATOR, IF NEEDED Install and Configure the CDK 2 8 Install, configure and start the CDK ● Obtain the components ○ Vagrant box ○ CDK Tooling Components ● Start the CDK vagrant up
  29. 29. INSERT DESIGNATOR, IF NEEDED Smoke Test the Environment 2 9 Validate connectivity and functionality of the CDK ● Launch the OpenShift web console ○ https://10.1.2.2:8443 ● Connect using the OpenShift command line tools ○ Local developer machine ○ SSH connection to CDK oc login --username=openshift-dev --password=devel --insecure- skip-tls-verify=true https://10.1.2.2:8443 # Login to CDK by executing in location of Vagrantfile Vagrant ssh # Login to OpenShift oc login --username=openshift-dev --password=devel --insecure- skip-tls-verify=true https://10.1.2.2:8443
  30. 30. INSERT DESIGNATOR, IF NEEDED Explore the OpenShift Web Console 3 0 Explore the OpenShift web console to ● Launch a web browser and navigate to OpenShift ○ https://10.1.2.2:8443 ● Accept the self signed certificate in the browser ● Login using the openshift-dev user ○ openshift-dev/devel
  31. 31. INSERT DESIGNATOR, IF NEEDED Create a New Application 3 1 Create a new application to demonstrate build and deployments ● Create a new project called first-cdk-app ● Click Add to Project in first-cdk-app project ● Search for cakephp-example ● Review template parameters and click Create ● Monitor build on Builds page ● Once complete, browse to Overview page and wait for application to become available ● Launch application in browser
  32. 32. INSERT DESIGNATOR, IF NEEDED Explore the OpenShift API 3 2 Interact with the Swagger exposed OpenShift API ● Locate your OpenShift API token to authenticate with OpenShift ● Launch swagger client ○ <Insert Bitly URL> ● Enter platform details ○ Host: https://10.1.2.2:8443 ○ API Version: v1 ○ Token: <Token>
  33. 33. INSERT DESIGNATOR, IF NEEDED Red Hat JBoss Developer Studio Integration 3 3 Use Red Hat JBoss Developer Studio to connect to OpenShift running in the Container Development Kit ● <TODO>
  34. 34. INSERT DESIGNATOR, IF NEEDED Next Steps 3 4 <Insert some next steps for which users can investigate on their own time> ● <TODO>

×