Skip to main content

41.AWS-Puppet-Basicscc

41.AWS-Puppet-Basicscc

----------------------------------------------


.................
..create two vms 1.puppet managment..20gb. puppetmaster     2.puppet clint...puppetclint

1.login to puppet management
ubuntu@ip-10-1-1-100:~$ sudo su -
root@ip-10-1-1-100:~# nano /etc/hostname   ....... replace pvtip to puppet
root@ip-10-1-1-100:~# nano /etc/hosts ...add 10.1.1.100      puppet.local    puppet         
                                             10.1.2.200      puppetagent.local       puppetagent

in puppet.local =host name.domain name

ec2-100-27-7-86.compute-1.amazonaws.com..... FQDN (fully Qualified  domain name)
----------------  *******************
host name(server name)   domain name

root@ip-10-1-1-100:~# reboot

...........Simillarlly..............

..login to puppetclinte......................................................( Clinte )

ubuntu@ip-10-1-2-200:~$ sudo su -
root@ip-10-1-2-200:~# nano /etc/hostname ..replace pvti.p to puppetagent
root@ip-10-1-2-200:~# nano /etc/hosts ....10.1.1.100      puppet.local    puppet         
..                                          10.1.1.200      puppetagent.local       puppetagent
root@puppetagent:~# ping puppet
..

....in puppet.........................................

..google.. install puppet on ubuntu 16.04 ,,
https://puppet.com/docs/puppet/5.3/puppet_platform.html .....websit

wget https://apt.puppetlabs.com/puppet5-release-xenial.deb
sudo dpkg -i puppet5-release-xenial.deb
sudo apt update

https://puppet.com/docs/puppetserver/5.2/install_from_packages.html ......websit

apt-get install puppetserver
reboot.....
service puppetserver start

root@puppet:~# cd /opt/puppetlabs/puppet/bin
root@puppet:/opt/puppetlabs/puppet/bin# ./puppet --version
root@puppet:/opt/puppetlabs/puppet/bin# service puppet status

root@puppet:/# ping puppetagent


..login to puppetclinte....................................................( Clinte )

wget https://apt.puppetlabs.com/puppet5-release-xenial.deb
sudo dpkg -i puppet5-release-xenial.deb
sudo apt update

https://puppet.com/docs/puppet/5.3/install_linux.html  ..websit google

