{"id":9678,"date":"2016-11-15T07:20:39","date_gmt":"2016-11-15T07:20:39","guid":{"rendered":"http:\/\/mobisoftinfotech.com\/resources\/?p=9678"},"modified":"2025-10-06T14:43:41","modified_gmt":"2025-10-06T09:13:41","slug":"launch-aws-ec2-server-set-ubuntu-16-04","status":"publish","type":"post","link":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04","title":{"rendered":"How To Launch An AWS EC2 Server And Set Up Ubuntu 16.04 On It"},"content":{"rendered":"<p>In this tutorial, We will learn how to setup an AWS EC2 Instance from scratch. We will configure the Ubuntu 16.04 OS on the server. Also we will do some essential configuration like setting up the hostname, correct locale and NTP service.<\/p>\n<p>This requires the following steps:<\/p>\n<p>For this particular tutorial, I have logged into my AWS EC2 account in N.Virginia zone.<\/p>\n<p>When you Go to &gt; EC2 dashboard. Here, In case we have no instances running (0 Running Instances), we need Go to &gt; instances and select <strong>Launch Instances<\/strong>.<\/p>\n<p><a href=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Resouces-0Running-Instance.png\"><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9664\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Resouces-0Running-Instance.png\" alt=\"Resouces 0Running Instance\" width=\"745\" height=\"345\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Resouces-0Running-Instance.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Resouces-0Running-Instance-300x139.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9664 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E\" alt=\"Resouces 0Running Instance\" width=\"745\" height=\"345\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Resouces-0Running-Instance.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Resouces-0Running-Instance-300x139.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Resouces-0Running-Instance.png\"><\/a><\/p>\n<p><a href=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Launch-Instances.png\"><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9662\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Launch-Instances.png\" alt=\"Launch Instances\" width=\"745\" height=\"345\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Launch-Instances.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Launch-Instances-300x139.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9662 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E\" alt=\"Launch Instances\" width=\"745\" height=\"345\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Launch-Instances.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Launch-Instances-300x139.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Launch-Instances.png\"><\/a><\/p>\n<p><strong>Step no.1<\/strong><br>\n<strong>Choose an Amazon Machine Image (Ami)<\/strong><\/p>\n<p>Go to &gt; <strong> Ubuntu Server 16.04 Lts (HVM), SSD, Volume type-ami- 2ef48339<\/strong>, which is the latest Ami from Ubuntu and which will have support for next 5 years (approx).<\/p>\n<p>Select and use &gt; 64-bit version.<\/p>\n<p><a href=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Unbuntu-Ami-64.png\"><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9665\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Unbuntu-Ami-64.png\" alt=\"Unbuntu Ami (64)\" width=\"745\" height=\"345\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Unbuntu-Ami-64.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Unbuntu-Ami-64-300x139.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9665 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E\" alt=\"Unbuntu Ami (64)\" width=\"745\" height=\"345\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Unbuntu-Ami-64.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Unbuntu-Ami-64-300x139.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Unbuntu-Ami-64.png\"><\/a><\/p>\n<p><strong>Step no.2<\/strong><br>\n<strong>Choose an Instance Type<\/strong><br>\nFor this tutorial,<\/p>\n<p>Use a t2.micro instance (low to moderate). Go to&gt; Next<\/p>\n<p><a href=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/t2.micro-instance.png\"><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9666\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/t2.micro-instance.png\" alt=\"t2.micro instance\" width=\"745\" height=\"345\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/t2.micro-instance.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/t2.micro-instance-300x139.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9666 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E\" alt=\"t2.micro instance\" width=\"745\" height=\"345\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/t2.micro-instance.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/t2.micro-instance-300x139.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/t2.micro-instance.png\"><\/a><\/p>\n<p><strong>Step no.3<\/strong><br>\n<strong>Configure Instance Details<\/strong><br>\nHere number of instance is \u20181\u2019. Let it be as default VPC and the default Subnet.<\/p>\n<p><a href=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/changing-VPC.jpg\"><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9667\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/changing-VPC.jpg\" alt=\"changing VPC\" width=\"745\" height=\"345\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/changing-VPC.jpg 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/changing-VPC-300x139.jpg 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9667 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E\" alt=\"changing VPC\" width=\"745\" height=\"345\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/changing-VPC.jpg 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/changing-VPC-300x139.jpg 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/changing-VPC.jpg\"><\/a><\/p>\n<p>Go to &gt; \u2018Shutdown Behavior\u2019.<\/p>\n<p>For Production server,in option \u2018Shutdown Behavior\u2019, let it be as \u2018stop\u2019.<\/p>\n<p>Go to &gt; \u2018Protect Against Accidental Termination\u2019 and enable it, in order to prevent server being terminated quite easily.<\/p>\n<p>Here, We are not going to enable \u2018CloudWatch Detailed Monitoring\u2019.<\/p>\n<p>Go to&gt; Add storage<\/p>\n<p><strong>Step no.4<\/strong><br>\n<strong>Add Storage<\/strong><br>\nBy default, EC2 comes with an 8 GiB disk size<\/p>\n<p><a href=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Ec2-8gb.png\"><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9668\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Ec2-8gb.png\" alt=\"Ec2 8gb\" width=\"745\" height=\"345\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Ec2-8gb.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Ec2-8gb-300x139.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9668 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E\" alt=\"Ec2 8gb\" width=\"745\" height=\"345\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Ec2-8gb.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Ec2-8gb-300x139.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Ec2-8gb.png\"><\/a><\/p>\n<p>8GiB is not sufficient for most of the server scenarios as you want to have some room for things like log files and backups. So we need to choose a provision for 25 GiB disk space in general.<\/p>\n<p>Always use <strong>General Purpose SSD (GP2)<\/strong> unless you have a reason to choose a \u2018<strong>Magnetic<\/strong>\u2019 Disk.<\/p>\n<p>\u2018<strong>Provisional IOPS SSD (IO1)<\/strong> is a specialized type of disk which is very expensive and should be used only for high performance database requirements with the client approval.<\/p>\n<p>You should use \u2018Delete On Termination\u2019 always.<\/p>\n<p><a href=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Delete-on-termination.png\"><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9669\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Delete-on-termination.png\" alt=\"Delete on termination\" width=\"745\" height=\"345\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Delete-on-termination.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Delete-on-termination-300x139.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9669 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E\" alt=\"Delete on termination\" width=\"745\" height=\"345\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Delete-on-termination.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Delete-on-termination-300x139.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Delete-on-termination.png\"><\/a><\/p>\n<p>This way it will be ensured that this volume would be deleted once the server is deleted.<\/p>\n<p><strong>Step no. 5<\/strong><br>\n<strong>Tag Instance<\/strong><\/p>\n<p>Give a good name to the server. Good policy is to use the final domain name that you\u2019re going to assign to the server.<\/p>\n<p><a href=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Domain-name.png\"><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9670\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Domain-name.png\" alt=\"Domain name\" width=\"745\" height=\"345\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Domain-name.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Domain-name-300x139.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9670 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E\" alt=\"Domain name\" width=\"745\" height=\"345\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Domain-name.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Domain-name-300x139.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Domain-name.png\"><\/a><\/p>\n<p><strong>Step no. 6<\/strong><br>\n<strong>Configure Security Group<\/strong><\/p>\n<p>By default, generally you have one Security Group but you should create a new Security Group as per the purpose of the server. For example, you might want to create Security Group for Web servers differently from that of the database servers.<\/p>\n<p><a href=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Security-Group.png\"><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9671\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Security-Group.png\" alt=\"Security Group\" width=\"745\" height=\"345\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Security-Group.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Security-Group-300x139.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9671 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E\" alt=\"Security Group\" width=\"745\" height=\"345\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Security-Group.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Security-Group-300x139.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Security-Group.png\"><\/a><\/p>\n<p>I am going to create a new Security Group and name it as \u201c<strong>WebServers<\/strong>\u201d and change the description to \u201c<strong>WebServers Security Group<\/strong>\u201d<\/p>\n<p><a href=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Webservers-Name-description.png\"><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9672\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Webservers-Name-description.png\" alt=\"Webservers Name &amp; description\" width=\"745\" height=\"345\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Webservers-Name-description.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Webservers-Name-description-300x139.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9672 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E\" alt=\"Webservers Name &amp; description\" width=\"745\" height=\"345\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Webservers-Name-description.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Webservers-Name-description-300x139.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Webservers-Name-description.png\"><\/a><\/p>\n<p>By default, this allows you to have SSH access. From here, you can control the sources, as in, from where the users would be able to do SSH login. So, for general servers, we keep it to \u201cAnywhere\u201d<\/p>\n<p><strong>Step no. 7<\/strong><br>\n<strong>Review and Launch<\/strong><\/p>\n<p>Review and if everything is in order, then select \u2018Launch\u2019. When you select \u2018Launch\u2019 a pop up will appear which will give you an option of either using existing Key Pair or create a new Key Pair.<\/p>\n<p><a href=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Review-and-launch.png\"><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9673\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Review-and-launch.png\" alt=\"Review and launch\" width=\"745\" height=\"345\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Review-and-launch.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Review-and-launch-300x139.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9673 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E\" alt=\"Review and launch\" width=\"745\" height=\"345\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Review-and-launch.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Review-and-launch-300x139.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Review-and-launch.png\"><\/a><\/p>\n<p>It is generally preferred that instead of using the same key pair for all servers, you should create a new one for certain groups of servers. Though, you might want to keep one key pair per account where you need to have only 3-4 servers per account which might be the case for small webapps.<\/p>\n<p><a href=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Keypair.png\"><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9674\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Keypair.png\" alt=\"Keypair\" width=\"745\" height=\"345\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Keypair.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Keypair-300x139.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9674 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E\" alt=\"Keypair\" width=\"745\" height=\"345\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Keypair.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Keypair-300x139.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Keypair.png\"><\/a><\/p>\n<p>Now, for creating a new Key pair<\/p>\n<p>Go to &gt; \u201c Create a new pair\u201d and then name it as \u2018demoserver\u2019.<\/p>\n<p>Download the newly created Key Pair. Once, it is downloaded, you can <em>Launch<\/em> Instance.<\/p>\n<p>Once the server get launched we can login using SSH. For that, I would require to access the Pem file. If you run this command, you might see that the permission for the Pem file is-<\/p>\n<p><code>rw-r--r--<\/code><\/p>\n<p><a href=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/pem-file.png\"><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9675\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/pem-file.png\" alt=\"pem file\" width=\"745\" height=\"345\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/pem-file.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/pem-file-300x139.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9675 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E\" alt=\"pem file\" width=\"745\" height=\"345\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/pem-file.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/pem-file-300x139.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/pem-file.png\"><\/a><\/p>\n<p>This means that other people can also read this Pem file. This is not allowed for SSH Pem files. So, we will have to change the permission for this Pem file to 400.<\/p>\n<p><code>$ chmod 400 demoserver.pem<\/code><\/p>\n<p>Now, only the current user can read this Pem file and these are permission that a Pem file expects.<\/p>\n<p><a href=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/pem-file-permission.png\"><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9676\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/pem-file-permission.png\" alt=\"pem file permission\" width=\"745\" height=\"345\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/pem-file-permission.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/pem-file-permission-300x139.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-9676 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E\" alt=\"pem file permission\" width=\"745\" height=\"345\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20345%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/pem-file-permission.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/pem-file-permission-300x139.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/pem-file-permission.png\"><\/a><\/p>\n<p>Now, our server is running but it doesn\u2019t have the Elastic IPs.<\/p>\n<p>In ec2, when you stop a server and start it all over again, the Public IP of the server changes. This is generally not desirable for most of the deployment. So, in this case, you would want to assign an Elastic IP address which doesn\u2019t change during server stop\/start.<\/p>\n<p>For this, Go to&gt; Elastic IPs and select \u2018Allocate a new address\u2019.<\/p>\n<p>Right click on the newly allocated address and choose \u2018Associate Address\u2019. In this, select the name of the server you want to associate the IP address with. In this case I will choose i-02719532.<\/p>\n<p>Now, I\u2019ll login to server:<\/p>\n<p><code>$ ssh -i demoserver.pem ubuntu@50.17.127.41<\/code><\/p>\n<p>Since, I am in the same directory where the Pem file is present. I do not need the full path for the pem file.<\/p>\n<p>I would now require to setup a hostname with this command<\/p>\n<p><code><br>\n$ echo $HOST_NAME | sudo tee \/etc\/hostname<\/code><\/p>\n<p>This basically, inserts \u201cdemosetup\u201d word in \u2018\/etc\/hostname\u2019 path. After this, run<\/p>\n<p><code>$ sudo hostname -F \/etc\/hostname<\/code><\/p>\n<p>So, if we restart the server we will see this hostname reflected here (instead of the IP) but before that we will run some more commands. So that we do not have to restart time and again.<\/p>\n<p>The setting up of Fully Qualified Domain Name (FQDN) is optional but is a good to have practise so that if some server software depends on this FQDN then it will find it here.<\/p>\n<p>Though, it is good to have the FQDN setup to the final sub-domain that you would want to the server to have, it is not really required. It can be any arbitrary FQDN. So, I\u2019ll first have to edit following file:<\/p>\n<p><code>$ sudo vi \/etc\/hosts<\/code><\/p>\n<p>Then we need to add the following line below the localhost line that should be already present in the file:<\/p>\n<p><code>50.17.127.41 demosetup.mobisoftinfotech.com demosetup<\/code><\/p>\n<p><strong>Next, Upgrade the system<\/strong><\/p>\n<p>Run the command:<\/p>\n<p><code>$ sudo apt-get update<\/code><\/p>\n<p>\u2018apt-get update command\u2019 updates sources for various packages. The actual upgrade happens with the upgrade command. To upgrade the installed packages run:<\/p>\n<p><code>$ sudo apt-get upgrade<\/code><\/p>\n<p>It is a good practise to update your system before doing any other setup so that all the security patches are applied to the server.<\/p>\n<p>Now, we should <strong>Set the locale<\/strong> for the system. And we will set the locale to<br>\n<strong>en_US.UTF-8<\/strong>\u2019<\/p>\n<p>This is very important for database systems so that if you\u2019re supporting multilingual databases, the data is represented correctly.<\/p>\n<p><code>$ echo 'LC_ALL=en_US.UTF-8' | sudo tee -a \/etc\/environment<\/code><br>\n<code>$ echo 'LANG=en_US.UTF-8' | sudo tee -a \/etc\/environment<\/code><\/p>\n<p>This service ensures the clock is always synchronized with the remote servers. This will always give you perfect time for all data related operations.<\/p>\n<p>This is important mainly for database system as well as for programs which need date calculations. Almost all enterprises systems need correct date to be setup on the server. So, this is very important to configure on the server.<\/p>\n<p>Now we need to force the system clock to sync with the NTP. For that we need to run following commands:<\/p>\n<p><code>$ sudo service ntp stop<\/code><br>\n<code>$ sudo ntpdate -s time.nist.gov<\/code><br>\n<code>$ sudo service ntp start<\/code><\/p>\n<p>Now, we are ready to restart our system.<\/p>\n<p>We will run the command to \u2018restart the system\u2019:<\/p>\n<p><code>$ sudo init 6<\/code><\/p>\n<p>We will have to wait for a couple of minutes for our system to reboot. Once the system is up and running, do the SSH login and you can see that the hostname is set to demosetup.<\/p>\n<p>At this point, our <strong>Basic server setup<\/strong> is complete!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, We will learn how to setup an AWS EC2 Instance from scratch. We will configure the Ubuntu 16.04 OS on the server. Also we will do some essential configuration like setting up the hostname, correct locale and NTP service. This requires the following steps: For this particular tutorial, I have logged into [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":9683,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"yes","footnotes":""},"categories":[450],"tags":[609],"class_list":["post-9678","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mguide","tag-aws-ec2-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Launch An AWS EC2 Server And Set Up Ubuntu 16.04 On It<\/title>\n<meta name=\"description\" content=\"In this tutorial, We will Learn How to Setup an AWS EC2 Instance from Scratch. We will Configure the Ubuntu 16.04 OS on The Server and Some Essential Configuration Too.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Launch An AWS EC2 Server And Set Up Ubuntu 16.04 On It\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, We will Learn How to Setup an AWS EC2 Instance from Scratch. We will Configure the Ubuntu 16.04 OS on The Server and Some Essential Configuration Too.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04\" \/>\n<meta property=\"og:site_name\" content=\"Mobisoft Infotech\" \/>\n<meta property=\"article:published_time\" content=\"2016-11-15T07:20:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-06T09:13:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-launch-an-AWS-EC2-server-and-set-up-Ubuntu-16.04-on-it.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"853\" \/>\n\t<meta property=\"og:image:height\" content=\"391\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Pritam Barhate\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pritam Barhate\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04#article\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04\"},\"author\":{\"name\":\"Pritam Barhate\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee\"},\"headline\":\"How To Launch An AWS EC2 Server And Set Up Ubuntu 16.04 On It\",\"datePublished\":\"2016-11-15T07:20:39+00:00\",\"dateModified\":\"2025-10-06T09:13:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04\"},\"wordCount\":1244,\"image\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-launch-an-AWS-EC2-server-and-set-up-Ubuntu-16.04-on-it.jpg\",\"keywords\":[\"AWS EC2 Server\"],\"articleSection\":[\"MGuide\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04\",\"name\":\"How To Launch An AWS EC2 Server And Set Up Ubuntu 16.04 On It\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04#primaryimage\"},\"image\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-launch-an-AWS-EC2-server-and-set-up-Ubuntu-16.04-on-it.jpg\",\"datePublished\":\"2016-11-15T07:20:39+00:00\",\"dateModified\":\"2025-10-06T09:13:41+00:00\",\"author\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee\"},\"description\":\"In this tutorial, We will Learn How to Setup an AWS EC2 Instance from Scratch. We will Configure the Ubuntu 16.04 OS on The Server and Some Essential Configuration Too.\",\"breadcrumb\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04#primaryimage\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-launch-an-AWS-EC2-server-and-set-up-Ubuntu-16.04-on-it.jpg\",\"contentUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-launch-an-AWS-EC2-server-and-set-up-Ubuntu-16.04-on-it.jpg\",\"width\":853,\"height\":391,\"caption\":\"How to launch an AWS EC2 server and set up Ubuntu 16.04 on it\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/mobisoftinfotech.com\/resources\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Launch An AWS EC2 Server And Set Up Ubuntu 16.04 On It\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/\",\"name\":\"Mobisoft Infotech\",\"description\":\"Discover Mobility\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee\",\"name\":\"Pritam Barhate\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g\",\"caption\":\"Pritam Barhate\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Launch An AWS EC2 Server And Set Up Ubuntu 16.04 On It","description":"In this tutorial, We will Learn How to Setup an AWS EC2 Instance from Scratch. We will Configure the Ubuntu 16.04 OS on The Server and Some Essential Configuration Too.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04","og_locale":"en_US","og_type":"article","og_title":"How To Launch An AWS EC2 Server And Set Up Ubuntu 16.04 On It","og_description":"In this tutorial, We will Learn How to Setup an AWS EC2 Instance from Scratch. We will Configure the Ubuntu 16.04 OS on The Server and Some Essential Configuration Too.","og_url":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04","og_site_name":"Mobisoft Infotech","article_published_time":"2016-11-15T07:20:39+00:00","article_modified_time":"2025-10-06T09:13:41+00:00","og_image":[{"width":853,"height":391,"url":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-launch-an-AWS-EC2-server-and-set-up-Ubuntu-16.04-on-it.jpg","type":"image\/jpeg"}],"author":"Pritam Barhate","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Pritam Barhate","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04#article","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04"},"author":{"name":"Pritam Barhate","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee"},"headline":"How To Launch An AWS EC2 Server And Set Up Ubuntu 16.04 On It","datePublished":"2016-11-15T07:20:39+00:00","dateModified":"2025-10-06T09:13:41+00:00","mainEntityOfPage":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04"},"wordCount":1244,"image":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04#primaryimage"},"thumbnailUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-launch-an-AWS-EC2-server-and-set-up-Ubuntu-16.04-on-it.jpg","keywords":["AWS EC2 Server"],"articleSection":["MGuide"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04","url":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04","name":"How To Launch An AWS EC2 Server And Set Up Ubuntu 16.04 On It","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04#primaryimage"},"image":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04#primaryimage"},"thumbnailUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-launch-an-AWS-EC2-server-and-set-up-Ubuntu-16.04-on-it.jpg","datePublished":"2016-11-15T07:20:39+00:00","dateModified":"2025-10-06T09:13:41+00:00","author":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee"},"description":"In this tutorial, We will Learn How to Setup an AWS EC2 Instance from Scratch. We will Configure the Ubuntu 16.04 OS on The Server and Some Essential Configuration Too.","breadcrumb":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04#primaryimage","url":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-launch-an-AWS-EC2-server-and-set-up-Ubuntu-16.04-on-it.jpg","contentUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-launch-an-AWS-EC2-server-and-set-up-Ubuntu-16.04-on-it.jpg","width":853,"height":391,"caption":"How to launch an AWS EC2 server and set up Ubuntu 16.04 on it"},{"@type":"BreadcrumbList","@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/launch-aws-ec2-server-set-ubuntu-16-04#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mobisoftinfotech.com\/resources\/"},{"@type":"ListItem","position":2,"name":"How To Launch An AWS EC2 Server And Set Up Ubuntu 16.04 On It"}]},{"@type":"WebSite","@id":"https:\/\/mobisoftinfotech.com\/resources\/#website","url":"https:\/\/mobisoftinfotech.com\/resources\/","name":"Mobisoft Infotech","description":"Discover Mobility","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee","name":"Pritam Barhate","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g","caption":"Pritam Barhate"}}]}},"_links":{"self":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/9678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/comments?post=9678"}],"version-history":[{"count":7,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/9678\/revisions"}],"predecessor-version":[{"id":43641,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/9678\/revisions\/43641"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/media\/9683"}],"wp:attachment":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/media?parent=9678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/categories?post=9678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/tags?post=9678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}