I build amazon ec2 instance as following steps given on
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html
Also followed this:
http://imperialwicket.com/aws-building-a-lamp-instance
service httpd restart
says:
[root@ip-21-31-3-19 ec2-user]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
there is index.php file in
/var/www/html/index.php
drive but it gives error:
The connection has timed out
What can be the issue?
UPDATE
My instance was created by my friend from US. I am in India.
He sent me mail he received after creating the instance.
Availability zone - us-west-2c
Security groups - launch-wizard-1. view rules
Scheduled events No scheduled events
AMI ID - amzn-ami-pv-2013.09.2.x86_64-ebs (ami-cc293fc)
Subnet ID - subnet-4f727427
Platform -
Network interfaces - eth0
Key pair name - AmazonLinux01
I think security group is already created.
I am handling ec2 instance first time.
Is this ec2-classic or VPC?? There has been given VPC id
and AMI ID
both.
enter link description here
I followed this document to sent the security group -
which says : Required option '-O, --aws-access-key KEY' missing (-h for usage)
where to get access key?
Comments
Post a Comment