---
layout: ami
---
<div class="section">
    <h2 class="title">Setting up a RethinkDB AMI</h2>
    <div class="steps">
        <p class="step-one">Accept the SSL Certificate</p>
        <p class="step-two">Choose a password for the AMI</p>
        <p class="step-three">Initialize the AMI</p>
    </div>
    <div class="step-content">
        {% include ami-docs.html %}
        <p>
            Setting up a RethinkDB AMI instance is a two step process:
            <ol>
                <li>Accept the self-signed SSL certificate by your browser.</li>
                <li>Set a password to secure the instance.</li>
            </ol>
        </p>
        <p>
            We generated a self-signed certificate to secure this instance.
            When you press <em>Continue</em> the browser will warn you
            that the certificate could not be verified. Follow the instructions
            below to add an exception.
        </p>
        <h3>Instructions for Chrome</h3>
        <ul>
            <li>Click on <b>Proceed Anyway</b>
        </ul>
        <h3>Instructions for Firefox</h3>
        <ul>
            <li>Click on <b>I Understand the Risks</b>
            <li>Click on <b>Add Exception...</b>
            <li>Click on <b>Confirm Security Exception</b>
        </ul>
        <hr />
        <button id="go-to-https" class="btn">Continue &rarr;</button>
    </div>
</div>
<script>
    document.getElementById('go-to-https').onclick = function(){
        window.location = 'https://' + window.location.host + '/settings';
    }
</script>
