Skip to main content

Posts

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