jessewei

Laboratory to bluemix, a cloud solution exercise to etl scheduler

Archive for the category “PaaS”

Tensorflow@Windows

 

1. Preparation

Before start tutorial please check out Tensorflow install@Windows for environment preparation.

2. Git pull tutorial

There are tutorials on gitHub.

3. Mount tutorial to docker

docker -v /c/Users/jesse/Desktop/py/workspace/Tensorflow/tutorial:/notebooks/tutorial

Notice: /c/Users is the Docker default shared folder on Windows

 

 

 

Jupyter setup

Jupyter  is is a web-based interactive computational environment for creating IPython notebooks. Easy to shared tutorial or exercise information and snippet. It supported over 30 engine, include R, Java script, Java and  other Engine list.

My environment is Python 3.5.1:: Anaconda 4.0.0 (32-bit).

It is more convenient to install a Python distribution such as Anaconda; see here. Anaconda not only installs IPython and its requirements, but also a selection of frequently-used Python packages.

 

Jupyter shortcut

After install Anaconda, you need to setup Jupyter short cut as

C:\Anaconda3\python.exe C:\Anaconda3\cwp.py C:\Anaconda3 "C:/Anaconda3/python.exe" "C:/Anaconda3/Scripts/jupyter-notebook-script.py"

 

Create a Python 2 Engine

Or using conda, create a Python 2 environment:

conda create -n ipykernel_py2 python=2 ipykernel
activate ipykernel_py2    # On Windows, remove the word 'source'
python -m ipykernel install --user

You can find the engine “Python 2” is  added to your menu now:

Home - Google Chrome_2016-06-05_07-13-22

If you’re running Jupyter on Python 2 and want to set up a Python 3 kernel, follow the same steps, replacing step 2,3.

 

Tensorflow@Bluemix

 

Preparation

There are many configuration to enable Bulemix devops process. Here I show is the easiest way for lab.

  1. Install Docker@Windows
    Install Docker Toolbox
  2. Sign up for an IBM Bluemix account
  3. Install IBM Containers plugin
    Table 1. Two ways to install plugin @ Windows
    Operating system Command
    Windows 7 64-bit
    Linux 64-bit@VirtualBox

     

     

Read more…

Marketplace Platform as a Service

Ref: PaaS@wiki

The Marketplace Platform as a  Service, mkPaaS, is a model of PaaS. It is the model what my personal needs for daily operation. The mkPaaS not only allowing joint party develop, run, and manage applications, but also  allow them selling or buying service in this marketplace. Trading parties may exchanging software or service like appstore on mkPaaS, not only product, the platform also provides integrated and configurable multi-layer service.

I believe Docker  will change ecosystem of cloud . The software market would be restructure, allow software and service supply chain integrate to demand side. The boundary of  frontend and backend will become vaguer, because multiple layer microservices model come true. I believe the Coase viewpoint in new institutional economics , I think the market segment will changed when transactional cost rapid decline soon.

The mkPaaS would become the only form of PaaS, major form of software market, and the  final form of service market. Because the property owner of software or service could represent himself when transaction cost approach zero, the market have no boundary to those individual household. There are many opportunity left to parties who provide integration service on the marketplace platform, that’s  the 3rd party managed PaaS.

mkPaaS

The mkPaaS, will own by the one who trying to engage customer and supplier in minimum transaction cost. The price signal would clear to drive supply and demand make their decision.

The lifecycle of this arena should similar as product. At first cycle, some quick win service provider will become frontier. They should be the easy replicable role model because it is the critical marketing strategy of mkPaaS vendor. Only few winner in first cycle would  survive in next cycle when they found their strength is two sides of the same picture.

PowerPoint Slide Show - [je-docker-v1.jpg

The second cycle will come before first decline stage happen because who work hard at first cycle and lesson learnt. They will success due to  introduced new architectural pattern. The mkPaaS vendor who partner with those winner would be dominator in next decades because the allies will build an intelligent software demand/supply chain.

Bluemix Container Lab @ Windows

Preparation

There are many configuration to enable Bulemix devops process. Here I show is the easiest way for lab.

  1. Install Docker@Windows
    Install Docker Toolbox
  2. Sign up for an IBM Bluemix account
  3. Install IBM Containers plugin
    Table 1. Two ways to install plugin @ Windows
    Operating system Command
    Windows 7 64-bit
    Linux 64-bit@VirtualBox

     

  4. Sign up for IBM Containers in IBM Bluemix
    • From the Bluemix dashboard, click Start Containers
    • You will be prompted to Set registry namespace.
    • Enter in a registry name, cannot be changed afterwards. This registry name is used across your account when using the IBM Containers service.

Read more…

Post Navigation