Set up the source for each rule: custom, anywhere, or specific IP
addresses
Save the changes to apply the new security group rules
Hosting HTML Website on the Server
Connect to your EC2 instance using an SSH client
Create a directory for your website content (e.g., /var/www/html/)
Upload your HTML files to this directory
Restart the HTTPD service on your instance to apply the changes
Ensuring a Functional and Accessible Website
Validate your HTML files to ensure proper syntax
☐ Test the website on your EC2 instance using your server's IP
address or hostname
☐ Monitor the website and EC2 instance using AWS tools (e.g.,
CloudWatch)
☐ Optimize the website for performance and security as
needed
addresses
Save the changes to apply the new security group rules
Hosting HTML Website on the Server
Connect to your EC2 instance using an SSH client
Create a directory for your website content (e.g., /var/www/html/)
Upload your HTML files to this directory
Restart the HTTPD service on your instance to apply the changes
Ensuring a Functional and Accessible Website
Validate your HTML files to ensure proper syntax
☐ Test the website on your EC2 instance using your server's IP
address or hostname
☐ Monitor the website and EC2 instance using AWS tools (e.g.,
CloudWatch)
☐ Optimize the website for performance and security as
needed