Full stack deployment using UCD – Part3

In Part 1 and Part 2 of the Blog, we talked about setting up Blueprint designer.  Now in final blog , we shall  talk about how to create Blueprint.

Lets go ahead and click on Create a new Blueprint . Go to top of homepage and click on New BlueprintPicture1

This creates a blank .yaml file as below .

  • Images : On the right side of panel , we see various images which come from AWS catalog in our case. One can see that they are classified under various headers like Ubuntu , RHEL , Suse etc


  • Components : We have various components which have been created in UCD for application deployment . In this case we have already created various components in UCD for deployment of three tier application ( jke.db contains db scripts , jke.war contains war file , MYSQL Server contains sql server installation  and Liberty Profile has Liberty installation ) Also as you see the various agents components are also created ( This was covered in last section of Part1 of my Blog ) , depending on OS of VM , appropriate agent package is automatically selected and installed.


  • Networks : Under Networks it displays the networks which have been created or one can also create new networks.


  • Security Policy : Under this section various Inbound and Outbound ports and hostnames rules which have been opened are listed . One can assign  the required group.


Now let’s go ahead and create blueprint , one can drag and drop image .

  1. In my case I have added two images – RHEL and Ubuntu . RHEL machine would be used for AppServer , so if you look within AppServer Machine – one can  see two Components  – Liberty ( which installs liberty)  and war file being added.
  2. On the other machine , which is DB server , I have dragged MYSQL Server Component ( which installs DB server ) and also JKE.db .
  3. Next Network is added and both VMs are joined to same network
  4. Security Group is attached to both
  5. Deployment Sequence which tells in what order the components should be deployed is added to each component.

With this our Blueprint is ready and now we are ready to provision .



Click on Provision Button on top and In pop-up add details of required configurations by selecting right parameters and go ahead

Once provisioning starts , one can see the various activities and their status.

Screen Shot 2017-10-25 at 4.00.51 PMWhat this does is first provisions images , then installs agents on each of those machines. Next it creates resource tree in UCD and maps the required components to the agents.When all this is done, it starts deployments of components in order specified.

Screen Shot 2017-10-25 at 4.04.35 PM

If you log into AWS console, you can see two servers  – AppServer VM &  DB Server VM – up and running.

Screen Shot 2017-10-25 at 4.06.16 PM


Now fetch the IP of the AppServer from AWS console and access app via <ip>:9080

Screen Shot 2017-10-25 at 4.07.51 PM

So in this series , we saw how we  could do full stack deployment of application , starting from provisioning the infrastructure , installing middleware and then  installing the application.

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s

Bluemix HUB

The community for bluemix developers

Smith's Blog

Continuous delivery of software-driven innovation

Home: sdarchitect.blog

Sanjeev Sharma: My thoughts on Cloud, DevOps, Data Strategy, and Life...

Takehiko Amano's Blog on Emerging Technologies.

My thought on DevOps and Cloud technologies

Tim Feeney's Blog on Jazz

close encounters of the Jazz kind

Dan Toczala's Blog

THINK - About what's possible....

%d bloggers like this: