-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update AWS HA autoscale and starter cluster examples to use hardened …
…AMIs with Graviton/ARM64 (#35956) AWS starter and HA autoscale cluster examples are outdated now that legacy AMIs have been deprecated. Update them to use hardened AMIs and bump AWS terraform provider to v5.x. Graviton is the preferred (and cheaper) platform on EC2, so our documentation /example code should use such instance types. This also means using ARM64 builds as well. Remove the `monitor` role and associated infrastructure (as the new hardened AMIs lack telegraf, influxdb, etc.). s/letsencrypt/Let's Encrypt/ Ref #34282. Ref #36110. Closes #2734. Closes #4756. Closes #4572.
- Loading branch information
Showing
51 changed files
with
155 additions
and
950 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ [email protected] | |
TELEPORT_DOMAIN_NAME=gus-tftestkube4.gravitational.io | ||
TELEPORT_DYNAMO_TABLE_NAME=gus-tftestkube4 | ||
TELEPORT_DYNAMO_EVENTS_TABLE_NAME=gus-tftestkube4-events | ||
TELEPORT_INFLUXDB_ADDRESS=http://gus-tftestkube4-monitor-ae7983980c3419ab.elb.us-east-1.amazonaws.com:8086 | ||
TELEPORT_LICENSE_PATH=/home/gus/downloads/teleport/license-gus.pem | ||
TELEPORT_LOCKS_TABLE_NAME=gus-tftestkube4-locks | ||
TELEPORT_S3_BUCKET=gus-tftestkube4.gravitational.io | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ [email protected] | |
TELEPORT_DOMAIN_NAME=gus-tftestkube4.gravitational.io | ||
TELEPORT_DYNAMO_TABLE_NAME=gus-tftestkube4 | ||
TELEPORT_DYNAMO_EVENTS_TABLE_NAME=gus-tftestkube4-events | ||
TELEPORT_INFLUXDB_ADDRESS=http://gus-tftestkube4-monitor-ae7983980c3419ab.elb.us-east-1.amazonaws.com:8086 | ||
TELEPORT_LICENSE_PATH=/home/gus/downloads/teleport/license-gus.pem | ||
TELEPORT_LOCKS_TABLE_NAME=gus-tftestkube4-locks | ||
TELEPORT_S3_BUCKET=gus-tftestkube4.gravitational.io | ||
|
@@ -90,4 +89,4 @@ load fixtures/common | |
load ${TELEPORT_CONFD_DIR?}/conf | ||
echo "${AUTH_BLOCK?}" | ||
echo "${AUTH_BLOCK?}" | grep -E "^ authentication:" -A3 | grep -q "second_factor:" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ [email protected] | |
TELEPORT_DOMAIN_NAME=gus-tftestkube4.gravitational.io | ||
TELEPORT_DYNAMO_TABLE_NAME=gus-tftestkube4 | ||
TELEPORT_DYNAMO_EVENTS_TABLE_NAME=gus-tftestkube4-events | ||
TELEPORT_INFLUXDB_ADDRESS=http://gus-tftestkube4-monitor-ae7983980c3419ab.elb.us-east-1.amazonaws.com:8086 | ||
TELEPORT_LOCKS_TABLE_NAME=gus-tftestkube4-locks | ||
TELEPORT_S3_BUCKET=gus-tftestkube4.gravitational.io | ||
USE_ACM=false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ [email protected] | |
TELEPORT_DOMAIN_NAME=gus-tftestkube4.gravitational.io | ||
TELEPORT_DYNAMO_TABLE_NAME=gus-tftestkube4 | ||
TELEPORT_DYNAMO_EVENTS_TABLE_NAME=gus-tftestkube4-events | ||
TELEPORT_INFLUXDB_ADDRESS=http://gus-tftestkube4-monitor-ae7983980c3419ab.elb.us-east-1.amazonaws.com:8086 | ||
TELEPORT_LICENSE_PATH=/home/gus/downloads/teleport/license-gus.pem | ||
TELEPORT_LOCKS_TABLE_NAME=gus-tftestkube4-locks | ||
TELEPORT_S3_BUCKET=gus-tftestkube4.gravitational.io | ||
|
@@ -95,4 +94,4 @@ load fixtures/common | |
load ${TELEPORT_CONFD_DIR?}/conf | ||
echo "${AUTH_BLOCK?}" | ||
echo "${AUTH_BLOCK?}" | grep -E "^ proxy_listener_mode: multiplex" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ [email protected] | |
TELEPORT_DOMAIN_NAME=gus-tftestkube4.gravitational.io | ||
TELEPORT_DYNAMO_TABLE_NAME=gus-tftestkube4 | ||
TELEPORT_DYNAMO_EVENTS_TABLE_NAME=gus-tftestkube4-events | ||
TELEPORT_INFLUXDB_ADDRESS=http://gus-tftestkube4-monitor-ae7983980c3419ab.elb.us-east-1.amazonaws.com:8086 | ||
TELEPORT_LICENSE_PATH=/home/gus/downloads/teleport/license-gus.pem | ||
TELEPORT_LOCKS_TABLE_NAME=gus-tftestkube4-locks | ||
TELEPORT_S3_BUCKET=gus-tftestkube4.gravitational.io | ||
|
@@ -89,4 +88,4 @@ load fixtures/common | |
load ${TELEPORT_CONFD_DIR?}/conf | ||
echo "${AUTH_BLOCK?}" | ||
echo "${AUTH_BLOCK?}" | grep -E "^ authentication:" -A5 | grep -q "rp_id: ${TELEPORT_DOMAIN_NAME?}" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.