Learn Amazon Web Services (AWS) basics with Faizan Nabi

Updated by Faizan Nabi on July 04, 2018

Share it on :


Learn Amazon Web Services (AWS) basics with Faizan Nabi

AWS is a platform that provides software as a service. There are numerous web services provided by AWS ranging from domain parking to Analytics. They say it’s free for the Ist year once you register and this phase is termed as free tier phase. Once its over they charge you on per hour basis. Some of these web services that we are going to use in the initial phase are: 1.) AWS EC2 2.) AWS RDS 3.) AWS SES 4.) AWS Workmail 1.) AWS EC2 : AWS EC2 stands for Elastic Compute Cloud. This service provides us the server instances from the cloud. These server instances are like the computers allotted to you each time when you create the instance. You are priviledged as a root user so configuring such an instance is much more flexible. Its like using a dedicated server when you are dealing with the AWS EC2 instance. Before setting up any server instance you need to set the region of your choice for the cloud. These instances come in various flavors and its your choice to choose one of those. Some of the flavors with their various versions are Ubuntu, Amazon Linux, RedHat Linux, SUSE Linux and Windows Server. Some of these instances are free tier eligible and some dont fall in this category. Among these flavours what I suggest is to use ubuntu 16.04 as its compatibility level with other softwares is much more flexible than any other instance type. In free tier version they provide you each instance with a RAM of 970 Mbs and a SSD storage of 8 Gbs, both of which are scalable. Its like having a dedicated server with full fledged root user priviledges. During setup of an EC2 instance you need to set the default value to the options as those options follow the free tier version except few like we need to set the security groups that govern the connection with your instance. Its like setting up a firewall for your EC2 instance. Also we need to generate a key file and download it to our local machine which is used by a FTP client like FileZilla as a password to connect to our server. Besides this we can have an SSH access to our instance as well. Once all this done we are ready to launch our instance and it may take few minutes to launch any particular server instance. Once the instance is launched we are provided with some url which is not user friendly and that url can make us see the public view of our instance. In order to make it somewhat user friendly and domain compatible we need to create an elastic IP and associate it with our instance. Elastic IP is a public IP that you can associate, disassociate and later on reassociate with any server instance of yours. This IP can be later on pointed using any domain. Once we have associated the Elastic IP to any server, its now publicly accessible by that IP. All what we need to do now is to configure our server within such that we can run the web platform of our choice. Like we need to install the apache server along with PHP and Mysql for running a PHP based app. One of the issues that we face in case of heavy platforms like Magento is that we run short of RAM while we are executing the commands. In order to get rid of it we need to use the paging technique i.e. we have to implement the swap memory. This technique uses SSD for storing the less priortized data for short time from RAM while its processing the high priortized data. The instance that I have configured, I have used 2Gbs of swap memory.2. ) AWS RDS : AWS RDS stands for AWS Relational Database Service. Like EC2 we have RDS instances. Its like having a seperate database server with its own host url and credentials such that it can be accessed through any app. Like EC2 we need to set the security groups or firewall rules that govern the inbound and outbound traffic to our database server. We can choose an existing or create a new security group. Like EC2, RDS provides us various flavors of Databases like Amazon Aroura, Amazon Aurora with parallel query feature, MySQL, MariaDB, PostgreSQL, Oracle, Microsoft SQL Server. Among these Amazon Aurora instances are not free tier eligible. What we are going to use in our project is MySQL. So after choosing MySQL option we move on to setting up our default database and credentials as usual. Besides that the security groups need to be setup up as well. We can use such a database server instance for storing multiple databases and we can access this server via SSH. Once all options are set we are ready to launch our instance. Like EC2, RDS also takes few minutes to launch and creating server backups of its own. Once the server instance is with the status running, we can access it using the host url alloted to us along with the credentials via SSH. 3. AWS SES : AWS SES stands for AWS Simple Email Service which can be used for bulk mailing or Newsletter mailing. SES only needs your domain and email verification to work which can be acheived by updating the DNS settings of your domain and email verification via mailed link. 4. AWS Workmail : AWS Workmail is a business email id generator. A business email id is like abc@company.com. Like SES Workmail also needs you to verify your domain by updating the domain DNS settings. Besides that Workmail also provides you with the client web application to access your Workmail account.


Key Features to Look for in a Salesforce Cisco Integration
Configuring Ubuntu AWS EC2 server instance to support PHP and MySQL with Faizan Nabi
This app will tell you how long airport security wait times will be
IoT becomes BIoT
Machine learning is helping computers spot arguments online before they happen
AWS analytics tools help make sense of big data
Are ‘you’ just inside your skin or is your smartphone part of you
Machine Learning and AI trends for 2018: What to Expect
4th Gen Core i7 vs 8th Gen Core i7: Is It Worth the Upgrade for PC Gamers
Google's new browser experiment lets you learn about basic AI



@hash_peers