Thursday, February 23, 2017

Getting Started with AWS and cloud computing concepts

Cloud  Computing  is a really big domain and understanding its concepts and practical approach .

Computing services and its some of component listed here :

Cloud  Category 
---------------------

1.  SAAS     
2.  StAAS
3.  IAAS 
4.  PAAS  

IN  AWS  we  are discussing  about  some sort of services  listed below :-


  1.   Virtual Service  Model for client access 



2.   IAAS  service  overview : providing complete infra is called IAAS .




3.   StAAS  Storage service overview for AWS or Openstack




4.   Ec2 access diagram with real seen 







We explain more  ....

NFS Deployment on EC2

Network File System 

OS :  Redhat / Centos  7

NFS  is one of the most popular  protocol  for Directory sharing  among Linux/Unix based Servers and Operating  system .




 Configuring  NFS  Server  : 


Step 1 :     Login to your EC2 instances  and get root account access  and Install software as given bleow

root@adhoclabs:~# yum  install nfs-utils  rpcbind  

Step 2  :    Create or choose a  Directory  which you want share

Note :     in my case i am creating

root@adhoclabs:~# mkdir  /test

Step  3 :    Export this directory  to  /etc/exports   , this file should be  look like this  use any text editor to edit .

i)   share in Read only mode 

root@adhoclabs:~#  cat   /etc/exports 

/test              *(ro)                              


ii)  share in  read write mode 

[root@ip-172-31-31-234 ~]# chmod  o+w   /test


root@adhoclabs:~#  cat   /etc/exports 

/test              *(rw)          


starting  the nfs  service

======================


[root@ip-172-31-31-234 ~]# systemctl  start   nfs-server

[root@ip-172-31-31-234 ~]# systemctl  start   rpcbind


Now client  side  :  

Note :   generally nfs  is  used for  linux based  clients  sharing 

Step  1:  Installing  client side software  

[root@ip-172-31-31-134 ~]# yum  install  nfs-utils  -y

Step  2:  check with   sharepoint 

[root@ip-172-31-31-134 ~]# showmount  -e  52.26.249.237
Export list for 52.26.249.237:
/test *

Step  3 : mount is somewhere 

[root@ip-172-31-31-134 ~]# mkdir    /mnt/d
[root@ip-172-31-31-134 ~]# mount  52.26.249.237:/test  /mnt/d