forked from cloudify-cosmo/getcloudify.org
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathchef_cloud_configuration_management.html
423 lines (369 loc) · 18 KB
/
chef_cloud_configuration_management.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
---
layout: bt_about
title: Try Chef on the Cloud in a Click
category: cloudify player
---
<div id="resultsDiv" class="DocumentsWrap"></div>
<!-- <section id="content">
<div class="container">
<div class="row">
<div class="span6 no-margin">
<h1>Chef <strong>on the Cloud in a Click</strong></h1>
<h2><strong>Test drive Chef using the Cloudify Player </strong></h2>
<p class="lead">This is a tutorial that will show you how to install a Chef server on demand using Cloudify, as well as a new Chef cookbook. You will then be able to run and manage them through the Cloudify interactive shell.</p>
<p>NOTE: Installing Chef can take 2-3 minutes!</p>
<a class="btn btn-lg btn-default launchPlay" id="launch" style="float:left" href="javascript:void(0)" data-launched="false">
<span class="glyphicon glyphicon-play"></span>
Launch Now
</a>
<div class="container pbarWrap" style="width:400px;float:left;margin:5px 0 0 15px">
<div class="progress progress-striped active">
<div class="bar" style="width: 0%;"></div>
</div>
</div>
<div class="clear clearset"></div>
<div class="panel panel-default" style="display:none">
<div class="panel-heading">
<a href="#" id="manage" class="btn btn-lg btn-primary disabled" target="manage">» Manage your app</a>
<a href="#" id="use" class="btn btn-lg btn-primary disabled" target="use">» Use Chef</a>
<div class="pull-right">
<p>
Time Left: <strong id="time-left">...</strong> minutes.
</p>
</div>
</div>
<div class="panel-body">
<pre id="log"> <!-- Log goes here -->
<!-- </pre>
</div>
<div class="panel-footer">Powered by: HP Cloud, Cloudify (Patent Pending)</div>
</div> -->
<br>
<br>
<!--
<a id="mixpanelSubscribe" class="btn btn-large btn-green btn-rounded" href="#"><i class="icon-plus"></i> Get Free Cloud Package</a> -->
<!-- <a class="btn btn-large btn-theme btn-rounded" id="downloadBtnInner" href="/downloads/get_cloudify.html"><i class="icon-download-alt"></i> Download Now</a>
</div>
<div class="span6">
<h1>Try out <strong>the interactive shell</strong></h1>
<h2><i class="icon-50 icon-arrow-down"></i> Start Now</h2>
<div class="span12 center" id="loading" style="display:none">
<i class="icon-spinner icon-spin icon-large blue"></i>Loading interactive shell...
<br/>
Until then feel free to watch this tutorial video.
</div>
<br/>
<br/>
<div id="butterfly-iframe">
<iframe id="ytIframe" width="562" height="422" src="//www.youtube.com/embed/S5YLj2q4KRg" frameborder="0" allowfullscreen></iframe>
<div id="butterflyWrapper" style="display:none">
<iframe id="butterfly" src="#" width="768px" height="400px" frameborder="1" scrolling="auto"></iframe>
<a id="watchVideoBtn" class="hover-wrap fancybox fancybox.iframe" data-fancybox-group="gallery" title="Cloudify Your App on Chef" href="#" rel="gallery"><span class="btn btn-rounded btn-default"><i class="icon-play"></i> Watch</span></a>
<h2>Type the following into the terminal window:</h2>
<ul>
<li>connect 127.0.0.1</li>
<li>list-applications</li>
<li>use-application chef-server</li>
<li>invoke chef-server listCookbooks</li>
<li>invoke chef-server updateCookbooks tar "http://s3.amazonaws.com/yoramw/apache.tgz" ""</li>
<li>invoke chef-server listCookbooks</li>
<li>install-service -overrides /tmp/apache.properties /tmp/base_chef</li>
<li>list-applications</li>
<li>invoke chef-server knife node list</li>
<li>invoke chef-server knife node show <node FQDN from previous list command></li>
<li>Click <a id="viewApachePage" href="#">here to view the Apache welcome page </a> you have just deploy</li>
</ul>
</div>
</div>
</div>
</div>
</div></section> -->
<section id="content">
<div class="container">
<div class="row">
<h1>What does Cloudify offer Chef users?</h1>
<p>Cloudify provides an application orchestration service with built-in monitoring and logging for deploying multi-tier applications through a single command.</p>
<p><a class="btn btn-large btn-theme btn-rounded" id="downloadBtnInner" href="/downloads/get_cloudify.html"><i class="icon-download-alt"></i> Download Now</a></p>
</div>
</div>
<div class="row colEven">
<div class="row"><p></p></div>
<div class="span4"><div class="pr iconHolder"><iframe src="http://www.slideshare.net/slideshow/embed_code/33076919" width="350" height="250" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px 1px 0; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe> <div style="margin-bottom:5px"> <strong> <a href="https://www.slideshare.net/cloudifysource/cloudify-orchestration-for-chef-users" title="Cloudify Orchestration for Chef Users" target="_blank">Cloudify Orchestration for Chef Users</a> </strong> from <strong><a href="http://www.slideshare.net/cloudifysource" target="_blank">cloudifysource</a></strong> </div></div></div>
<div class="span8"><div class="pad35"> <h2>What does this actually mean for Chef users?</h2>
<p>Essentially, Chef users can easily import their existing Chef server and Chef cookbooks, and use Cloudify to manage the application deployment and monitoring. All this, while using Chef for setting up the configuration and installation of those services, just like Chef users are used to.</p>
</div>
</div>
<div class="row">
<div class="span12"> <p></p></div></div>
<div class="row">
<div class="span4"><p></p></div>
<div class="span2"><p></p></div>
<div class="span2"><p><div class="aligncenter icon">
<strong>You are here <i class="icon-3x icon-circle-arrow-down"></i></strong>
</div></p></div>
<div class="span4"><p></p></div>
<div class="span4"><p></p></div>
</div>
<div class="row">
<div class="span2"><p></p></div>
<div class="span8">
<div class="aligncenter icon">
<img src="img/ChefDiagram.png" width="650">
</div>
<div class="span2"><p></p></div>
</div>
</div>
</div></section>
<section id="content">
<div class="container">
<div class="row colOdd">
<div class="row"><div class="span12" "aligncenter"=""><h2><strong>Cloudify features for Chef users</strong></h2>
<h2><span class="highlight"><strong>Deployment features</strong></span></h2>
</div></div>
<div class="row">
<div class="span4">
<div class="box alignjustify">
<div class="aligncenter icon">
<i class=" icon-64">
<img src="img/hpIcons/2-blue.png" width="112">
</i>
</div>
<div class="text">
<br>
<h4><strong>Install Chef Server and Agent</strong></h4>
<p>Cloudify takes the application topology as input and will provision a machine based on this specific application topology. Cloudify will allow you to install either a Chef Solo or Chef client per machine. It will also provision a Chef server or simply link all the services to an existing Chef server. Once the environment is set, it will allow you to invoke remote Chef commands directly from the Cloudify management console, enabling you to easily install new cookbooks, or manage your Chef deployment, as needed.</p>
</div>
</div>
</div>
<div class="span4">
<div class="box alignjustify">
<div class="aligncenter icon">
<i class="icon-64">
<img src="img/chefcatalog.png" width="96">
</i>
</div>
<div class="text">
<br>
<h4><strong>Support Existing Chef Recipes & Cookbooks</strong></h4>
<p>Many Chef users already have invested in creating Chef cookbooks and configuration. Cloudify was designed to be set as a service on top of your existing Chef environment, and therefore it will allow you to leverage your existing investment rather than re-configure the entire system.</p>
</div>
</div>
</div>
<div class="span4">
<div class="box alignjustify">
<div class="aligncenter icon">
<i class="icon-64">
<img src="img/Lifecycle.png" width="151">
</i>
</div>
<div class="text">
<br>
<h4><strong>Application Lifecycle Management</strong></h4>
<p>Deploying multi-tier applications includes multiple services such as web containers and databases that are inter-dependent on one another. Cloudify will allow you to make sure that these services will start in the right order. It includes specific hooks to monitor the lifecycle of each application and inject the reference for each dependent service. In this example, it will inject the reference to the database to each web container and it will inject each reference of the web container into the load balancer service.
</p>
</div>
</div>
</div>
</div>
</div>
<div class="row colEven">
<div class="span12"><div class="pad35">
<h2><span class=""><strong>Post Deployment Features</strong></span></h2></div></div>
<div class="container">
<div class="row">
<div class="span6">
<div class="box alignjustify">
<div class="aligncenter icon">
<i class=" icon-64">
<img src="img/MonitoringUI.png" width="450">
</i>
</div>
<div class="text">
<br>
<h4><strong>Monitoring and Logging</strong></h4>
<p>One of the challenges in any deployment is to keep the Chef configuration management and monitoring systems in sync.</p>
<p>Cloudify glues the two together by providing built-in monitoring that is automatically updated as part of the deployment process. In addition, Cloudify’s monitoring fills a void that other monitoring systems don’t cover well as they were designed to monitor applications only after they have been deployed, while the monitoring of the deployment and setup process is also needed. Cloudify also provides built-in logging and alerting, as well as custom metrics to measure specific key performance indicators of each of the managed services.</p>
</div>
</div>
</div>
<div class="span6">
<div class="box alignjustify">
<div class="aligncenter icon">
<i class="icon-64">
<img src="img/Remote Execution.png" width="513">
</i>
</div>
<div class="text">
<br>
<h4><strong>Remote Execution</strong></h4>
<p>One of the key features for DevOps users is to be able to interact with their existing deployed services and push new updates. Cloudify adds a remote execution command that allow you invoke remote shell and Chef commands as part of a DevOps deployment process. The remote execution feature will allow you to simply set the invocation on a specific instance or for all of the the instances of a particular service.</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="span4">
<div class="aligncenter icon">
<img src="img/anyCloud.png" width="200">
</div>
</div>
<div class="span8">
<h4><strong>Cloud Portability</strong></h4>
<p>Cloudify was designed to work with multiple private or public cloud environments, as well as a traditional data center. Chef users can use Cloudify to take advantage of this feature and abstract their application from the underlying environment, and in this way, use the same set of cookbooks and Cloudify services across different clouds without any changes.</p>
</div>
</div>
<div class="row">
<div class="span4">
<div class="aligncenter icon">
<img src="img/CloudifyImage-2.png" width="200">
</div>
</div>
<div class="span8">
<h4><strong>Advanced Orchestration</strong></h4>
<p>Cloudify comes with an orchestration service that allows you to automate complex processes by interacting with the individual services and executing the right Chef command.</p>
<p>It comes with a set of built-in processes for handling:</p>
<ul>
<li>Self-Healing</li>
<li>Auto-Scaling</li>
<li>Disaster Recovery Automation</li>
<li>DevOps Policies (Such as pushing updates)</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="clear"></div>
<div class="container">
<div class="row">
<div class="span12">
<h2><strong>Learn more about Cloudify Premium<sup>TM</sup> or Download Now</strong></h2>
</div>
</div>
<div class="row">
<div class="span6">
</div>
<div class="span6">
<a id="goProInner" class="btn btn-medium btn-green btn-rounded" href="/goPro.html"><i class="icon-plus"></i> Go Pro!</a>
<a id="downloadBtnInner" class="btn btn-medium btn-theme btn-rounded" href="/downloads/get_cloudify.html"><i class="icon-cloud-download"></i> Download Now</a>
</div>
</div>
</div>
</section>
<script src="http://ricostacruz.com/nprogress/nprogress.js"></script>
<div id="hidden-iframe" style="display:none"><iframe id="iframe" src="http://launch.cloudifysource.org/widget/widget?apiKey=ab8d9d70-13fd-4cec-bfd8-622c352cdaa7&title=Launch&origin_page_url=http://www.getcloudify.org/chef_cloud_configuration_management.html" width="600" height="463"></iframe></div>
<script type="text/javascript">
var WIDGET_ID = 'ab8d9d70-13fd-4cec-bfd8-622c352cdaa7';
</script>
<script type="text/javascript" src="/js/widget/script.js"></script>
<script type="text/javascript" src="//cdn.jsdelivr.net/jquery.postmessage/0.5/jquery.ba-postmessage.min.js"></script>
<script>
$(function() {
//Manage Downloads Gating;
//========================================//
var gotName = false;
var gotValidCaptcha = false;
var downloadHref="";
var strVar="";
var formEmail="";
var formName="";
strVar += "<div class=\"modal fade\" id=\"myModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"myModalLabel\" aria-hidden=\"true\">";
strVar += " <a style=\"float:right \" class=\"gattingWrapperClose\" href=\"#\"><i class=\"fa fa-times\"> <\/i> <\/a>";
strVar += "<div class=\"gattingWrapper\">";
strVar += " <form class=\"regiterToMixpanel\" name=\"mc-embedded-subscribe-form\" id=\"mc-embedded-subscribe-form\" action=\"https:\/\/cloudifysource.us4.list-manage.com\/subscribe\/post?u=5e963581396e0c0e43ed217f8&id=b43defea9b\" method=\"POST\">";
strVar += " <div class=\"regTitle\">Subscribe here<\/div>";
strVar += " <div style=\"position:relative\">";
strVar += " <input id=\"last_name\" name=\"last_name\" type=\"text\" class=\"cuInput\" placeholder=\"Your Name\" \/>";
strVar += " <div class=\"cuValid\"><\/div>";
strVar += " <\/div>";
strVar += " <div style=\"position:relative\">";
strVar += " <input id=\"company\" name=\"company\" type=\"text\" class=\"cuInput\" placeholder=\"Your Company Name\" \/>";
strVar += " <div class=\"cuValid\"><\/div>";
strVar += " <\/div>";
strVar += " <div style=\"position:relative\">";
strVar += " <input id=\"mce-EMAIL\" name=\"email\" type=\"text\" placeholder=\"Your Email\"\/>";
strVar += " <div class=\"cuValid\"><\/div>";
strVar += " <\/div>";
strVar +=" <input id=\"website\" name=\"website\" type=\"text\" value=\"\" \/>";
strVar += " <input type=\"submit\" class=\"cuSendGatting btn btn-info\" id=\"mc-embedded-subscribe\" =\"submit\" value=\"Subscribe\" \/>";
strVar += " <\/form>";
strVar += " <\/div>";
strVar += " <\/div>";
$("#mixpanelSubscribe").click(function(e) {
$(this).before(strVar);
downloadValid();
formEmail = mixpanel.cookie.props.__alias;
if(formEmail==undefined){
$('#myModal').modal('toggle');
}else{
alert("You have already registered.")
}
});
$('#pageContent').on("click", "a.gattingWrapperClose", function() {
$('#myModal').modal('hide');
});
function downloadValid(){
//Validation
$('.regiterToMixpanel').validate({ // initialize the plugin
errorLabelContainer: "#error-note",
rules: {
last_name: {
required: true
},
company: {
required: true
},
email: {
required: true,
email: true
}
},
messages: {
last_name: {
required: "Please enter your first name",
},
company: {
required: "Please enter your company name",
},
email: {
required: "Please specify your email",
email: "Correct format is [email protected]"
}
},
submitHandler: function (form,e) { // for demo
if ($('input#website').val().length != 0) {
return false;
} else{
var chefemail = $("#mce-EMAIL").val();
var chef_first_name = $("#last_name").val();
var company = $("#company").val();
mixpanel.identify() ;
mixpanel.people.set_once({
$email: chefemail,
$first_name: chef_first_name,
$company: company,
$created: new Date(),
$last_seen:new Date(),
});
mixpanel.track('HP Chef Widget Campaign', {'page name' : document.title, 'url' : window.location.pathname});
$('#myModal .gattingWrapper form input').hide();
$('#myModal .regTitle').text("Thank you for registering! We will be in touch with further details.");
setTimeout(function() {
$('#myModal').modal('hide');
}, 4000);
}
//return false; // for demo
}
});
//End Validation
}
//Blocking Spam http://blog.supermedia.com/honeypot-technique/
$('#regiterToDownload').submit(function(){
if ($('input#website').val().length != 0) {
return false;
}
});
//End Blocking Spam
});
</script>