Skip to main content

15.AWS-SMS-EC2-Part3

15.AWS-SMS-EC2-Part3
..........................................................................................................................................................

..SYSTEMS MANAGER SERVICES(SMS)....... OR SSM - System State Manage



Running cmds or scripts remotly.
Patching - Updates.
State Compliance and Automation.( Ansible configuration like )

User: A persone who log in to AWS Manage it.

Group: Set of users are a group

Role: For Accessing one aws service to other AWS service( like S3 - Ec2)


1.create one role:..........

-IAM- role- create-EC2-select police(SSMF)- Create Role name

2.Create 2 INst(with role):............

-IN aws Linux Deful having SMS clinte other AMI'S Reuired SMS clint
- That 2 inst one add IAM Role Other one don't add..

A..SMS--

3.SMS- RUN Command-Run cmd- select AWS-RunShellScript-select instance(one visable so othher one not vis so add role to that vm)-
-( ps -ef, nohup /usr/bin/amazon-ssm-agent restart, )- now visable 2 instances-
-select 2 inst(if having 100s of server use Tages.. to runing scriptes) - commands-
..creating users.......
#!/bin/bash
sudo useradd testuser1
sudo useradd testuser2
-Run- status - sucess-
.login to servers check-. cat /etc/passwd - in last creating users(like, sudo useradd testuser1 ,sudo useradd testuser2)

..delcting users...
#!/bin/bash
sudo userdel testuser1
sudo userdel testuser2
-run-check status-login to server check-cat /etc/passwd- that use's deleted..

..install packages like nginx and more ---- using run -scripts ...(for fully customizedmeans configuring .. using chef, ansible,)


B..AUTOMATIONS::....................

--Creating documntation and runinng scripts.....

.for creating snap shots..
.

C..State Manger::.......................

- selct-for shdule running....for crating images sheduled..
-selct crate image- everyday -time-selcted insted created crating peroically-and -keep backups..simillary in lifecycle Manger for snap shots ,hear images can taken
-





D.Configuration and compliance::
 -for onpremisis.. purpuse used...


......system manager shared resource..........




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


















Comments

Popular posts from this blog

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

Azure Devops tutorial

 Azure Devops tutorial: web sit-  Projects - Home (azure.com) AZURE DEVOPS - Organization - Projects Under project- --------- Under Pipelines ---> Pipelines( CI ) -  Under Pipelines --->Releases( CD ) -  ------------------------------------------------------------------------------------------------------------------------- Azure Pipelines:--- Pipeline structure:- A pipeline is one or more stages that describe a CI/CD process. Stages are the major divisions in a pipeline. The stages "Build this app," "Run these tests," and "Deploy to preproduction" are good examples. A stage is one or more jobs, which are units of work assignable to the same machine. You can arrange both stages and jobs into dependency graphs. Examples include "Run this stage before that one" and "This job depends on the output of that job." A job is a linear series of steps. Steps can be tasks, scripts, or references to external templates. This hierarchy is refle...

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