Tuesday, 20 December 2022

Successfully create AWS Account with gitlab integration


1. create aws ec2 account && with generated pair keys


2. create gitlab repository and push your local files

git remote add origin https://gitlab.com/syafiqzahir94/dtu-laravel.git

git branch -M main

git push -uf origin main 

git pull origin main --allow-unrelated-histories && git push (for existing)


3. putty access

-copy bengkel.pem && generate with puttygen

-connect *host with auth key pairs

-then login as ubuntu


3. setup our bengkel instance in AWS


-install composer

https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu-20-04


-install php

sudo apt install php


-install apache2

https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-20-04

sudo apt install apache2


-install mysql

https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-20-04

sudo apt install mysql-server


4. cloning our application from gitlab/github

sudo git clone https://gitlab.com/syafiqzahir94/bengkel.git

No comments:

Post a Comment