You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: jekyll/_docs/enterprise/aws.md
+67-28Lines changed: 67 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -6,45 +6,84 @@ order: 3
6
6
description: "How to install CircleCI Enterprise on Amazon Web Services (AWS)."
7
7
---
8
8
9
-
10
9
The following step-by-step instructions will guide you through the process of installing CircleCI Enterprise on AWS. If you have any questions as you go through these steps, please contact <[email protected]>.
11
10
12
-
<ol>
13
-
<li>Launch resources on AWS using Terraform (see <ahref="{{site.baseurl}}/enterprise/aws-manual/">here</a> for advanced instructions if you prefer to set up resources manually or using different tools):
14
-
<pre>
15
-
git clone https://github.com/circleci/enterprise-setup ccie && cd ccie
11
+
Prerequisites
12
+
==================
16
13
17
-
# Ensure that <ahref="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-dns.html#vpc-dns-updating">DNS is enabled for your VPC</a>.
18
-
# Specifically, enableDnsSupport must be true.
19
-
# If this is not enabled, then you must otherwise ensure that DNS is configured correctly on your instances
20
-
# IMPORTANT: See [additional instructions if you are using a private subnet]({{site.baseurl}}/enterprise/aws-private-subnet/).
14
+
* AWS Access Key
15
+
* AWS Secret Key
16
+
* AWS Region
17
+
* For example: "us-west-2"
18
+
* AWS VPC ID
19
+
* Ensure that your VPC has the setting [enableDNSSupport](https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-dns.html#vpc-dns-updating)
20
+
set to true
21
+
* Instructions if you have a [Private Subnet]({{site.baseurl}}/enterprise/aws-private-subnet/)
22
+
* AWS Subnet ID
23
+
* AWS S3 Bucket Name
24
+
* Services Instance Type
25
+
* The type of aws resource for our CircleCI service
26
+
* Builder Instance Type
27
+
* The type of aws resource for our CircleCI builder
28
+
* Circle CI License .rli file.
21
29
22
-
vi terraform.tfvars # Edit variables as appropriate with your favorite editor
30
+
Step One: Setup Terraform
31
+
==================
23
32
24
-
# Launch AWS resources with the Terraform wrapper script
If you prefer to do this process manually or with different tools please see the [Manual Aws Instructions]({{site.baseurl}}/enterprise/aws-manual/)
34
+
35
+
36
+
Download the following repo: `git clone https://github.com/circleci/enterprise-setup ccie && cd ccie`
37
+
38
+
39
+
Open `terraform.tfvars` in your favorite text editor and input the
40
+
prerequities stated above in the required fields.
41
+
42
+
For Linux/Windows
43
+
------------------
44
+
Please install <ahref="https://www.terraform.io/downloads.html">Terraform</a> yourself on Linux/Windows. Then run the command below.
45
+
46
+
For OSX
47
+
------------------
48
+
49
+
You can just run the command below.
50
+
51
+
`bin/terraform apply`
52
+
53
+
Configure Circle Ci Enterprise
54
+
==================
55
+
<li>Go To the URL output from Terraform
56
+
<ol>
57
+
<li>Click "Get Started"</li>
58
+
<li>Trust the temporary SSL cert</li>
59
+
<li>Use a self-signed certificate ( or if you already have one feel free to use it here )</li>
60
+
<li>Upload your license</li>
61
+
<li>Secure the console with a password</li>
62
+
<li>Enter the current machine's IP address or a hostname that you have configured</li>
63
+
<li>Create a <a href="https://github.com/settings/applications/new">Github Developer Application</a></li>
64
+
<ol type="a">
65
+
<li>Set the homepage URL to <code>www.circleci.com</code> </li>
66
+
<li>Set the callback URL to <code><circleci enterprise base url>/auth/github</code></li>
67
+
</ol>
68
+
<li>Input the key and secret from GitHub back into the settings page</li>
69
+
<li>Either upload a valid SSL cert with intermediate certificates and key, or disable SSL (you can always add it later)</li>
70
+
<li>Save and start the app (all other default settings are fine for now). You will be redirected to the System Console Dashboard,
71
+
where you should soon see an indication that the app has started like below.</li>
72
+
</ol>
73
+
</li>
74
+
75
+
<imgsrc="{{site.baseurl}}/assets/img/docs/started.png"alt="Look For 'Open'"width="150"style="margin: 10px; margin-left: 200px">
76
+
77
+
Using Circle CI Enterprise
78
+
==================
26
79
27
-
bin/terraform apply</pre>
28
-
</li>
29
-
<li>Fill out the settings form in the web UI:
30
-
<ol type="a">
31
-
<li>Go to the URL output from Terraform, click "Get Started", then click on "Advanced", "Add exception...", or whatever mechanism your browser provides to trust the temporary SSL cert</li>
32
-
<li>Use a self-signed certificate, upload your license, and secure the console with a password</li>
33
-
<li>Enter the current machine's IP address or a hostname that you have configured</li>
34
-
<li>Create a GitHub developer application at <code><github base url>/settings/applications/new</code>, set the callback URL to <code><circleci enterprise base url>/auth/github</code>, and input the key and secret back in the settings page</li>
35
-
<li>Either upload a valid SSL cert with intermediate certificates and key, or disable SSL (you can always add it later)</li>
36
-
<li>Save and start the app (all other default settings are fine for now). You will be redirected to the System Console Dashboard,
37
-
where you should soon see an indication that the app has started like this: <br /> <img src="{{site.baseurl}}/assets/img/docs/started.png" alt="Look For 'Open'" width="150" style="margin: 10px; margin-left: 200px">
38
-
</li>
39
-
</ol>
40
-
</li>
41
80
<li>Try it out!
42
-
<ol type="a">
81
+
<ol>
43
82
<li>Click the "Open" link in the dashboard to go to the CircleCI Enterprise app. You may see a "Starting" page for a few minutes to indicate that the CircleCI
44
83
application is booting up, but you will soon be automatically redirected to the homepage for your CircleCI Enterprise installation.</li>
45
84
<li>Sign up and follow a <a href="/docs/enterprise/quick-start/">project</a></li>
46
85
<li>The first build may remain queued while the build containers start. You can check the "Fleet State" by clicking on the wrench icon on the sidebar and selecting "Fleet State".
47
86
If no instances appear in the list, then the first builder is still starting. If there is a builder instance in the list but its state is "starting-up", then it is still downloading the build container image and starting its first build containers. Once this is all done, the first build should begin immediately. If there are no updates after about 15 minutes (remember to click the "refresh" button occasionally), please contact <ahref="mailto:[email protected]">CircleCI Enterprise support</a>.</li>
0 commit comments