How to install centos 7 server on AWS

How to install centos 7 server on AWS

  • 16 Nov, 2018
  • Technology

How to install centos 7 on aws


1. Login into aws panel

2. Click on "EC2" under "AWS Services" section

3."Resources" page opens, click on "Launch Instance" button

4. On Left hand side "quick Start" menu click on "AWS Marketplace"

5. On Search box enter centos and press enter. Select first option i.e. "CentOS 7 (x86_64) - with Updates HVM" and
click on "select" button.

6. Click on "Continue" button on next page



7. Click on "Next: Configure Instance Details" button at bottom right of screen

8. Click on "Next" Add Storage" button at bottom right of screen

9. Click on "Next" Add Tags" button at bottom right of screen

10. Click on "Add Tag" button, In "Key" enter value "Name" and in "Value" enter "Cpanel32"

11. Click on "Next" Configure Security Group" button at bottom right of screen

12. Click on "Add Rule" to add rule

a. Select Type "HTTP" and in "Source" select "Anywhere"
b. Select Type "HTTPS" and in "Source" select "Anywhere"

13. Click on "Review and Launch" button at bottom right of screen

14. Click on "Launch" button at bottom right of screen

15. In first drop down list select "Crate a new key pair" and enter name of key e.g. "cpanelkey32" in "Key pair name" field

16. Click on "Download key Pair"

17. Click on "Launch Instance" button at bottom right of screen

18. In start menu of window type putty in search box and select "PuTTYgen", install putty if not installed

19. In "Conversions" menu select "Import Key" option

20. Select file which just downloaded

21. Select "Save private key" button

22. Click on "Yes" and enter file name e.g. "cpanelpkey24.ppk" and close window

23. Click on code under "Your instances are now launching" section

24. On bottom right hand side check IPv4 Public IP 52.66.164.157

25. Open putty

26. In host name enter public ip

27. Click on SSh, click on "Auth" and browse private key

28. Click on "Open" and then "Yes"

29. In Login enter centos

30. Enter sudo yum update

Centos Installation complete