EC2/Nginx accessible by SSH
Create an EC2 machine and install Nginx.
構成
- VPC
- One public subnet.
One EC2 instance
OS: Ubuntu 18.04
Install Nginx on your EC2 so that you can access it via http://
. You can access the site via SSH.
- The public key file for SSH access is specified with the variable “pubkey_file_path”.
Install and start Nginx with the user data.