jessewei

Laboratory to bluemix, a cloud solution exercise to etl scheduler

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.

1st Lab: Deploy to Bluemix

  1. Verify your environment
    cf ic login
  2. Deploy container on Bluemix
  3. Deploy a container through the command line

2nd Lab: Docker Web Apps

  1. Pull public images
  2. Push images to Bluemix
  3. Verify security vulnerabilities
  4. Run the web app

3nd Lab: Run Scheduler, the Luigi

  1. Pull public images
  2. Push images to Bluemix, replace the image with luigi
  3. Run the Luigi
    Ref to: Run the web app

    $ cf ic run --name lcd -p 8082:8082 registry.ng.bluemix.net/web1/lcd
    $ cf ic ip request
    Successfully requested ip 134.XXX.YYY.ZZZ
    $ cf ic ip bind 134.XXX.YYY.ZZZ lcd
    
    Open browser with 134.XXX.YYY.ZZZ:8082

 

Advertisements

Single Post Navigation

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: