WHM Tutorials – How to Launch an Amazon Web Services AMI

WHM Tutorials - How to Launch an Amazon Web Services AMI hi there this is Lawrence Simon a technical writer on the documentation team at cPanel your hosting platform of choice did you know that you can create a cPanel and whm server in the cloud in this video I'm going to demonstrate how to build a cPanel and WHM server on the Amazon Web Services cloud we'll perform the following tasks will login to Amazon Web Services will subscribe to the cPanel and whm Amazon machine image will configure the instance and launch it will configure an elastic IP address will connect to the instance to set the password and then we'll connect to WHM are you ready then let's get right to it let's login to Amazon Web Services in our first video of the series we created an Amazon Web Services account will use the account from the first video to log into the Amazon Web Services website after you log in the AWS management console page will appear but we don't need this console page for this procedure open a new browser tab and visit this location go cpanel net slash cpanel ami that's lowercase C capital P and then capital ami at the end the cPanel and WH M for Linux page will appear read through this page to learn about pricing support and other important information and then when you're ready click continue to subscribe the subscribe to the software page will appear now you need to accept the terms and conditions for our software when you're ready click accept terms it may take a moment for the offer dates to appear okay click continue to configuration the configure this software page will appear under fulfillment option will select 64-bit Amazon machine image from the menu then will select the preferred software version we strongly encourage you to select the most recent version available in this menu however you can use older versions of the software if you need them don't worry if the newest version in the menu isn't the latest available from cPanel after we initialize the instance it will automatically run the cPanel and whm maintenance script to obtain the latest version of cPanel and WHM then I'll select the data center region amazon's regional data centers are located around the world so select one that's either near your location or near your customers click continue to launch the launch this software page will appear the configuration details section displays the information you entered in the previous page under the choose action menu will select launch from website then under the ec2 instance type select the instance on which to launch this installation of cPanel and WHM each of these instances has different memory amounts CPU cores storage types network performance ratings and prices by the way if you're looking to just try out cPanel and WHM on Amazon Web Services the t2 micro instance is eligible for Amazon's free tier offer I'll select t2 small for this demonstration then we'll select a V PC setting that's an Amazon virtual private cloud setting we'll go with the option the page offers us but you can create a new one if you need it that's for advanced administrators though so let's continue we'll scroll down to the subnet settings menu this is the network subnet on which you'll create the instance we'll go with the option that the page offers us but you can select another from the menu or create a new one if you need it once again that's for advanced administrators so let's continue then we'll scroll down to the security group settings security groups act as a firewall to control traffic for these instances click create new based on seller settings the form will appear we'll give the security group a name and a description then we can set firewall rules for the security group but that's for advanced administrators I'll scroll down and click Save the forum will disappear let's scroll back up to the key pair settings section we'll click create a new key pair in ec2 and a new window will appear click create key pair and a window will appear that asks for the name of the new key I'll give it a name and click create then tell your browser to download the new security key I downloaded my SSH key in the Downloads directory but you can move it to another location if you wish let's return to the previous browser tab then refresh the key pair settings menu and select your new key name from the menu finally let's click launch to launch the instance a new page will appear with a success message congratulations an instance has been successfully deployed click the ec2 console link the ec2 console page will appear right now I've got the T to small and since I just created and an instance that already existed on the account we need to give this instance a name when you move your pointer to that instance a pencil button will appear let's click that button and then we can give this instance a name and click the checkmark there the new name appears in the table for this instance now we need to set up an elastic IP address for this instance in the left sidebar scroll down to the network and security section and click elastic IPS a new page will appear then we'll click allocate new address a new page will appear will select Amazon pool and then click allocate a success message will appear and then we'll click close we return to the elastic ip's page from here we'll go to the Actions menu and click associate address a new page will appear for resource type let's select instance in the instance menu we'll select the instance we just created see that name we gave it finally for the private IP we'll select the available IP address in the list let's leave this reassociation checkbox unchecked ok and then click associate a success message will appear finally click close there we've configured the elastic IP and associated it with our instance let's go to the left side bar and go back to the instances section and click instances the instances page will appear I'll select the instance that I just created the accounts details will appear at the bottom of the page I'll scroll down to the ipv4 public IP and click the icon next to the IP address to copy it to my clipboard now we're ready to use that key pair to log into the server via SSH I'm on a MacBook Pro so I'll open a terminal session then we'll change the permissions on the SSH key file remember I downloaded my SSH key to the Downloads directory but you can move it to another location if you wish I'll use the CH Ahmad command to set the permissions on the key file to zero six zero zero then we'll use the SSH command to connect to the server I'll use the - I flag to use that key file and then I'll specify the user and server by default the username is CentOS then the @ symbol and then the IP address of the server we copied it to our clipboard so we can paste it in here I'll accept the warning for the connection and there we've logged into the server via SSH next we'll change the root password enter the command sudo pas swd then enter a new password and confirm it there we've changed the password let's go back to the browser and open a new tab in that tab we'll go to the WHM login page for our new instance the URL for that is HTTP colon slash slash the IP address a colon and the number 208 seven your browser may give you a few security warnings later on you can set up a hostname certificate to secure your server and get rid of these warnings eventually the WHM login interface will appear log in to WHM as the root user with the new password and the license agreement interface will appear every cPanel and WHM server that's new on a particular IP address comes with a 15-day demonstration license you can contact cpanel if you wish to buy a license or you can buy one directly from the whm interface anyway now that we're here the server is ready to configure just like any other cPanel and whm server I'll include links to the documentation in the video description okay for more information about cPanel your hosting platform of choice visit cpanel comm or follow us on twitter at cpanel what did you think of this video let us know in the comments and for more helpful videos subscribe to our cpanel TV channel thank you for watching and I'll see you on the cloud [Music]

Leave a Reply

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