Create EC2 instance
- EC2 Dashboard
- name and launch instance
- Ubuntu
- t2 type 1gb ram
- create key pair
- rsa, .pem format
- allow http and https traffic
- leave 8gb storage as is
- launch
Configure EC2 elastic ip
- EC2 Dashboard
- Elastic IPs
- allocate elastic ip address from Amazon’s pool of ipv4 addresses
- go to your newly created elastic ip > actions > associate elastic ip address > select instance > associate
Install wordpress LAMP dependencies and apply config
- connect via ssh, right click instance, connect, ssh, copy user, ip and use previously downloaded key pair using the the -i (identity file)
- Update system
sudo apt update