Hello everyone. I am seeking help in having my GitLab web app server to work and I am truly not understanding what I am doing wrong here when setting up my server. The server is able to traverse the internet (all while using OpenVPN tunnel) and download the GitLab with the User Data that is set on the Ubuntu 20.04 LTS EC2 instance:
#!/bin/bash
apt-get update && apt-get upgrade -y
apt-get install -y curl openssh-server ca-certificates tzdata perl
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
aws ec2 associate-address --instance-id "$(curl -X GET 'http://169.254.169.254/latest/meta-data/instance-id')" --public-ip 45.42.182.232
export IP="$(curl -s http://169.254.169.254/latest/meta-data/public-ipv4)"
EXTERNAL_URL='http://'$IP apt-get install gitlab-ee
Once this completes, I am able to enter the EC2 instance with the EIP (which is using a t3a.medium). (I believe this is sufficient since it will only be used by 3-5 users.) The instance installs successfully but begins to have issues. The instance’s metrics on AWS show no signs of throttling but whenever I enter the site or use a git
command, it times out on the site and even ssh
ing into the server. I even tried using a different instance type such as a c5.large
thinking it’s the vCPUs and vRAM, but that does not even help.
I would appreciate any help and sorry if this is the wrong forum to post my issues.