PHP/MySql Hosting on AWS

Step 1 : Create Instance EC2. (ubuntu) 64 bit.

 

  1. Login in to your AWS Account .
  2. Click on Servic e -> EC2/EC2 Dashboard.
  3. Click on “Launch Instance”.
  4. Choose AMI : select Ubuntu 64 bit free tier. Next
  5. Choose Instance Type: select t1.micro. click on “next:configure instance detail”.
  6. Configure Instance: make sure ‘Number of instance : 1’ .rest leave as it is. Click next add storage.
  7. Add Storage: leave it. Click next Tag Instance
  8. Tag Instance: leave it. Click next Configure Security Group.
  9. Configure Security Group: Check new security group, give security group name whatever you want (e.g. random-security),
  10. Click “review and launch”
  11. Click on launch.
  12. Now it will ask for “key pair”, key pair is just like your password to enter in your instance
    so , select ‘create a new key pair’, Give key pair name e.g.’ randomkeys’
  13. Download Key pair at safe place.
  14. Click on’ Launch Instance’ it will take time 2-3 minute.
  15. Click On ’ View Instance’.
  16. You can see your created instance here, if name field is blank you can click at the place of name & give it name here e.g. randomindia.

    ———| Security Group|—————–
    Now we will Configure security group, so :
  17. Click on ‘Security Group’ under ‘Network and Security’ at left panel.
  18. Here you can see your security group which you created at step: 9 (random-security)
  19. Select you security group. You can see detail of your group at bottom panel.
  20. Click on ‘Inbound’
  21. Give SSH,SMTP, HTTP, SSH, MYSQL, RDP one by one and apply these rules.——| Elastic IP |——-
  22. Click on ‘Elastic IPs under ‘Network and Security’ at left panel.
  23. Click on Allocate new Address
  24. Click on Allocate. You can see new IP is generated.
  25. Select this IP, and click on ‘Associate Address’
  26. Select you Instance e.g. randomindia
  27. Check Allow re-association.
  28. Click Associate. Now your ip is Associated with your Instance.Now we have our instance running, with Security and Elastic IP. Now take a sutta breake.

 

Leave a Reply

Your email address will not be published. Required fields are marked *