Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
959b487b
Commit
959b487b
authored
Feb 20, 2020
by
Collen
Committed by
Evan Read
Feb 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Elastic Load Balancer type
parent
c9003a71
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
18 deletions
+21
-18
doc/install/aws/img/aws_ha_architecture_diagram.png
doc/install/aws/img/aws_ha_architecture_diagram.png
+0
-0
doc/install/aws/index.md
doc/install/aws/index.md
+21
-18
No files found.
doc/install/aws/img/aws_ha_architecture_diagram.png
View replaced file @
c9003a71
View file @
959b487b
131 KB
|
W:
|
H:
130 KB
|
W:
|
H:
2-up
Swipe
Onion skin
doc/install/aws/index.md
View file @
959b487b
...
@@ -53,8 +53,8 @@ Here's a list of the AWS services we will use, with links to pricing information
...
@@ -53,8 +53,8 @@ Here's a list of the AWS services we will use, with links to pricing information
[
Amazon EBS pricing
](
https://aws.amazon.com/ebs/pricing/
)
.
[
Amazon EBS pricing
](
https://aws.amazon.com/ebs/pricing/
)
.
-
**S3**
: We will use S3 to store backups, artifacts, LFS objects, etc. See the
-
**S3**
: We will use S3 to store backups, artifacts, LFS objects, etc. See the
[
Amazon S3 pricing
](
https://aws.amazon.com/s3/pricing/
)
.
[
Amazon S3 pricing
](
https://aws.amazon.com/s3/pricing/
)
.
-
**
ALB**
: An Application
Load Balancer will be used to route requests to the
-
**
ELB**
: A Classic
Load Balancer will be used to route requests to the
GitLab instance. See the
[
Amazon ELB pricing
](
https://aws.amazon.com/elasticloadbalancing/pricing/
)
.
GitLab instance
s
. See the
[
Amazon ELB pricing
](
https://aws.amazon.com/elasticloadbalancing/pricing/
)
.
-
**RDS**
: An Amazon Relational Database Service using PostgreSQL will be used
-
**RDS**
: An Amazon Relational Database Service using PostgreSQL will be used
to provide a High Availability database configuration. See the
to provide a High Availability database configuration. See the
[
Amazon RDS pricing
](
https://aws.amazon.com/rds/postgresql/pricing/
)
.
[
Amazon RDS pricing
](
https://aws.amazon.com/rds/postgresql/pricing/
)
.
...
@@ -291,27 +291,30 @@ and add a custom TCP rule for port `6379` accessible within itself.
...
@@ -291,27 +291,30 @@ and add a custom TCP rule for port `6379` accessible within itself.
## Load Balancer
## Load Balancer
On the EC2 dashboard, look for Load Balancer
on the left column
:
On the EC2 dashboard, look for Load Balancer
in the left navigation bar
:
1.
Click the
**Create Load Balancer**
button.
1.
Click the
**Create Load Balancer**
button.
1.
Choose the Application Load Balancer.
1.
Choose the
**Classic Load Balancer**
.
1.
Give it a name (
`gitlab-loadbalancer`
) and set the scheme to "internet-facing".
1.
Give it a name (
`gitlab-loadbalancer`
) and for the
**Create LB Inside**
option, select
`gitlab-vpc`
from the dropdown menu.
1.
In the "Listeners" section, make sure it has HTTP and HTTPS.
1.
In the
**Listeners**
section, set HTTP port 80, HTTPS port 443, and TCP port 22 for both load balancer and instance protocols and ports.
1.
In the "Availability Zones" section, select the
`gitlab-vpc`
we have created
1.
In the
**Select Subnets**
section, select both public subnets from the list.
and associate the
**public subnets**
.
1.
Click
**Assign Security Groups**
and select
**Create a new security group**
, give it a name
1.
Click
**Configure Security Settings**
to go to the next section to
(
`gitlab-loadbalancer-sec-group`
) and description, and allow both HTTP and HTTPS traffic
select the TLS certificate. When done, go to the next step.
1.
In the "Security Groups" section, create a new one by giving it a name
(
`gitlab-loadbalancer-sec-group`
) and allow both HTTP ad HTTPS traffic
from anywhere (
`0.0.0.0/0, ::/0`
).
from anywhere (
`0.0.0.0/0, ::/0`
).
1.
In the next step, configure the routing and select an existing target group
1.
Click
**Configure Security Settings**
and select an SSL/TLS certificate from ACM or upload a certificate to IAM.
(
`gitlab-public`
). The Load Balancer Health will allow us to indicate where to
1.
Click
**Configure Health Check**
and set up a health check for your EC2 instances.
ping and what makes up a healthy or unhealthy instance.
1.
For
**Ping Protocol**
, select HTTP.
1.
Leave the "Register Targets" section as is, and finally review the settings
1.
For
**Ping Port**
, enter 80.
and create the ELB.
1.
For
**Ping Path**
, enter
`/explore`
. (We use
`/explore`
as it's a public endpoint that does
not require authorization.)
1.
Keep the default
**Advanced Details**
or adjust them according to your needs.
1.
For now, don't click
**Add EC2 Instances**
, as we don't have any instances to add yet. Come back
to your load balancer after creating your GitLab instances and add them.
1.
Click
**Add Tags**
and add any tags you need.
1.
Click
**Review and Create**
, review all your settings, and click
**Create**
if you're happy.
After the Load Balancer is up and running, you can revisit your Security
After the Load Balancer is up and running, you can revisit your Security
Groups to refine the access only through the ELB and any other requirement
Groups to refine the access only through the ELB and any other requirement
s
you might have.
you might have.
## Deploying GitLab inside an auto scaling group
## Deploying GitLab inside an auto scaling group
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment