How to install the GitHub Enterprise Server on AWS EC2 Instance.

You won’t GIT enough of this. 👀

Step 01- Sign up for GitHub Enterprise

  1. Navigate to the GitHub Enterprise Server download page.
  2. Click Get the latest release of GitHub Enterprise Server.
  3. In the Select your platform drop-down menu, click Amazon Web Services.
  4. In the Select your AWS region drop-down menu, choose your desired region.
  5. Take note of the AMI ID that is displayed.
AMI ID for ap-south-east-2 (Sydney Region)

Step 02-Create EC2 instance on AWS

GitHub Enterprise Server AMI on AWS
I’ve selected c4.2xlarge
Image from GitHub Page
Security Group for our EC2 Instance
My EC2 Instance (AMI ID is highlighted )

Step 03 — Let’s attach some Volumes!

  1. Open the Amazon EC2 console at
  2. In the navigation pane, choose Elastic Block Store, Volumes.
Creating Volumes
Main/Secondary Block Storages
  1. Select an available volume and choose Actions, Attach Volume.
  2. For Instance, start typing the name or ID of the instance. Select the instance from the list of options (only instances that are in the same Availability Zone as the volume are displayed).
  3. For Device, you can keep the suggested device name, or type a different supported device name. For more information, see Device Naming on Linux Instances.
  4. Connect to your instance and mount the volume. For more information, see Making an Amazon EBS Volume Available for Use on Linux.

How do I make sure the Volumes are attached? Simple. Select one of the Volumes and verify the details under Description.

Step 04: We’re almost there!

  1. Open the Amazon EC2 console at
  2. Select and copy the Public DNS address under description and paste it on your browser window.
GitHub server on AWS.
  1. Open the Amazon EC2 console at
  2. In the navigation pane, choose Elastic IPs.
  3. Choose Allocate Elastic IP address.
  4. For Scope, choose either VPC or EC2-Classic depending on the scope in which it will be used.
  5. (VPC scope only) For Public IPv4 address pool choose one of the following:
  • Amazon’s pool of IP addresses — If you want an IPv4 address to be allocated from Amazon’s pool of IP addresses.
  • My pool of public IPv4 addresses — If you want to allocate an IPv4 address from an IP address pool that you have brought to your AWS account. This option is disabled if you do not have any IP address pools.
Use this IP address to log in to your GitHub server.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store

Education articles from Data Engineering & Software Development to Lifestyle, Relationship and Love. We cover them all. Blog by Dilan Jayasekara,