Steps#
- 1
Pick the region#
In the console, open Settings and then Cloud account. If you are still setting up your organization, the first step on the home page takes you there. Under Connect your cloud, Amazon Web Services is the one available choice today, and Microsoft Azure and Google Cloud are marked as coming soon.
Choose your AWS region in the Region list and press Continue. Pick it deliberately, because it cannot change later. There is no account ID to look up. Harebell finds your account when AWS finishes the next step.
If the person who looks after AWS is a colleague, you can press Hand this step to a colleague instead, once you have picked the region. They receive a link that opens only this step, which works for seven days. They see nothing else in your organization, and you can take the step back at any time.
- 2
Create the stack in AWS#
The console now shows the step called Open the setup in AWS. Press Open AWS. AWS opens in a new tab at the CloudFormation page for the
harebellstack, in your region, with everything filled in: the install's ID, the address of our token issuer, the address that tells Harebell the stack has finished, and a one-time key that proves this account is the one you are connecting.Check three things on that page, then create the stack.
- You are in the account and region you chose.
- The parameter
ReadLogsAndTraces, under the heading What Harebell may read, is the way you want it. It is true by default, which lets Harebell read your apps' logs and traces when someone opens them, and every read is recorded in your CloudTrail. Set it to false if your policy forbids that. - Tick the box that acknowledges that the stack creates IAM resources, then choose Create stack. You can close the AWS tab after that.
The stack creates the roles, the permissions boundary and the identity provider that let Harebell in, and nothing else. It has no servers and no network. The security model explains what each part limits, and you can press See every resource it creates in the console to read the template before you create anything.
If you prefer a terminal, open Prefer a terminal? and paste the command it shows into AWS CloudShell in the same region. It creates the same stack, and the same command updates it later. If you cannot do this step yourself, Copy the setup link gives you the same link to send to the person who can.
CarefulUse only this link or this command. Do not create the stack a second time by hand, and do not delete Harebell's stacks in AWS to start over.
- 3
Wait for Harebell to find the account#
Come back to the console. The page says Waiting for access, and it moves on by itself, usually within two minutes of the stack finishing, because the stack sends its own status to Harebell. Harebell keeps looking for up to a day.
If the page is still waiting after about two minutes, your company may be blocking the message AWS sends. The page then asks for the AWS account ID. Type it in the account ID box and press Use this account. You can also press Check now at any time to make Harebell look again.
If another Harebell organization already uses that account and region, the page says so. Remove this account from the page and connect a different account or region, or ask whoever set up the other organization.
- 4
Watch it set itself up#
Once Harebell has found the account, the page says Found your AWS account and then Harebell is setting up your cloud account. Setup has two steps, and the page shows which one it is on as Step 1 of 2 and Step 2 of 2.
First Harebell creates
harebell-zone, a DNS zone named<organization>.<region>.harebell.runin your account, where the region is Harebell's region such asus. Harebell then points our own zone at it, so that the names of your apps resolve anywhere on the internet. Second, it createsharebell-base, which holds the network, the load balancer and its certificate, the front door, the gateway and the audit trail. How Harebell is put together says what each does.This usually takes a few minutes, and sometimes up to 15. There is nothing more to do in AWS, and you do not need to keep the page open. Home shows the step as done, and the person who connected the account is emailed when it is ready. When setup finishes, the card says Your cloud account is ready and the status shows Ready.
If a step fails, the page says which one and why, and shows Try again. Pressing it runs the setup again. If it fails repeatedly with the same error, the message is from AWS and usually names a permission or a quota that your account's policies are blocking.
What you see afterward#
The Your cloud account card shows the account, the region and when it was connected. Under Technical details you will find the Harebell role's address, the issuer that Google, Microsoft and database connections trust, the version the front door and gateway are running, and the three stacks, harebell, harebell-base and harebell-zone, with a link to open them in AWS. The card also shows an account's notices, such as a certificate that could not renew, or a problem that AWS reports with a service Harebell uses.
From then on, Harebell updates the base and zone stacks by itself, and the card shows Ready while it does, because your apps keep running. How Harebell keeps itself up to date describes it.
An example#
Ben Okafor opens the setup link on a Tuesday morning, confirms that the region says Frankfurt, leaves ReadLogsAndTraces on, and creates the stack. He closes the tab. Eight minutes later Sally Chen, the administrator who started the setup, gets an email saying that Initech's cloud account is ready. In the AWS console, Ben can now see harebell, harebell-zone and harebell-base, and he knows that the first of them is the only one Harebell is not allowed to change by itself.
Next, turn on company sign-in, so that people can open the apps that will run here.