[Note: This presentation is dated from 2012]
Zend and IBM recently announced solutions for running the Zend Application Fabric (powered by Zend Server) on IBM PureSystems for on-premise cloud deployment, and on IBM SmartCloud Enterprise for public cloud deployment. Daniel Krook from IBM will describe how to deploy a Zend PHP cluster on the IBM cloud, integrated with the IBM elastic load balancer and the DB2 Database-as-a-Service.
You will learn how to activate the Zend Application Fabric pattern, model your desired topology and set a scaling policy, monitor the running application infrastructure, dive into Zend platform configuration, view IBM elasticity and fault tolerance in action, and perform repeatable and reliable deployments using a topology template via the REST API.
[2024]Digital Global Overview Report 2024 Meltwater.pdf
Zend Application Fabric for IBM PureSystems and SmartCloud Enterprise Clouds
1. 1
Zend Application Fabric for
IBM PureSystems and
IBM SmartCloud Enterprise
Daniel Krook
Software Engineer, Advanced Cloud Technology
2. 2
Your presenter
Software Engineer in the Advanced Cloud Technology
group of Global Technology Services.
Create next generation features for the IBM cloud.
Currently engaging third parties to build their SaaS and
PaaS solutions on our SmartCloud IaaS.
Daniel Krook
krook@us.ibm.com
linkedin.com/in/krook
twitter.com/danielkrook
3. 3
Enterprise PHP and cloud interest grows, focuses on quality and speed
“The software development industry continues to evolve at a rapid pace, with
enterprise-wide cloud development practices becoming increasingly attractive to IT
organizations.
Software-driven enterprises see the cloud as a means to improve collaboration and
productivity, and accelerate time to market with quality software applications.
This trend is evident in survey responses regarding developers’ intentions to use
public clouds for app development and deployment projects in 2012.
More than 60% intend to use public clouds, with 54% already specifying a public
cloud of choice. Amazon Web Services was the dominant public cloud with 30%.”
Zend Developer Pulse survey
Fourth Quarter 2011
http://static.zend.com/topics/zend-developer-pulse-survey-report-0112-EN.pdf
5. 5
Zend and IBM offer expertly configured
PHP clusters that are provisioned quickly
1. Zend Application Fabric
2. IBM SmartCloud and PureSystems
3. Zend on IBM with a virtual application pattern
4. Screenshots and demo
5. Questions and answers
6. 6
Zend and IBM offer expertly configured
PHP clusters that are provisioned quickly
1. Zend Application Fabric
2. IBM SmartCloud and PureSystems
3. Zend on IBM with a virtual application pattern
4. Screenshots and demo
5. Questions and answers
9. 9
Zend and IBM offer expertly configured
PHP clusters that are provisioned quickly
1. Zend Application Fabric
2. IBM SmartCloud and PureSystems
3. Zend on IBM with a virtual application pattern
4. Screenshots and demo
5. Questions and answers
15. 15
Zend and IBM offer expertly configured
PHP clusters that are provisioned quickly
1. Zend Application Fabric
2. IBM SmartCloud and PureSystems
3. Zend on IBM with a virtual application pattern
4. Screenshots and demo
5. Questions and answers
16. 16
A virtual application pattern
captures a topology and provides lifecycle hooks
Zend defines an ideal topology for deployments. Contains best
practices – their expertise – for deploying highly available PHP
clusters.
Packaged as a logical pattern, with plug-ins for the component
parts (load balancer, cluster manager, application
server, database).
IBM cloud provides the infrastructure (virtual
machines, networking, DB2-as-a-Service) that it needs, and
fulfills the quality of service for failover and scaling.
18. 18
Zend and IBM offer expertly configured
PHP clusters that are provisioned quickly
1. Zend Application Fabric
2. IBM SmartCloud and PureSystems
3. Zend on IBM with a virtual application pattern
4. Screenshots and demo
5. Questions and answers
27. 27
Deploying repeatedly via REST API
1. Upload the application package as a virtual application pattern.
POST
https://<IWD>/resources/applicationPatterns/
Content-Type: application/zip of appmodel and archive
2. Deploy the virtual application instance.
POST
https://<IWD>/resources/applicationPatterns/<app_id>/virtualApplications/
Content-Type: application/json of cloud group
3. Retrieve the provisioned virtual machine names.
GET
https://<IWD>/resources/virtualApplications/<deployment_id>
28. 28
Demo
Modeling the topology and setting a scaling policy (3:10)
Monitor the running application on IBM infrastructure (5:52)
Dive into Zend platform configuration (8:50)
View IBM cloud scaling and fault tolerance (9:58)
Perform repeatable and reliable deployments (11:10)
29. 29
Recap
Zend has defined an expertly configured architecture for
scalable, highly available PHP applications.
You can take advantage of this by installing their virtual
application onto an on-premise PureSystems rack, or
running it on the public SmartCloud Enterprise.
Those IBM clouds will handle scaling in response to
demand, replacing failed nodes, and offering DB2
integration.
30. 30
Zend and IBM offer expertly configured
PHP clusters that are provisioned quickly
1. Zend Application Fabric
2. IBM SmartCloud and PureSystems
3. Zend on IBM with virtual application pattern
4. Screenshots and demo
5. Questions and answers
31. 31
Questions and answers
Technology preview, looking for early adopters.
Send me an email, and follow me to hear the latest
developments.
Daniel Krook
krook@us.ibm.com
linkedin.com/in/krook
twitter.com/danielkrook
33. 33
Zend Application Fabric for
IBM PureSystems and
IBM SmartCloud Enterprise
Daniel Krook
Software Engineer, Advanced Cloud Technology
Notas do Editor
State that I’m the technical implementer of this solution, not in sales. Business model is still being worked out between IBM and Zend. Hosting NYPHP for 8 years, first time speaking.
Ask audience about their familiarity with Zend products and IBM cloud. The Zend Developer Pulse survey shows that enterprises and SMBs are building interest in learning and using PHP on the cloud, primarily as a means to quickly deploy new apps. Yet, they want high quality applications as well.
While there are many folks using public clouds, Amazon in particular, many are want to use a cloud but are undecided. This is due to stability, SLAs, security, and support.
So, to meet that need we’ve been working with Zend to bring their enterprise PHP solution (Zend Application Fabric) onto IBM’s public and private clouds. Here’s what I’ll cover in the next few slides.
First, let’s look at what Zend has been doing to build highly available apps, for traditional data centers, but also for clouds.
Zend has been working to build a platform to support professional PHP developers, providing a path for growth as companies move from the basic open source stack. They provide a bunch of services and products that focus on improving the performance and availability of PHP apps.
At last year’s ZendCon, they brought cloud into the picture, so now they offer this full stack from IDE to test environments, to production hosting by partnering with Right Scale, Amazon, and Rackspace. And of course IBM.
Ok, so we’ve seen what Zend has been defining as a high quality environment, let’s look at IBM’s flagship brands for cloud, SmartCloud for public cloud, and PureSystems for private, or on-premise cloud.
SmartCloud represents the NIST standard definition of cloud computing services. So you have your IaaS and PaaS here in the middle, and SaaS on the right packaged as solutions. There are some other cross cutting services on the left.
The public SmartCloud Enterprise lives here in the middle, it’s analogous to Amazon EC2. On top of that is a new layer called SCAS, which is more of a platform for hosting applications, like an App Engine, but not quite.
On the private cloud side, IBM recently announced this new product called PureSystems, which aims to be a cloud in a box. It’s basically a full rack appliance, with hypervisor and monitoring all built in.
The goal is to make everything integrated so it’s easy to install. And then you deploy applications on it using what are called virtual applications or virtual systems that represent expertly configured topologies.
One of these patterns is the one I just worked with Zend to create. Take Zend’s expertise in defining a PHP cluster, and put that on top of IBM’s public and private cloud infrastructures, and use the built in DB2 service and the elastic load balancer.
Ok, so now let’s take a look at this pattern that makes the integration happen.
The pattern type represents what Zend has put together to capture their best configuration practices. It installs software from their yum repos, makes sure virtual machines talk to each other and arrange themselves as they come up, and it allows them to listen for change events or commands.
This isn’t just an IBM construct. It’s defined as an industry standard called TOSCA in collaboration with Cisco, Red Hat and others. In this way it’s like enterprise Java standards that let you port a web application archive between WebSphere, Tomcat, and JBoss.
So let’s have a look at where you’d get this pattern, or use it if it’s already installed. Then create an instance of it, plugging in your personal values and application, then we can deploy and monitor it running on the IBM infrastructure.
In the case of SCE, we are working to bake it into the SCAS that’s already there for customers to use. In case of private cloud, you’d get the latest download from Zend.
You enter the user interface on SCE or PureSystems, install and activate the pattern. You can see here it specifies some prerequisites, i.e., DB2.
Then, you can create an instance of the pattern type using the built in Virtual Application Builder. Here I dragged the load balancer, cluster manager, Zend Server, and DB2 components from the palette and linked them to each other. I set some passwords on the right, and apply a scaling policy to my cluster.
After I save that, it’s listed in my personal catalog, and I can now deploy it.
Now the underlying cloud provisions the virtual machines.
And it gives me an indication when it’s running. Here I can hit the load balancer entry point or Zend Server console. I can also dig into the logs.
And here is the result of hitting the load balancer endpoint link. You see the load balancer IP (.69) is delegating requests to the Zend Servers (.245). The connection to DB2 is succeeding.
And here’s the Zend Server Cluster Manager endpoint, where you can see that the Zend Server registered itself, and that my sample script had a warning.
Now, once that pattern is installed, and you have designed and configured your topology, you can export that template and redeploy again and again via the REST API. On the public SmartCloud, this would be the be the eventual goal, to provide for many end users to deploy directly from Zend Studio or phpcloud.com