This userdata is only for Amazon Linux 2023 on EC2
With this script, you can install a full LAMP environment with auto Let's Encrypt credential issuing on Amazon Linux 2023 without any 3rd party repository.
- Operation System: Amazon Linux 2023
- Domain Name: Hosted your domain name on Route 53. How to use Amazon Route53 API
- Instance Type:
t3.small
or above. - fill thes arguments: