jahirraihan22 / DEVOPS_ROADMAP

0 stars 1 forks source link

Sec 10: AWS part 1 (4 hr) 1st day of 3 day #1

Closed jahirraihan22 closed 2 years ago

jahirraihan22 commented 2 years ago

Learning from this lessons

  1. EC2
  2. Select instances
  3. create key pair
  4. create provisioning in User Data
  5. security group
  6. Explore more inbound outbound rule
  7. after exploring Just TERMINATE instances
jahirraihan22 commented 2 years ago

Before launching the EC2 instances

  1. Gather requirements a. OS (EX: centos) b. size ram, cpu, network c. storage d. project e. services/apps SSH, Http, Mysql etc

  2. Key pair

  3. Security Group

    1. Instances launch
jahirraihan22 commented 2 years ago

Security Group

Inbound and outbound is the firewall. From inbound rule you can control who has the authority to access

jahirraihan22 commented 2 years ago

setup web server manually in ubuntu apache2

1  clear
2  sudo apt update
3  sudo apt install apache2 wget unzip -y
4  wget https://github.com/ColorlibHQ/AdminLTE/archive/refs/tags/v3.2.0.zip
5  mv v3.2.0.zip AdminLTE.zip
6  ls
7  unzip -o AdminLTE.zip
8  cp -r AdminLTE/* /var/www/html/
9  ls
10  cp -r AdminLTE-3.2.0/* /var/www/html/
11  sudo cp -r AdminLTE-3.2.0/* /var/www/html/
12  sudo systemctl restart apache2
13  clear
14  history
15  systemctl status apache2
jahirraihan22 commented 2 years ago

install AWS CLI

AWS CLI Documentation