-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathSession-30.txt
38 lines (25 loc) · 950 Bytes
/
Session-30.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
Module developer
-----------------
resource creation/definitions are here
variables are must, because diff projects have diff requirements
data, locals, functions
module developer has to give documentation about inputs and outputs
Module user
-----------------
he need to provide variables/inputs according to documentation
vpc module
-----------------
we should only allow user to create resources in 1a and 1b region. he can give any region
we should only accept 2 public/private/database subnets.
let's ask project name from user so that we can give
<project-name>-public-<az>
<project-name>-private-<az>
<project-name>-database-<az>
vpc
any server if it wants to install some packages it needs to connect internet
NAT --> it should elastic IP
ISP will give dynamic IP address
you can request ISP to provide static IP, but they charge like 500-1000 rs
EIP
NAT Gateway
we need to add that as route in private and database route tables