how to access apache from ec2 instance code example Example: how to configure httpd in amazon ec2 instance [ec2-user ~]$ sudo yum update -y