sudo apt-get install puppet-agent
...
cp /opt/puppetlabs/puppet/bin/* /usr/local/bin/
root@puppetagent:~# puppet -t
...

...........in puppet........................................................

root@puppet:~# cp /opt/puppetlabs/puppet/bin/* /usr/local/bin/
root@puppet:~# puppet cert list
..
puppet cert list
puppet cert list -all
puppet cert list
puppet cert sign puppetagent.local
...
cd /etc/puppetlabs/
code/environments/
ll ..........hear we can creat differen environment folders (ex: production, testing,)
cd production/ ,ll
cd manifests/            ........her manifests in chefe ..coock books
google search .create a user in puppet manifest ..below link directlly
https://puppet.com/docs/puppet/4.9/quick_start_user_group.html


     user { 'testuser1':
        ensure           => 'present',
              home             => '/home/testuser1',
              password         => '!!', ...................enter encripted pass..
              password_max_age => '99999',
              password_min_age => '0',
              shell            => '/bin/bash',
              uid              => '501',
     }

watch video: 29:30 video number 29.30


........................................................in Puppetagent................
puppet agent-t
..65 ..line in managment after..
puppet agent-t       ...geeting test user created..
created or not check...
cat /etc/passwd   ...see last .. user created

............................................................................................




.............................IN PUPPET.....................

..
openssl passwd -1   .. give passwd... then encripted passward given past in to abou scrip
nano site.pp        ....past that code ... pp means poppet polyice
then go clint...

user { 'testuser2':
        ensure           => 'absent',
              home             => '/home/testuser2',
              password         => '!!',...................enter encripted pass
              password_max_age => '99999',
              password_min_age => '0',
              shell            => '/bin/bash',
              uid              => '502',
     }
watch..video 34.00...

................................................
........................................................in Puppetagent................
puppet agent-t
..65 ..line in managment after..
puppet agent-t       ...geeting test user created..
created or not check...
cat /etc/passwd   ...see last .. user created

............................................................................................




user { 'testuser1':
        ensure           => 'absent',
              home             => '/home/testuser2',
              password         => '!!',...................enter encripted pass
              password_max_age => '99999',
              password_min_age => '0',
              shell            => '/bin/bash',
              uid              => '501',
     }

user { 'testuser2':
    ensure           => 'present',
              home             => '/home/testuser2',
              password         => '!!',...................enter encripted pass
              password_max_age => '99999',
              password_min_age => '0',
              shell            => '/bin/bash',
              uid              => '502',
     }




................................................
........................................................in Puppetagent................
puppet agent-t
..65 ..line in managment after..
puppet agent-t       ...geeting test user deleted..
created or not check...
cat /etc/passwd   ...see last .. user deleted..

............................................................................................


installing nginx into  puppet..(39.09)...











----------------------------------------------------------------------
========================================================================
.................
..create two vms 1.puppet managment..20gb. puppetmaster     2.puppet clint...puppetclint

1.login to puppet management
ubuntu@ip-10-1-1-100:~$ sudo su -
root@ip-10-1-1-100:~# nano /etc/hostname   ....... replace pvtip to puppet
root@ip-10-1-1-100:~# nano /etc/hosts ...add 10.1.1.100      puppet.local    puppet         
                                             10.1.2.200      puppetagent.local       puppetagent

in puppet.local =host name.domain name

ec2-100-27-7-86.compute-1.amazonaws.com..... FQDN (fully Qualified  domain name)
----------------  *******************
host name(server name)   domain name

root@ip-10-1-1-100:~# reboot
..google.. install puppet on ubuntu 16.04 ,,
https://puppet.com/docs/puppet/5.3/puppet_platform.html .....websit
wget https://apt.puppetlabs.com/puppet5-release-xenial.deb
sudo dpkg -i puppet5-release-xenial.deb
sudo apt update
https://puppet.com/docs/puppetserver/5.2/install_from_packages.html ......websit
apt-get install puppetserver
reboot.....
service puppetserver start
root@puppet:~# cd /opt/puppetlabs/puppet/bin
root@puppet:/opt/puppetlabs/puppet/bin# ./puppet --version
root@puppet:/opt/puppetlabs/puppet/bin# service puppet status
.....
root@puppet:/# ping puppetagent
...
root@puppet:~# cp /opt/puppetlabs/puppet/bin/* /usr/local/bin/
root@puppet:~# puppet cert list
..
puppet cert list
puppet cert list -all
puppet cert list
puppet cert sign puppetagent.local
...
cd /etc/puppetlabs/
code/environments/
ll ..........hear we can creat differen environment folders (ex: production, testing,)
cd production/ ,ll
cd manifests/            ........her manifests in chefe ..coock books
google search .create a user in puppet manifest ..below link directlly
https://puppet.com/docs/puppet/4.9/quick_start_user_group.html

     user { 'jargyle':
    ensure           => 'present',
              home             => '/home/testuser1',
              password         => '!!',
              password_max_age => '99999',
              password_min_age => '0',
              shell            => '/bin/bash',
              uid              => '501',
     }

watch video: 29:30 video number 29.30
..
openssl passwd -1   .. give passwd... then encripted passward given past in to abou scrip
nano site.pp        ....past that code ... pp means poppet polyice
then go clint...

user { 'jargyle':
    ensure           => 'present',
              home             => '/home/testuser2',
              password         => '!!',
              password_max_age => '99999',
              password_min_age => '0',
              shell            => '/bin/bash',
              uid              => '502',
     }
watch..video 34.00...









2..login to puppetclinte......

ubuntu@ip-10-1-2-200:~$ sudo su -
root@ip-10-1-2-200:~# nano /etc/hostname ..replace pvti.p to puppetagent
root@ip-10-1-2-200:~# nano /etc/hosts ....10.1.1.100      puppet.local    puppet         
..                                          10.1.1.200      puppetagent.local       puppetagent
root@puppetagent:~# ping puppet
..

wget https://apt.puppetlabs.com/puppet5-release-xenial.deb
sudo dpkg -i puppet5-release-xenial.deb
sudo apt update
https://puppet.com/docs/puppet/5.3/install_linux.html  ..websit google
sudo apt-get install puppet-agent
...
cp /opt/puppetlabs/puppet/bin/* /usr/local/bin/
root@puppetagent:~# puppet -t
...
puppet agent-t
..65 ..line in managment after..
puppet agent-t       ...geeting test user created..
created or not check...
cat /etc/passwd   ...see last .. user created




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

Comments

Popular posts from this blog

36.Migration & Transfer

36.Migration & Transfer Migration & Transfer:::...... .............................................. 1.Snowball::(data moving only,like box, 10gb connectivety, 80terrabytes supportes one box,encripted for portable purpouse ,aws snow mobi- like truck 40gb connectivety bunch of snow balles in side truck, we use this services for not having enf bandwidth, snowball edge.study dock) 2.Server Migration Service:: ( virtual servers not for physical servers, free tool,  google search aws sms limits, onprimisess to cloude, to over com use 3rd party tools lik platespin migrate aws,cloud endure,zerto aws )  15.54 .. video harshas desktop..(google - aws sms user guide,planning diffuclt but implementation easy,  google - aws 6r , acess key and security key required,replication,finally creating AMI) 3.Database Migration Service(crating one instnce to take replication from on premisiss to stor in aws RDS,or more given directions,trasfer over vpn) 4.AWS Migration...

42-AWS-PROJECT-CERTIFATION

42-AWS-PROJECT-CERTIFATION ... GOOGLE....aws 6r..... 1. 2. 3. 4. 5. 6. PRE SALE -POST SALE::: DPR: Detailed PROJECT REPORT. RFI : REQUSTE FOR INF. RFP : REQUEST FOR PROPEROSAL RFQ : REQ     FOR QOOTE POC: PROOF OF CONCEPT HLD: HIGH LEVEL DEGINE  CEO,LEVEL,  HIG LEVEL DIAGROM LLD: LOW LEVEL DEGINE  .. AWS , VPC, ...... BUILD SHETT: FULL DETIALS OF IP NO.. ALL PIN TO PIN UAT: USER ACCEPTANCEY TEST ORT: OPERATION REDINESS TEST SING OFF : REMAINING AMOUT COLLECT CLOSE ARCHITECTURE: AWS CERTIFICATION: Jayandra Patil AWS .............. AWS sysops bluprint

31.AWS-AD Directory Service-SSO-Orgs

31.AWS-AD Directory Service-SSO-Orgs  ............................................................ A..Security, Identity, & Compliance:    ................................: 1.Directory Service:   .Directory service -setup-aws managed microsoft AD-next-standerd- (naveenmj.xyz,,this is my corp AD domine,pass)-next- vpc- selct two subnet, (backend two vms created) , -Create Directory. Backe end two winos vms deploying two Differ A.Z..Takes Time(This is PAAS ) .(8.13) .Lanch one vm- Microsoft Windows Server 2016 Base - free - t2Large(2 Core,8GBRAM) ,,,login to windows server ...user-Administrator, pass: .. .Installing ADTolles-:(13.28)-OpenSystemManager-Manager-AddRolesandFeature-Next-Next-RemoteServerAdministrationTolls- in that-RoleAdministn.Tolls-select.AD DS and AD LDS Tools-Next-Install- after instaall-Close. .Changing system name:-(17.19)-Open RUN- Type sysdm.cpl-Change-Givename(DC01)-ok- close-restart. 31.55-Go..Now login to Windos vm- Run...