Skip to main content

Posts

Showing posts from February, 2020

43-Dev-git cmds

43-Dev-git cmds Harsha Veerapalli... .git clone https://github.com/username/repository  git clone https://github.com/NAVEENMJ/1 git status .git init .git status ... getting red cloure  ( a.txt ) .git add file.txt or  (git add .) .git push .git push -u origin master .................. .git branch ---list of branches .git checkout -b branch ...Creaing branches .git merge branch ... presnt in master then merge.. ................................... .git status .git init .git status ... getting red cloure  ( a.txt ) .git add file.txt .git status .... getting green cloure  ( new file: a.txt) [if multipull files in folder use git add .] .git commit -m "COMMIT-1" .. Hear COMMIT-1 Means giving name in genralli changed  name given .git log ......changes ...times.. modifi that file a.txt...... .git status .git add . .git status .git commit -m "COMMIT-2" .cls .git log ..........i want go before comited version....

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

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 .......

40.AWS-Ansible Notpad open

40.AWS-Ansible Notpad open ---------------------- .........................       .......... ........AWS-Ansible-Basics....... Ansible,puppet,chef,saltstack, ansible----ssh only.. remaing requried clint side agent installation.. ..launch 2inst..ubuntu 16.04..  give names of vms 1.controller and 2.nod1  name reulation controller...nod1 ping controller... check pingong simillarly vias versa..  ..login to controller..using putty..  ....... cahnging host name........  ..A..login putty.. controller instance.... 1.root@ip-10-1-1-100:~# nano /etc/hostname   chane pvt.ip   to controller 2.root@ip-10-1-1-100:~# nano /etc/hosts      past pvt.ip this vm     controller.local   controller                                            past pvt.ip other vm    node1...

39 TERRAFORME

39 TERRAFORME git code.... https://github.com/mavrick202/terraformsingleinstance https://www.knanda.net/ in windos cmd C:\Users\NAVEEN> C:\Users\NAVEEN>cd\ C:\>cd C:\Users\NAVEEN\Downloads\39.terraform_0.11.10_windows_386 C:\Users\NAVEEN\Downloads\39.terraform_0.11.10_windows_386> dir terraform init terraform plan .terraform plan --var-file test.tfvars .terraform apply --var-file test.tfvars yes .terraform destroy --var-file test.tfvars yes ..main.tf -variables.tf - ec2.tf - test.tfvar  ...   ( After completing Task- terraform.tfstate    File Created..)

38 CLI

38 CLI google.. aws cli downlode.. set variable in computer..       C:\Program Files\Amazon\AWSCLI install vm in aws and open putty terminal.. ec2-metadata ssh-keygen ....enter button 3re times.. [root@ip-10-1-1-100 ~]# ls /root/.ssh/ authorized_keys  id_rsa  id_rsa.pub    ...............pem and publick files.respectivally. [root@ip-10-1-1-100 ~]# cat /root/.ssh/id_rsa.pub .. create two users user-1 AKIAJ2LEC2CDIICKN2FA N52J+9Obe/w8YAuyqO8UBDhfnu4AawzE0sghnhqa .. user-2.. AKIAIQ5TNEZBKAMOMIXA juZKXo3+BzS1iR6C9584ynb3XjzaP3IwGdY4n6kv aws configure ...enter aces.id,pas,region,formate [root@ip-10-1-1-100 ~]# cd ~ [root@ip-10-1-1-100 ~]# pwd /root [root@ip-10-1-1-100 ~]# cd ~/.ssh/ [root@ip-10-1-1-100 .ssh]# [root@ip-10-1-1-100 .ssh]# ll total 12 -rw------- 1 root root  544 Dec  8 15:27 authorized_keys -rw------- 1 root root 1679 Dec  8 15:43 id_rsa -rw-r--r-- 1 root root  400 Dec  8 15:43...

37.Step Function&Machine Learning

