This repository was archived by the owner on Jul 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Features:
9
9
- Saving cost using a spot instance (from $1/month)
10
10
- Fixed source IP address by reattaching ENI
11
11
- Supporting Systems Manager Session Manager
12
- - Disable costly resources for compatibility with workspaces
12
+ - Compatible with workspaces
13
13
14
14
Terraform 0.12 is required.
15
15
@@ -65,8 +65,10 @@ Take a look at the diagram:
65
65
66
66
![ diagram] ( diagram.svg )
67
67
68
- By default an instance of the latest Amazon Linux 2 is launched.
69
- The instance will run [ init.sh] ( data/init.sh ) to enable NAT as follows:
68
+ By default the latest Amazon Linux 2 image is used.
69
+ You can set ` image_id ` for a custom image.
70
+
71
+ The instance will execute [ ` runonce.sh ` ] ( runonce.sh ) and [ ` snat.sh ` ] ( snat.sh ) to enable NAT as follows:
70
72
71
73
1 . Attach the ENI to ` eth1 ` .
72
74
1 . Set the kernel parameters for IP forwarding and masquerade.
@@ -94,7 +96,7 @@ module "nat" {
94
96
}
95
97
```
96
98
97
- See also the [ example] ( example/ ) for more.
99
+ See also [ cloud-init modules ] ( https://cloudinit.readthedocs.io/en/latest/topics/modules.html ) and the [ example] ( example/ ) for more.
98
100
99
101
100
102
### SSH access
You can’t perform that action at this time.
0 commit comments