Run Harebell · Install it

Before you start

Connecting a cloud account takes about ten minutes of your time, but a few of the decisions you make first cannot be undone cheaply. This page lists what to have ready, which choices are permanent, and the mistakes that cost people an afternoon. Read it before you press anything in the console, and send it to whoever looks after your AWS account.

What you need#

Harebell runs in a cloud account that you own. Today that means an AWS account; Azure and Google Cloud are coming. You will need the following.

  • An AWS account you fully control. It can be a new one or an existing one. A dedicated account is the cleanest choice, because Harebell then has its own bill and its own boundary, and nobody has to wonder which resources belong to it. Its stacks and most of its resources have names beginning harebell.
  • Someone who can create IAM roles and a CloudFormation stack in it. That person creates one stack, once. If that is not you, the console lets you hand the step to a colleague, and Connect your cloud account shows how.
  • A Harebell organization. Creating one needs an invitation code, which we give to the companies we work with. The first person to create the organization becomes its first administrator, and must confirm their email address before they can invite anyone.
  • An AWS region. You choose it once, as described below.

Later steps need other people, and it helps to know who they are now. Company sign-in needs whoever runs your identity provider and whoever manages your domain's DNS records. Connecting Slack needs someone who may add apps to your Slack workspace. Connecting Google needs a Google Workspace administrator, and connecting Microsoft needs an administrator of your Entra tenant.

Choose the region on purpose#

When you add your cloud account, you pick the AWS region where your apps run and keep their data. The console offers the common ones, grouped by continent, and suggests the one nearest to the time zone of your browser. It also accepts a region code that is not in the list.

You cannot change the region of an install after you pick it. If you ever need a different one, you uninstall and connect again, which removes the apps that run there. So choose the region you already use for other company systems, or the one closest to the people who will use the apps, and check any rule about where company data may live before you choose, not after.

Your apps' web addresses do not contain the AWS region. They look like sales.initech.us.harebell.run, where us is the Harebell region that your organization was created in.

Accounts that give trouble#

Most problems on the first day come from the account and not from Harebell.

  • An account inside an AWS Organization may block what Harebell needs. Service control policies apply to every account below them, and Harebell's stack creates IAM roles and an OIDC identity provider, and later turns on outbound identity federation for the account. If your policies deny those, setup stops with an error from CloudFormation. Ask whoever owns the Organization to allow them for this account, or use a new account in an organizational unit with fewer restrictions.
  • A brand-new AWS account may start on a free plan. New accounts receive credits of $100 on sign-up and can earn up to $100 more. A free plan is limited to certain services and ends after six months or when the credits run out, and an account that joins an AWS Organization moves to a paid plan. Harebell needs a paid plan, so choose that at sign-up, or upgrade the account before you connect it. The credits still apply to a paid plan. AWS describes the plans on its own site.
  • Signing in to AWS through IAM Identity Center. AWS's own sign-in page offers only a root user and an IAM user. You do not need the root user. If your company signs in through an access portal, open the portal first, choose this account with an administrator role, and then use the button in the Harebell console in the same browser.
  • Rules that block events. When the stack finishes, a small rule in your account sends its status to Harebell, which is how Harebell finds out which account it is in. If a company rule blocks that message, the console asks you to type the account ID instead after about two minutes. It is under your name at the top right of the AWS console.

Mistakes to avoid#

  • Run the AWS setup once, from the link in the console. The link fills in your install's ID, our issuer's address and a one-time key. Do not create the stack a second time by hand, and do not build one from a copy of the template.
  • Never delete Harebell's stacks in the AWS console to remove Harebell. Use Uninstall in the console, under Settings and then Cloud account, and delete the harebell stack last. If you delete harebell first, Harebell loses the role it needs to clean up, and what it made in your account stays there until you remove it yourself. Uninstall Harebell has the full order.
  • Do not edit Harebell's resources by hand. A change made by hand is in no template and no review, and the next update of the install can overwrite it.
  • One organization to an account and region. An AWS account and region can be connected to only one Harebell organization. If another organization already uses it, the console says that account and region already has Harebell.

What Harebell costs you in AWS#

The resources Harebell creates run in your account and appear on your AWS bill. A load balancer, a NAT gateway, and the always-on containers of the front door and the gateway are the steady part. Each app adds its own containers and whatever it asks for, such as a database. Budgets and costs shows how to see each app's share and set limits, and Harebell tags the resources it creates so your AWS bill can be split the same way.

An example#

Ben Okafor, who looks after Initech's AWS accounts, creates a new account for Harebell inside Initech's AWS Organization. He checks that the Organization's policies allow IAM roles and OIDC providers, chooses the paid plan, and picks Frankfurt (eu-central-1) because most of Initech's people and data are in Germany. Then he tells Sally Chen, who has the Harebell administrator role, that the account is ready to connect.