37.Step Function&Machine Learning 37.AWS-Step Functions-Machine-Learning  lamda... maximum 5 mintus.. program excution time...3k secondes..... So over come this using  Step Functions. .Step Functions used in server less computing.. ..APPLICATION INTEGRATION....... 1.step function (server less computing lamda supportes 5mintus 3k secondes more than to run scriptes we use this step function, deploying recources to cloud formation to run dynamo DB and ext given .. like. ex:Step Functions-State machines-DynamoDB To SQS StateMachine-z9hurRgyPWU6-testing1-Visual workflow) 2.Simple Queue Service (one application to communicate with another application this one used) 3.simple notification service(SNS) ( topics- create new topics- selct that one and actions Subscrib to topic.. for triggering.. sett email or lamda.or more..) 4.AMAZONE MQ (or apachi mq,  for messaging in betweetn application,,you can migrate messaging and applications without rewriting code.)...

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...

35.AWS.DOCKERandECS

35.AWS.DOCKERandECS -------------------- ..... docker is comany name, .Monilithic And Microservice (Containers). a.install vm ubuntu16.04 LTS...(Long Tarm Support..) b.login ssh ubuntu@DNSpublicip, google - docks.docker....Docker CE-Linux-ubuntu- https://docs.docker.com/  https://docs.docker.com/install/linux/docker-ce/ubuntu/      ...vist web sit best...get all cmds sudo su - 1.Update the apt package index: apt-get update 2.Install packages to allow apt to use a repository over HTTPS: apt-get install \     apt-transport-https \     ca-certificates \     curl \     software-properties-common 3.Add Docker’s official GPG key:  curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - 4. apt-key fingerprint 0EBFCD88 5.version inf lsb_release -a 6. sudo add-apt-repository \    "deb [arch=amd64] https://download.docker.com/linux/ubuntu \    $(lsb_...

34.AWS-DevTools

34.AWS-DevTools Developer Tools::: 1..Cloud9:  free service,.. Create env-name-env setting(vm,type)-next step-create env.(backend created one vm) google-tomcat snakes github.. go link..https://github.com/aws-samples/eb-tomcat-snakes then go to cloud9- git clone https://github.com/aws-samples/eb-tomcat-snakes.git {readme.md.. file edit ,cd eb-tomcat-snakes/,git status 2.:: like github,or Bit Bucket.  create a repositery-Repository settings-create- 3.CodeBuild::  like In jenkines...like mavines (java)... --- artifacts:    files:     - ROOT.war discard-paths: true phases:   install:     commands:           - "apt-get install git -y"           - "chmod 700 build.sh"           - "sh build.sh" version: 0.2 4.CodeDeploy:::artiffact deploying on server... 5.CodePipeline::abou alll step by step ..failed harsha due to NAT issue.. 6....

33.AWS-Data-Anylytics

33.AWS-Data-Anylytics .................. Analytics:::: 1.Athena: UN STRUCHED DATA,S3 USED,LOGS,json,csv,EXTC Study doc,,, 2.QuickSight:: like used in red shift Power BI for data visuvalation in pi chart and bar chart  select data from s3, athena,salsforce,sql,read shift  ..and more....watch video..12.02 .. 3.EMR:(Elastic MapReduce): create cluster- config... used in hadoop (big data) backend installing vm... 4.CloudSearch: create and config a search domine- uplode the data you want to search-send search re. to yur domine   for searching data like searching instagaram pics very fastlly 5.Elasticsearch Service: (23.46)    ELK: Elastic Search Logstash Kibana    working: Logstash(logs of webserverlogs,application logs,)  Elasticsearch - Kibana    google - aws elb  kibana reports ... ex: modi is goole most searchable in india..    google search - logz.io  free trail use...https://logz.io/   ...

32.AWS-Route53-CloudFront-RAM

32.AWS-Route53-CloudFront-RAM                ........ A.Security, Identity, & Compliance:: .............................................. 1.Resource Access Manager:(RAM):  Create a resource share- (NAME ,Resources -subnet,trasientgate way sharing to other aws accounts) 2.Security Hub:(7.18) checking problems taking all inf and gives report...Like Gaurd Duty.. B..Networking & Content Delivery:: ......................................... 1.Route 53::(8.22) DNS: ip to name,name to ip, two servers set up in 2 differen region and connect rout53,                             a.naveenmj.xyz (public ip of inst or elb end point) .... www.naveenmj.xyz--                             b.naveenmj.xyz (public ip of inst or elb end point) .... yum update -y,nano /usr/share/nginx/html/ind...