<?xml version="1.0" encoding="UTF-8" standalone="yes"?><oembed><version><![CDATA[1.0]]></version><provider_name><![CDATA[CloudForms Now]]></provider_name><provider_url><![CDATA[http://cloudformsblog.redhat.com]]></provider_url><author_name><![CDATA[vestival]]></author_name><author_url><![CDATA[https://cloudformsblog.redhat.com/author/vestival/]]></author_url><title><![CDATA[Multi-tier Application Deployment using Ansible and CloudForms&nbsp;(Video)]]></title><type><![CDATA[link]]></type><html><![CDATA[<p><span style="font-weight:400;">This article is a follow up on our previous blog post </span><a href="http://cloudformsblog.redhat.com/2017/11/21/vmware-provisioning-example-using-ansible/"><span style="font-weight:400;">VMware provisioning example using Ansible</span></a><span style="font-weight:400;">, where we deployed a simple virtual machine on VMware using Ansible from the CloudForms service catalog. In this week’s demonstration, we go a step further and provision a multi-tier application on Amazon Web Services (AWS). Once provisioned, the application lifecycle, as well as all day 2 operations are performed from Red Hat CloudForms.</span></p>
<p><!--more--></p>
<p><span style="font-weight:400;">In our example, we deploy the </span><a href="https://developers.redhat.com/ticket-monster/whatisticketmonster/"><span style="font-weight:400;">Ticket Monster</span></a><span style="font-weight:400;"> application on JBoss EAP servers with a PostgreSQL back-end database. We then register our EAP servers to an Amazon Elastic Load Balancer (ELB). The Ansible playbook for this example can be found on this </span><a href="https://github.com/jeromemarc/workflow-demo/blob/master/plays/ticket-monster-aws.yml"><span style="font-weight:400;">github repository</span></a><span style="font-weight:400;">. </span></p>
<p><span style="font-weight:400;">In the demonstration video, you show how this playbook execution:</span></p>
<ul>
<li style="font-weight:400;"><span style="font-weight:400;">Deploys an instance for hosting our database</span></li>
<li style="font-weight:400;"><span style="font-weight:400;">Deploys 2 instances for hosting our application servers</span></li>
<li style="font-weight:400;"><span style="font-weight:400;">Installs PostgreSQL on the database instance</span></li>
<li style="font-weight:400;"><span style="font-weight:400;">Configures the database (e.g. schema, users, connections, etc)</span></li>
<li style="font-weight:400;"><span style="font-weight:400;">Deploys Jboss EAP on both application server instances</span></li>
<li style="font-weight:400;"><span style="font-weight:400;">Configures Jboss EAP, the database driver and connection, and deploys the Ticket Monster web application</span></li>
<li style="font-weight:400;"><span style="font-weight:400;">Links both JBoss EAP servers to our Amazon Elastic Load Balancer</span></li>
</ul>
<p>&nbsp;</p>
<p><span style="font-weight:400;">The Amazon EC2 instances created by this playbook are linked to the CloudForms service. We can find all detailed information about the instances, as well as the load balancer from the Red Hat CloudForms user interface.</span></p>
<p>&nbsp;</p>
<p><span class="embed-youtube" style="text-align:center; display: block;"><iframe class='youtube-player' type='text/html' width='640' height='360' src='https://www.youtube.com/embed/HAHoROzP3hc?version=3&#038;rel=1&#038;fs=1&#038;autohide=2&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' allowfullscreen='true' style='border:0;'></iframe></span></p>
<p>&nbsp;</p>
<p><span style="font-weight:400;">The Red Hat Knowledge Base article, including the necessary playbooks to implement this example, are available on the </span><a href="https://access.redhat.com/articles/3060111"><span style="font-weight:400;">Red Hat Customer Portal</span></a><span style="font-weight:400;">.</span></p>
]]></html><thumbnail_url><![CDATA[https://i1.wp.com/s2.wp.com/wp-content/themes/vip/rh-parent/img/og_shadowman.png?ssl=1&fit=440%2C330]]></thumbnail_url><thumbnail_width><![CDATA[200]]></thumbnail_width><thumbnail_height><![CDATA[200]]></thumbnail_height></oembed>