-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathsession-24.txt
51 lines (31 loc) · 1.09 KB
/
session-24.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
ansible vault
--------------
storage of secrets
asaiavaa --> siva
adaeavaoapas --> devops
encoding --> a proper pattern to encode the text
aadaaeaavaaoaapaas
encryption with password --> AES256 (mathematic algorithm)
dfkgfagjg;gjgg --> devops
u4392854194586174598yhf --> devops
how to create ansible vault
--------------------------
ansible-vault create /path/some-name.yaml
dynamic inventory
--------------------------
we have servers, domains
we had on premise servers, apps are deployed manually
we used shell script to configure
2016 --> internet usage, digital revolution
2010/2012 --> EU, US
autoscaling of servers highly required
we are using ansible to configure
- if you have more servers dynamically
10 servers now --> because of traffic
I need to run ansilbe playbook against these servers
ansible --> AWS --> fetch ip address of the servers dynamically
fetch instances with name web in us-east-1
plug and play
if ansible have plugin to connect aws ec2, we can fetch ip addresses
boto and botocore --> aws python modules
ansible uses boto and botocore in background to connect aws