open-consul/website/source/index.html.erb

183 lines
5.9 KiB
Plaintext
Raw Normal View History

2014-02-08 00:41:03 +00:00
<!-- Main jumbotron for a primary marketing message or call to action -->
2014-04-05 09:03:01 +00:00
<div id="jumbotron-mask">
<div id="jumbotron">
<div class="container">
<div class="col-lg-6 col-md-6">
<h2 class="rls-l">
Service discovery and configuration made easy.
Distributed, highly available, and
datacenter-aware.
</h2>
2014-04-05 09:03:01 +00:00
</div>
<div class="jumbo-logo-wrap col-lg-offset-1 col-lg-5 col-md-6 hidden-xs hidden-sm">
<div class="jumbo-logo"></div>
2014-04-14 16:45:40 +00:00
</div>
2014-04-05 09:03:01 +00:00
<!-- <p><a class="btn btn-primary btn-lg">Learn more &raquo;</a></p> -->
</div>
<div class="jumbotron-dots"></div>
2014-02-08 00:41:03 +00:00
</div>
</div>
<div id="features">
<div class="container">
2014-04-05 09:03:01 +00:00
<div class="row double-row">
<div class="col-lg-6 col-md-6">
<div class="row">
<div class="col-lg-5 col-md-5">
<span class="icn discovery"></span>
</div>
<div class="col-lg-7 col-md-7">
<h2>Service Discovery</h2>
2014-04-14 18:14:37 +00:00
<p>
Consul makes it simple for services to register themselves
and to discover other services via a DNS or HTTP interface.
2014-04-14 18:52:30 +00:00
Register external services such as SaaS providers as well.</p>
2014-04-05 09:03:01 +00:00
</div>
</div>
2014-02-08 00:41:03 +00:00
</div>
2014-04-05 09:03:01 +00:00
<div class="col-lg-6 col-md-6">
<div class="row">
<div class="col-lg-5 col-md-5">
<span class="icn health"></span>
</div>
<div class="col-lg-7 col-md-7">
<h2>Failure Detection</h2>
2014-04-14 18:52:30 +00:00
<p>Pairing service discovery with health checking prevents routing requests to unhealthy hosts and enables services to easily provide circuit breakers.</p>
2014-04-05 09:03:01 +00:00
</div>
</div>
2014-02-08 00:41:03 +00:00
</div>
</div>
2014-04-05 09:03:01 +00:00
<div class="row double-row">
<div class="col-lg-6 col-md-6">
<div class="row">
<div class="col-lg-5 col-md-5">
<span class="icn multi"></span>
</div>
<div class="col-lg-7 col-md-7">
<h2>Multi Datacenter</h2>
2014-04-14 18:52:30 +00:00
<p>Consul scales to multiple datacenters out of the box with no complicated configuration. Look up services in other datacenters, or keep the request local.</p>
2014-04-05 09:03:01 +00:00
</div>
</div>
2014-02-08 00:41:03 +00:00
</div>
2014-04-05 09:03:01 +00:00
<div class="col-lg-6 col-md-6">
<div class="row">
<div class="col-lg-5 col-md-5">
<span class="icn config"></span>
</div>
<div class="col-lg-7 col-md-7">
2014-04-14 18:14:37 +00:00
<h2>Key/Value Storage</h2>
<p>Flexible key/value store for dynamic configuration, feature flagging, coordination, leader election and more. Long poll for near-instant notification of configuration changes.</p>
2014-04-05 09:03:01 +00:00
</div>
</div>
2014-02-08 00:41:03 +00:00
</div>
</div>
2014-04-05 09:03:01 +00:00
2014-02-08 00:41:03 +00:00
</div> <!-- /container -->
</div> <!-- /features -->
2014-04-14 16:45:40 +00:00
<div id="demos">
<div class="container">
<div class="terminals row">
<div class="col-xs-12 col-lg-12 explantion">
<h2>DNS Query Interface</h2>
<p>
2014-04-14 18:14:37 +00:00
Look up services using Consul's built-in DNS server. Support
existing infrastructure without any code change.
</p>
2014-04-14 16:45:40 +00:00
</div>
<div class="terminal-item col-xs-12 col-lg-12">
<div class="terminal">
<header>
<h4>Terminal</h4>
<ul class='shell-dots'>
<li></li>
<li></li>
<li></li>
</ul>
</header>
<div class="terminal-window">
<div class="terminal">
<div class="display">
<p class="command"><span class="txt-r">admin@hashicorp</span>: dig web-frontend.service.consul. ANY</p>
<p>; &lt;&lt;&gt;&gt; DiG 9.8.3-P1 &lt;&lt;&gt;&gt; web-frontend.service.consul. ANY</p>
<p>;; global options: +cmd</p>
<p> </p>
<p>;; Got answer:</p>
<p>;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 29981</p>
<p>;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0</p>
<p> </p>
<p>;; QUESTION SECTION:</p>
<p>;web-frontend.service.consul. IN ANY</p>
<p> </p>
<p>;; ANSWER SECTION:</p>
<p>web-frontend.service.consul. 0 IN A <span class="txt-p">10.0.3.83</span></p>
<p>web-frontend.service.consul. 0 IN A <span class="txt-p">10.0.1.109</span></p>
<p class="command"><span class="txt-r">admin@hashicorp</span>: <span class="cursor">&nbsp;</span></p>
</div>
</div>
</div>
</div>
</div> <!-- /.terminal-item -->
<div class="col-xs-12 col-lg-12 explantion">
<h2>Key Value Storage</h2>
<p>
2014-04-14 18:52:30 +00:00
Consul provides a hierarchical key/value store with a simple HTTP API.
Managing configuration has never been simpler.
</p>
2014-04-14 16:45:40 +00:00
</div>
<div class="terminal-item col-xs-12 col-lg-12">
<div class="terminal">
<header>
<h4>Terminal</h4>
<ul class='shell-dots'>
<li></li>
<li></li>
<li></li>
</ul>
</header>
<div class="terminal-window">
<div class="terminal">
<div class="display">
<p class="command"><span class="txt-r">admin@hashicorp</span>: curl -X PUT -d 'bar' http://localhost:8500/v1/kv/foo</p>
<p>true</p>
<p class="command"><span class="txt-r">admin@hashicorp</span>: curl http://localhost:8500/v1/kv/foo</p>
<p>[</p>
<p> {</p>
2014-04-14 16:54:54 +00:00
<p> "CreateIndex": 100,</p>
<p> "ModifyIndex": 200,</p>
2014-04-14 16:55:35 +00:00
<p> "Key": "foo",</p>
2014-04-14 16:54:54 +00:00
<p> "Flags": 0,</p>
2014-04-14 18:17:30 +00:00
<p> "Value": <span class="txt-p">"YmFy"</span></p>
2014-04-14 16:45:40 +00:00
<p> }</p>
<p>]</p>
<p class="command"><span class="txt-r">admin@hashicorp</span>: <span class="cursor">&nbsp;</span></p>
</div>
</div>
</div>
</div>
</div> <!-- /.terminal-item -->
</div>
</div>
</div><!-- /#demos -->
<div id="cta">
<div class="container">
<div class="row">
<div class="intro">
<div class="left col-xs-12 col-sm-offset-2 col-sm-4">
2014-04-17 16:18:33 +00:00
<p>The intro and getting started guide contain
a simple and approachable walkthrough for running Consul locally.</p>
</div>
<div class="col-xs-offset-5 col-xs-12 col-sm-6 col-sm-offset-0 right">
<button class="outline-btn purple"><a href="/intro/index.html">Read the intro &#187;</a></button>
</div>
</div>
</div>
</div>
</div>