- Uses the default backend configuration (local file named
terraform.tfstate
-- this has been.gitignore
-d!). - AWS authentication requires additional configuration, such as selecting a CLI profile. For more, see https://registry.terraform.io/providers/hashicorp/aws/latest/docs#authentication-and-configuration.
- This repository can build a minimal EKS cluster with an ALB, and omits as much detail as possible. It does not demonstrate security, best practice, nor least privilege -- be mindful of your observability, public access, and IAM policies!
- Requires Terraform 1.3 or above.
- Estimated cost to run (in
eu-west-1
): 0.2628$/hr = 6.3 $ /day = 189 $/month- VPC NAT Gateways (2x): 2*0.048
$/hr = 0.096 $ /hr - EKS Cluster: $0.10 /hr
- EKS Node Group (2x
t3.small
): 2*0.0208 $/hr - Application Load Balancer: 0.0252 $/hr
- VPC NAT Gateways (2x): 2*0.048
- To deploy it, run
terraform init
followed byterraform apply
. It takes ~15 minutes to complete. - Upon completion, the cluster will run httpbin fronted by an ALB. The ALB hostname is given by the
httpbin_ingress_host
output value. - You might see
Warning: "default_secret_name" is no longer applicable for Kubernetes v1.24.0 and above
. Although it doesn't apply to this demo, this warning can't be suppressed (see this issue). - To tear it down, run
terraform destroy
.
demo-eks-alb's Introduction
demo-eks-alb's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.