Share it on :
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 firstname.lastname@example.org. 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.