- ๐ซ How to reach me: briancaffey.github.io/contact
briancaffey / cdk-django Goto Github PK
View Code? Open in Web Editor NEWA CDK library that provides high-level constructs for hosting Django applications on AWS
License: MIT License
A CDK library that provides high-level constructs for hosting Django applications on AWS
License: MIT License
For reference, see https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/deploy-multiple-stack-applications-using-aws-cdk-with-typescript.html
Consider splitting the EKS stack into nested stacks with one parent stack. This should solve issues of ALB DNS name.
Nested stacks:
EksBaseStack
: (VPC, EKS, AWS Load Balancer Controller)ApplicationStack
: (IRSA, S3, RDS, ElastiCache, Deployments, Services, Ingress, ACM)DnsResourceStack
: (Route53 Records for web, flower, etc. - Looks up ALB DNS from Application Stack)Pass the clusterId form EksBaseStack to ApplicationStack
Currently the site can only be deployed to the name of the hosted zone passed in to the stack. There should be:
I'm getting this error when the Ingress is applied to the cluster.
Received response status [FAILED] from custom resource. Message returned: Error: b'Warning: networking.k8s.io/v1beta1 Ingress is deprecated in v1.19+, unav
ailable in v1.22+; use networking.k8s.io/v1 Ingress\nError from server (InternalError): error when creating "/tmp/manifest.yaml": Internal error occurred:
failed calling webhook "vingress.elbv2.k8s.aws": Post "https://aws-load-balancer-webhook-service.kube-system.svc:443/validate-networking-v1beta1-ingress?ti
meout=10s": no endpoints available for service "aws-load-balancer-webhook-service"\n'
Errors deploying the stack, seems to be related to AWS Load Balancer Controller
Received response status [FAILED] from custom resource. Message returned: Error: Operation failed after 3 attempts: b'Unable to connect to the server: dial tcp: lookup C4764B11B1ACD0375678D408758A6E73.sk1.us-east-1.eks.amazonaws.com on 169.254.78.1:53: read udp 169.254.76.1:48370->169.254.78.1:53: i/o timeout\n' Logs: /aws/lambda/DjangoEksStack-awscdkawseksKubectl-Handler886CB40B-NgbKmkuyQRzI at invokeUserFunction (/var/task/framework.js:95:19) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async onEvent (/var/task/framework.js:19:27) at async Runtime.handler (/var/task/cfn-response.js:48:13) (RequestId: 42c5be50-d5cd-4a7d-8a6e-832bc0899d8e)
This could be related to aws/aws-cdk#4087
External DNS: https://github.com/kubernetes-sigs/external-dns
ExternalDNS allows you to control DNS records dynamically via Kubernetes resources in a DNS provider-agnostic way.
Implementation reference: https://github.com/aws-samples/nexus-oss-on-aws/blob/master/src/lib/sonatype-nexus3-stack.ts#L388
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.