You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 12, 2021. It is now read-only.
Copy file name to clipboardexpand all lines: os/booting-on-ec2.md
+48-48
Original file line number
Diff line number
Diff line change
@@ -265,22 +265,22 @@ First we need to create a security group to allow Container Linux instances to c
265
265
</li>
266
266
<li>
267
267
Use <a href="provisioning.md">ct</a> to convert the following configuration into an Ignition config, and back in the EC2 dashboard, paste it into the "User Data" field.
268
-
```yaml container-linux-config:ec2
269
-
etcd:
270
-
# All options get passed as command line flags to etcd.
271
-
# Any information inside curly braces comes from the machine at boot time.
272
-
273
-
# multi_region and multi_cloud deployments need to use {PUBLIC_IPV4}
# listen on both the official ports and the legacy ports
277
+
# legacy ports can be omitted if your application doesn't depend on them
278
+
listen_client_urls: "http://0.0.0.0:2379"
279
+
listen_peer_urls: "http://{PRIVATE_IPV4}:2380"
280
+
# generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3
281
+
# specify the initial size of your cluster with ?size=X
282
+
discovery: "https://discovery.etcd.io/<token>"
283
+
```
284
284
<ul>
285
285
<li>Paste configuration into "User Data"</li>
286
286
<li>"Continue"</li>
@@ -339,22 +339,22 @@ First we need to create a security group to allow Container Linux instances to c
339
339
</li>
340
340
<li>
341
341
Use <a href="provisioning.md">ct</a> to convert the following configuration into an Ignition config, and back in the EC2 dashboard, paste it into the "User Data" field.
342
-
```yaml container-linux-config:ec2
343
-
etcd:
344
-
# All options get passed as command line flags to etcd.
345
-
# Any information inside curly braces comes from the machine at boot time.
346
-
347
-
# multi_region and multi_cloud deployments need to use {PUBLIC_IPV4}
# listen on both the official ports and the legacy ports
351
+
# legacy ports can be omitted if your application doesn't depend on them
352
+
listen_client_urls: "http://0.0.0.0:2379"
353
+
listen_peer_urls: "http://{PRIVATE_IPV4}:2380"
354
+
# generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3
355
+
# specify the initial size of your cluster with ?size=X
356
+
discovery: "https://discovery.etcd.io/<token>"
357
+
```
358
358
<ul>
359
359
<li>Paste configuration into "User Data"</li>
360
360
<li>"Continue"</li>
@@ -413,22 +413,22 @@ First we need to create a security group to allow Container Linux instances to c
413
413
</li>
414
414
<li>
415
415
Use <a href="provisioning.md">ct</a> to convert the following configuration into an Ignition config, and back in the EC2 dashboard, paste it into the "User Data" field.
416
-
```yaml container-linux-config:ec2
417
-
etcd:
418
-
# All options get passed as command line flags to etcd.
419
-
# Any information inside curly braces comes from the machine at boot time.
420
-
421
-
# multi_region and multi_cloud deployments need to use {PUBLIC_IPV4}
0 commit comments