Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
228 commits
Select commit Hold shift + click to select a range
68aa58f
Update docusaurus.config.js
niallthomson Nov 18, 2023
5334d26
Merge branch 'main' into build-14d24a4
niallthomson Nov 28, 2023
2592a52
Remove self-service setup instructions
niallthomson Nov 28, 2023
6428b7e
Remove files that reference setup
niallthomson Nov 28, 2023
079d833
Merge branch 'main' into build-14d24a4
niallthomson Nov 28, 2023
aab88fd
Update docusaurus.config.js
svennam92 Nov 28, 2023
e265b0f
Update inference.md
svennam92 Nov 28, 2023
182462c
Update index.md
svennam92 Nov 28, 2023
557c6d8
Update docusaurus.config.js
svennam92 Nov 28, 2023
f2693e8
Update docusaurus.config.js
svennam92 Nov 28, 2023
f09cd3e
Fix helm provider
niallthomson Nov 28, 2023
6f672be
Reinstate karpenter and aiml
niallthomson Nov 28, 2023
b69263a
Update docusaurus.config.js
niallthomson Nov 28, 2023
f9ace6d
Update docusaurus.config.js
niallthomson Nov 28, 2023
9144f02
Update docusaurus.config.js
niallthomson Nov 28, 2023
1316cb4
Remove Cloud9 tab from navigating page
niallthomson Oct 3, 2024
fbf0662
Specific changes for ReInvent (#1186)
ROunofF Dec 2, 2024
3bf7b90
[Fix] Remove Unused content to fix broken links (#1189)
ROunofF Dec 2, 2024
e1733e2
Tweak flow for reinvent (#1190)
ROunofF Dec 2, 2024
4d01ba6
Error if credentials set in terminal
niallthomson Dec 3, 2024
f85b2fc
Update access-code for RIV
ROunofF Dec 3, 2024
e04a99c
Restructure intro section
avinashdesireddy Aug 6, 2025
d02a78b
Intro restructure
avinashdesireddy Aug 21, 2025
20f30d2
Merge branch 'main' of https://github.com/avinashdesireddy/eks-worksh…
avinashdesireddy Sep 23, 2025
7239d80
Restructure Intro
avinashdesireddy Sep 29, 2025
d23278d
Merge changes from main
avinashdesireddy Sep 29, 2025
6b63ad6
code updates
avinashdesireddy Oct 2, 2025
2ddacc9
Merge branch 'aws-samples:main' into feature/k8sintro
avinashdesireddy Oct 3, 2025
8f30534
Add Kubernetes basics pages(ns, pods, deploy, ss & ds)
avinashdesireddy Oct 4, 2025
d928f1d
Kubernetes basics content update
avinashdesireddy Oct 4, 2025
764f740
Kubernetes basics content update
avinashdesireddy Oct 5, 2025
7c3ae94
Fix k8s basics services test
avinashdesireddy Oct 5, 2025
d4adb57
K8s basics content updates
avinashdesireddy Oct 5, 2025
41b0f92
K8s basics content updates
avinashdesireddy Oct 5, 2025
3f1c675
Merge branch 'feature/k8sintro' of https://github.com/avinashdesiredd…
avinashdesireddy Oct 6, 2025
7f8b3e6
K8s basics content updates
avinashdesireddy Oct 6, 2025
d83bfae
fix page order
avinashdesireddy Oct 6, 2025
dfc4f46
add test durations
avinashdesireddy Oct 6, 2025
67a1447
fix broken links
avinashdesireddy Oct 6, 2025
064b3e0
update dependencies
avinashdesireddy Oct 6, 2025
85eafcf
Merge branch 'aws-samples:main' into feature/k8sintro
avinashdesireddy Oct 6, 2025
5c4b240
sync yarn.lock with main
avinashdesireddy Oct 6, 2025
5b32a28
Update yarn.lock
niallthomson Oct 6, 2025
45607fc
consolidate labs
avinashdesireddy Oct 13, 2025
898d1af
Merge branch 'feature/k8sintro' of https://github.com/avinashdesiredd…
avinashdesireddy Oct 13, 2025
a698ba0
feat: [WIP] Add EKS Auto Mode learning paths with improved navigation…
svennam92 Oct 14, 2025
b0f4910
Developer and Operator Fast Path changes
parth-pandit Oct 17, 2025
ee52e62
Use eksctl for consistency
ROunofF Oct 15, 2025
ae1dd07
Trying parallel
ROunofF Oct 18, 2025
7aa6bd0
Added auto mode cluster a bit more
ROunofF Oct 18, 2025
bf168ef
Reset context to EKS_CLUSTER
ROunofF Oct 18, 2025
3bc30be
Operator Fast Path Changes
parth-pandit Oct 20, 2025
e7eef9a
Pass the right variable in exec
ROunofF Oct 20, 2025
1c28fde
Run in parallel
ROunofF Oct 20, 2025
4eff2ee
Move to reset with both cluster
ROunofF Oct 20, 2025
9da0c06
Operator Fast Path: Karpenter module changes
parth-pandit Oct 20, 2025
9ccb220
Operator Fast Path: Network policy setup
parth-pandit Oct 20, 2025
5ee652d
Ensure completeness
ROunofF Oct 21, 2025
3b49556
Merge remote-tracking branch 'parth/parthgp-riv25' into riv25-fast
ROunofF Oct 21, 2025
5fdb936
Terraform for fastpath into preprovision
ROunofF Oct 21, 2025
696e23e
Fix
ROunofF Oct 21, 2025
5d73767
Added vars file
ROunofF Oct 21, 2025
5abe1f5
Cleanup and use var correctly
ROunofF Oct 21, 2025
bddd872
Using correct endpoint
ROunofF Oct 21, 2025
6190347
Fix
ROunofF Oct 21, 2025
71c4335
Fix for use 2.17 provider
ROunofF Oct 21, 2025
ba434ab
Added accessEntry to be able to install helm chart
ROunofF Oct 22, 2025
90945f1
Debug
ROunofF Oct 22, 2025
ffcab0f
Debug more
ROunofF Oct 22, 2025
949bdc9
Moved to eksctl
ROunofF Oct 22, 2025
b59a3ed
Moved to eksctl
ROunofF Oct 22, 2025
7a0f2e9
Use alias for safety
ROunofF Oct 22, 2025
cd6add1
Move provider to base
ROunofF Oct 22, 2025
95dde41
Added providers
ROunofF Oct 22, 2025
1a3e76c
Added provider in missing helm_release
ROunofF Oct 22, 2025
ffcd336
Operator Fast Path: fixes for secrets manager and network policy labs
parth-pandit Oct 22, 2025
45fb0a2
Testing new version
ROunofF Oct 23, 2025
885d25b
Fix
ROunofF Oct 23, 2025
b6adcc3
Fix
ROunofF Oct 23, 2025
789e30c
Override name
ROunofF Oct 23, 2025
a5cf2e3
Install just small bump version
ROunofF Oct 23, 2025
6e42889
We want both context
ROunofF Oct 23, 2025
ec89df7
Change to use prepare-environment and make reset-environment work as …
ROunofF Oct 23, 2025
1b8cd67
Fix namespace
ROunofF Oct 23, 2025
b8b3f4e
Update to EKS Pod Identities
ROunofF Oct 23, 2025
6908dea
Put serviceAccount on the right resource
ROunofF Oct 23, 2025
8a4e38f
Trying fix for EKS Pod Identities
ROunofF Oct 23, 2025
d1d7997
Added pod identity association for external-secrets
ROunofF Oct 24, 2025
2444219
Merge remote-tracking branch 'parth/parthgp-riv25' into riv25
ROunofF Oct 24, 2025
05f9482
Remove unused terraform
ROunofF Oct 24, 2025
d062bfd
Modify external secrets to work with pod identity
ROunofF Oct 24, 2025
b677af0
Added missing terraform for fastpath module
ROunofF Oct 24, 2025
9738069
Fix lint
ROunofF Oct 24, 2025
60566c2
Remove unused file
ROunofF Oct 24, 2025
7ebf9f5
chore: Make sure netlify build uses yarn immutable (#1659)
niallthomson Oct 6, 2025
ff27e72
chore(deps): update ide binaries (#1660)
renovate[bot] Oct 7, 2025
4efceda
chore(deps): update dependency aws/karpenter-provider-aws to v1.7.1 (…
renovate[bot] Oct 7, 2025
2fef7cc
Update installer.sh
niallthomson Oct 7, 2025
5d08c8d
chore(deps): update dependency aws/amazon-ec2-instance-selector to v3…
renovate[bot] Oct 7, 2025
c11e350
chore(deps): update dependency chai to v6.2.0 (#1664)
renovate[bot] Oct 7, 2025
5cf46cd
chore(deps): update dependency lint-staged to v16.2.3 (#1665)
renovate[bot] Oct 7, 2025
6ed8127
chore(deps): update dependency sass to v1.93.2 (#1666)
renovate[bot] Oct 7, 2025
8a88b49
Hide CodePipeline lab until issues are resolved
niallthomson Oct 7, 2025
24fe99a
Bump code-server version
niallthomson Oct 7, 2025
5e4891b
Use Bitnami Legacy events exporter image
niallthomson Oct 7, 2025
bc3db03
chore(deps): update font awesome to v7.1.0 (#1668)
renovate[bot] Oct 7, 2025
0f1e55a
chore(deps): update helm release aws-load-balancer-controller to v1.1…
renovate[bot] Oct 7, 2025
8761eb2
chore(deps): update terraform (#1671)
renovate[bot] Oct 7, 2025
703cdf4
chore(deps): update yarn to v4.10.3 (#1672)
renovate[bot] Oct 8, 2025
c703da8
chore(deps): update helm release keda to v2.18.0 (#1673)
renovate[bot] Oct 8, 2025
043e883
chore(deps): update dependency aws/karpenter-provider-aws to v1.8.0 (…
renovate[bot] Oct 8, 2025
653c7dc
chore(deps): update dependency fluxcd/flux2 to v2.7.2 (#1675)
renovate[bot] Oct 8, 2025
37c023f
chore(deps): update karpenter docker tag to v1.8.0 (#1676)
renovate[bot] Oct 8, 2025
7372f8b
chore(deps): update dependency @types/node to v22.18.9 (#1677)
renovate[bot] Oct 9, 2025
4e14017
chore(deps): update dependency aws/karpenter-provider-aws to v1.8.1 (…
renovate[bot] Oct 9, 2025
ea805ca
chore(deps): update terraform (#1679)
renovate[bot] Oct 10, 2025
772372b
chore(deps): update dependency markdown-link-check to v3.14.0 (#1680)
renovate[bot] Oct 10, 2025
1a3b689
chore(deps): update helm release cluster-autoscaler to v9.51.0 (#1681)
renovate[bot] Oct 10, 2025
4f040c4
chore(deps): update dependency react-tooltip to v5.30.0 (#1682)
renovate[bot] Oct 11, 2025
4d552e4
chore(deps): update dependency lint-staged to v16.2.4 (#1683)
renovate[bot] Oct 11, 2025
c55cf82
chore(deps): update dependency @types/node to v22.18.10 (#1685)
renovate[bot] Oct 11, 2025
b592d22
chore(deps): update dependency markdown-link-check to v3.14.1 (#1686)
renovate[bot] Oct 11, 2025
1833901
chore(deps): update dependency mikefarah/yq to v4.48.1 (#1687)
renovate[bot] Oct 12, 2025
b6340c5
chore(deps): update dependency kubernetes/autoscaler to v1.33.2 (#1688)
renovate[bot] Oct 14, 2025
0b02da8
chore(deps): update terraform (#1689)
renovate[bot] Oct 14, 2025
721a317
feat: [WIP] Add EKS Auto Mode learning paths with improved navigation…
svennam92 Oct 14, 2025
69f0008
Use eksctl for consistency
ROunofF Oct 15, 2025
1546116
Trying parallel
ROunofF Oct 18, 2025
0cda13c
Added auto mode cluster a bit more
ROunofF Oct 18, 2025
75d88fb
Reset context to EKS_CLUSTER
ROunofF Oct 18, 2025
9185602
Pass the right variable in exec
ROunofF Oct 20, 2025
76ba21f
Run in parallel
ROunofF Oct 20, 2025
53edd21
Move to reset with both cluster
ROunofF Oct 20, 2025
0df28e9
Ensure completeness
ROunofF Oct 21, 2025
ee0a559
Developer and Operator Fast Path changes
parth-pandit Oct 17, 2025
e2f8bc5
Operator Fast Path Changes
parth-pandit Oct 20, 2025
2a63f36
Operator Fast Path: Karpenter module changes
parth-pandit Oct 20, 2025
f5cba74
Operator Fast Path: Network policy setup
parth-pandit Oct 20, 2025
b724686
Terraform for fastpath into preprovision
ROunofF Oct 21, 2025
1e5cdba
Fix
ROunofF Oct 21, 2025
2c72d12
Added vars file
ROunofF Oct 21, 2025
ae28a31
Cleanup and use var correctly
ROunofF Oct 21, 2025
3d02040
Using correct endpoint
ROunofF Oct 21, 2025
88995b6
Fix
ROunofF Oct 21, 2025
f9e0558
Fix for use 2.17 provider
ROunofF Oct 21, 2025
43ec68f
Added accessEntry to be able to install helm chart
ROunofF Oct 22, 2025
94e880d
Debug
ROunofF Oct 22, 2025
00778c3
Debug more
ROunofF Oct 22, 2025
f810507
Moved to eksctl
ROunofF Oct 22, 2025
1111b01
Moved to eksctl
ROunofF Oct 22, 2025
322af0b
Use alias for safety
ROunofF Oct 22, 2025
45480a1
Move provider to base
ROunofF Oct 22, 2025
4a58b9b
Added providers
ROunofF Oct 22, 2025
e84abde
Added provider in missing helm_release
ROunofF Oct 22, 2025
981324b
Testing new version
ROunofF Oct 23, 2025
78b09cc
Fix
ROunofF Oct 23, 2025
acf14c8
Fix
ROunofF Oct 23, 2025
a579d50
Override name
ROunofF Oct 23, 2025
d172d24
Install just small bump version
ROunofF Oct 23, 2025
f2064c6
We want both context
ROunofF Oct 23, 2025
d27c339
Change to use prepare-environment and make reset-environment work as …
ROunofF Oct 23, 2025
9c3e547
Fix namespace
ROunofF Oct 23, 2025
f803844
Update to EKS Pod Identities
ROunofF Oct 23, 2025
22e64e9
Put serviceAccount on the right resource
ROunofF Oct 23, 2025
3e2ebf5
Trying fix for EKS Pod Identities
ROunofF Oct 23, 2025
4e043f9
Added pod identity association for external-secrets
ROunofF Oct 24, 2025
c4d9bf1
Operator Fast Path: fixes for secrets manager and network policy labs
parth-pandit Oct 22, 2025
35f22e5
Remove unused terraform
ROunofF Oct 24, 2025
7632e91
Modify external secrets to work with pod identity
ROunofF Oct 24, 2025
8423314
Added missing terraform for fastpath module
ROunofF Oct 24, 2025
a8065bf
Fix lint
ROunofF Oct 24, 2025
03f9797
Remove unused file
ROunofF Oct 24, 2025
6a341c3
Added optional to basic module
ROunofF Oct 24, 2025
46c1931
Merge branch 'avinashdesireddy-feature/k8sintro' into riv25
ROunofF Oct 24, 2025
78e3d7a
Add basic into fastpath
ROunofF Oct 24, 2025
aad64bf
Fixing tests and using fastpaths for consistency
ROunofF Oct 24, 2025
06ad764
Fix operator branch
ROunofF Oct 24, 2025
61040ab
Merge branch 'riv25' into reinvent
ROunofF Oct 25, 2025
d36177f
Merge branch 'reinvent' into snapshot-reinvent
ROunofF Oct 25, 2025
adfb5d4
Working set for snapshot
ROunofF Oct 25, 2025
e85dc3a
Manually add timing
ROunofF Oct 25, 2025
57fcfa0
Added providers for kubectl
ROunofF Oct 27, 2025
30311fd
Added preprovision for eks-pod-identity
ROunofF Oct 27, 2025
81d2d57
Switch instruction to use AUTO_MODE
ROunofF Oct 27, 2025
83ad78f
Mode auto mode ingress to fastpaths
ROunofF Oct 27, 2025
8a15a37
Fix ingress
ROunofF Oct 27, 2025
f033bab
Fix to use the right ALB
ROunofF Oct 27, 2025
d6960dd
Improve some wordings
ROunofF Oct 27, 2025
a12789e
Added preprovision for keda
ROunofF Oct 27, 2025
84bfda5
Disable since we have it from exposing workloads
ROunofF Oct 27, 2025
09fd9fb
Use name instead
ROunofF Oct 27, 2025
2980454
Fix developers
ROunofF Oct 28, 2025
c65e687
Fix for duplicate nlb
ROunofF Oct 28, 2025
5f6a254
Fix namespace and role name matching
ROunofF Oct 28, 2025
d811a7a
Update helm chart for aws-for-fluent-bit
ROunofF Oct 28, 2025
59db7bc
Updat efor EKS Pod Identity
ROunofF Oct 28, 2025
8be34be
Update instructions
ROunofF Oct 28, 2025
75a5a08
Fix formatting
ROunofF Oct 28, 2025
4371e2b
Use -auto to not conflict with the query in exposing
ROunofF Oct 28, 2025
b93e38e
Added missing permission
ROunofF Oct 28, 2025
0785196
Added ability to hide specific while we fix it
ROunofF Oct 28, 2025
c84c1c4
Streamline intro
ROunofF Oct 28, 2025
5ead902
Added output for prepare-time
ROunofF Oct 28, 2025
e74d1fa
Rename load balanacer and create NS since it doesn't exists
ROunofF Oct 28, 2025
453ea7d
Remove setup as it's not needed for RIV
ROunofF Oct 28, 2025
928c862
Move Auto mode on left side
ROunofF Oct 28, 2025
92cea51
Hide some modules for RIV + Basics in title bar
ROunofF Oct 28, 2025
e4a8ed9
Tweak wording
ROunofF Oct 28, 2025
c097182
Fix escaping
ROunofF Oct 29, 2025
e0d6421
Cosmetic change to ensure smoothness
ROunofF Oct 29, 2025
252b683
Various fix, update secrets provider to 2.1.1 since EKS Pod Identity …
ROunofF Oct 30, 2025
fd7f899
Minor improvement to basics
ROunofF Oct 30, 2025
ea8c9b0
Added navigating in the fastpaths
ROunofF Oct 30, 2025
0003e67
Use relative link
ROunofF Oct 30, 2025
51f4fe3
No need for ..
ROunofF Oct 30, 2025
40c17a0
Update after dry-run feedback
ROunofF Oct 30, 2025
daa363d
Tweak to text after dry-run feedback
ROunofF Oct 31, 2025
ef95a62
Remove a duplicate section and mentions it only applies for Modular w…
ROunofF Oct 31, 2025
8d66ad7
minor AM messaging updates
svennam92 Oct 31, 2025
1c5ba85
Change wording around graph to be more consistent with result
ROunofF Nov 7, 2025
f774dc0
fix: operator fast-path changes for reinv branch (#1715)
parth-pandit Nov 12, 2025
a7aa0fe
update: Added copy/paste instructions for Firefox and Safari (#1716)
parth-pandit Nov 13, 2025
203d2a2
update: minor changes in fast-path flows (#1719)
parth-pandit Nov 17, 2025
fef75af
Added HeaderModuleLink
ROunofF Nov 21, 2025
af4c65b
Page for congrats after learning paths
ROunofF Nov 21, 2025
87af6fe
Links to getting started and quote-block prepare-command
ROunofF Nov 21, 2025
699de70
Remove lab for learning paths
ROunofF Nov 25, 2025
7f2f656
Update ingress.yaml
svennam92 Dec 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
233 changes: 117 additions & 116 deletions .spelling
Original file line number Diff line number Diff line change
@@ -1,145 +1,146 @@
# global dictionary is at the start, file overrides afterwards
# one word per line, to define a file override use ' - filename'
# where filename is relative to this configuration file

EKS
Kubernetes
AWS
ack
adot
AIML
apis
architecting
argocd
ASCP
ASG
EC2
VPC
CNI
autoscaled
autoscaler
autoscalers
autoscaling
autoscaled
Karpenter
spec
configmaps
specs
ack
configmap
dynamodb
kustomize
nlb
img
src
home.png
kubectl
yaml
sqs
mq
iam
irsa
cloudformation
kustomization
kustomizations
AWS
aws_region
crossplane
s3
xrd
xr
customresourcedefinition
crd
openapi
sre
xrs
upbound
ui
pre-installed
namespace
json
rds
stateful
sdk
bitnami
burstable
cli
cloud9
cloudformation
cncf
apis
versioned
CNI
cni-tshoot
codebuild
codecommit
codepipeline
configmap
configmaps
containerd
controlplanes
cpu
cpus
crd
crds
argocd
crossplane
customresourcedefinition
daemonset
daemonsets
datasource
DCGM
dev
webhooks
gitops
jsonnet
codecommit
cloud9
devops
distro
dynamodb
EC2
ecommerce
ecr
codebuild
codepipeline
imagerepository
imagepolicy
imageupdateautomation
pre-bootstrap
lifecycle
elasticache
kubecost
EKS
eksctl
OIDC
ONTAP
tolerations
elasticache
fargate
adot
distro
kubelet
inferentia
trainium
ASCP
kubeseal
passcode
statefulset
replicaset
replicasets
daemonset
daemonsets
rolebinding
rolebindings
serviceaccount
serviceaccounts
fluentd
fluentbit
datasource
fluentd
Gitea
gitops
healthcheck
healthchecks
jmes
opentelemetry
jdbc
home.png
hostnames
iam
imagepolicy
imagerepository
imageupdateautomation
img
inferentia
ipamd
nodegroup
controlplanes
ecommerce
webserver
burstable
opensearch
opentelemetrycollector
schedulable
architecting
bitnami
prepper
cpu
cpus
kyverno
weaveworks
nirmal
mehta
sheetal
IPVS
irsa
jdbc
jmes
joshi
json
jsonnet
Karpenter
keda
AIML
DCGM
kubecost
kubectl
kubelet
Kubernetes
kubeseal
kustomization
kustomizations
kustomize
kyverno
lifecycle
loadbalancer
mehta
Mountpoint
IPVS
xvda
mq
NACL
routability
xnew
loadbalancer
namespace
nirmal
nlb
nodeadm
containerd
nodeconfig
cni-tshoot
nodegroup
OIDC
ONTAP
openapi
opensearch
opentelemetry
opentelemetrycollector
passcode
pre-bootstrap
pre-installed
precreated
prepper
rds
replicaset
replicasets
resolv
rolebinding
rolebindings
routability
s3
schedulable
sdk
serviceaccount
serviceaccounts
sheetal
spec
specs
sqs
src
sre
stateful
statefulset
tolerations
trainium
ui
untolerated
upbound
versioned
VPC
weaveworks
webhooks
webserver
Workernodes
Gitea
xnew
xr
xrd
xrs
xvda
yaml
Empty file modified .yarn/releases/yarn-4.10.3.cjs
100755 → 100644
Empty file.
32 changes: 32 additions & 0 deletions cluster/eksctl/cluster-auto.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
availabilityZones:
- ${AWS_REGION}a
- ${AWS_REGION}b
- ${AWS_REGION}c
metadata:
name: ${EKS_CLUSTER_AUTO_NAME}
region: ${AWS_REGION}
version: "1.33"
tags:
karpenter.sh/discovery: ${EKS_CLUSTER_AUTO_NAME}
created-by: eks-workshop-v2
env: ${EKS_CLUSTER_AUTO_NAME}
vpc:
cidr: 10.43.0.0/16
clusterEndpoints:
privateAccess: true
publicAccess: true
autoModeConfig:
enabled: true
nodePools: [general-purpose, system]
accessConfig:
authenticationMode: API
bootstrapClusterCreatorAdminPermissions: true
accessEntries:
- principalARN: ${RESOURCE_CODEBUILD_ROLE_ARN}
accessPolicies:
- policyARN: "arn:aws:eks::aws:cluster-access-policy/AmazonEKSClusterAdminPolicy"
accessScope:
type: cluster

8 changes: 8 additions & 0 deletions docs/style_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ sidebar_custom_props:
---
```

To mark your module as optional:
```
---
...
sidebar_custom_props: { "optional": "true" }
---
```

### Navigating the AWS console

There are instances where the user needs to navigate to specific screens in the AWS console. It is preferable to provide a link to the exact screen if possible, or a close as can be done.
Expand Down
17 changes: 15 additions & 2 deletions hack/create-infrastructure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,18 @@ if [ $cluster_exists -eq 0 ]; then
echo "Cluster ${EKS_CLUSTER_NAME} already exists"
else
echo "Creating cluster ${EKS_CLUSTER_NAME}"
bash $SCRIPT_DIR/exec.sh "${environment}" 'cat /cluster/eksctl/cluster.yaml | envsubst | eksctl create cluster -f -'
fi
bash $SCRIPT_DIR/exec.sh "${environment}" 'cat /cluster/eksctl/cluster.yaml | envsubst | eksctl create cluster -f -'&
fi

auto_cluster_exists=0
aws eks describe-cluster --name "${EKS_CLUSTER_AUTO_NAME}" &> /dev/null || auto_cluster_exists=$?

if [ $auto_cluster_exists -eq 0 ]; then
echo "Auto mode cluster ${EKS_CLUSTER_AUTO_NAME} already exists"
else
echo "Creating auto mode cluster ${EKS_CLUSTER_AUTO_NAME} with terraform"
bash $SCRIPT_DIR/exec.sh "${environment}" 'cat /cluster/eksctl/cluster-auto.yaml | envsubst'
bash $SCRIPT_DIR/exec.sh "${environment}" 'cat /cluster/eksctl/cluster-auto.yaml | envsubst | eksctl create cluster -f -'&
fi

wait
19 changes: 16 additions & 3 deletions hack/destroy-infrastructure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,23 @@ aws eks describe-cluster --name "${EKS_CLUSTER_NAME}" &> /dev/null || cluster_ex
if [ $cluster_exists -eq 0 ]; then
echo "Deleting cluster ${EKS_CLUSTER_NAME}"
bash $SCRIPT_DIR/shell.sh "${environment}" 'delete-environment' || true

bash $SCRIPT_DIR/exec.sh "${environment}" 'eksctl delete cluster --name ${EKS_CLUSTER_NAME} --region ${AWS_REGION} --wait --force --disable-nodegroup-eviction --timeout 45m'
bash $SCRIPT_DIR/exec.sh "${environment}" 'eksctl delete cluster --name ${EKS_CLUSTER_NAME} --region ${AWS_REGION} --wait --force --disable-nodegroup-eviction --timeout 45m'&
else
echo "Cluster ${EKS_CLUSTER_NAME} does not exist"
fi

aws cloudformation delete-stack --stack-name ${EKS_CLUSTER_NAME}-ide-role || true
export EKS_CLUSTER_AUTO_NAME="${EKS_CLUSTER_NAME}-auto"
auto_cluster_exists=0
aws eks describe-cluster --name "${EKS_CLUSTER_AUTO_NAME}" &> /dev/null || auto_cluster_exists=$?

if [ $auto_cluster_exists -eq 0 ]; then
echo "Deleting auto mode cluster ${EKS_CLUSTER_AUTO_NAME}"
bash $SCRIPT_DIR/shell.sh "${environment}" 'delete-environment' || true # Needed ?
bash $SCRIPT_DIR/exec.sh "${environment}" 'eksctl delete cluster --name ${EKS_CLUSTER_AUTO_NAME} --region ${AWS_REGION} --wait --force --disable-nodegroup-eviction --timeout 45m'
else
echo "Auto mode cluster ${EKS_CLUSTER_AUTO_NAME} does not exist"
fi

aws cloudformation delete-stack --stack-name ${EKS_CLUSTER_NAME}-ide-role || true

wait
2 changes: 1 addition & 1 deletion hack/exec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ $CONTAINER_CLI run --rm \
-v $SCRIPT_DIR/../manifests:/manifests \
-v $SCRIPT_DIR/../cluster:/cluster \
--entrypoint /bin/bash \
-e 'EKS_CLUSTER_NAME' -e 'AWS_REGION' -e 'AWS_CONTAINER_CREDENTIALS_RELATIVE_URI' \
-e 'EKS_CLUSTER_NAME' -e 'EKS_CLUSTER_AUTO_NAME' -e 'AWS_REGION' -e 'AWS_CONTAINER_CREDENTIALS_RELATIVE_URI' -e RESOURCE_CODEBUILD_ROLE_ARN \
$aws_credential_args $container_image -c "$shell_command"
2 changes: 2 additions & 0 deletions hack/lib/common-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ environment=${environment:-""}

if [ -z "$environment" ]; then
export EKS_CLUSTER_NAME="eks-workshop"
export EKS_CLUSTER_AUTO_NAME="eks-workshop-auto"
else
export EKS_CLUSTER_NAME="eks-workshop-${environment}"
export EKS_CLUSTER_AUTO_NAME="eks-workshop-auto-${environment}"
fi

AWS_REGION=${AWS_REGION:-""}
Expand Down
Loading
Loading