1.0.1 • Published 2 years ago

pulumi-aws-backend v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Deploy backend app to EKS.

This template deploys an example Django backend api into EKS.

npm.io Following AWS products are being used:

Following Kubernetes resources are being used:

TODO

Getting Started

Install prerequisites with:

npm install

Configuration

Configure the template using pulumi config set dirname:key value

Example:

pulumi config set backend-api-aws:clusterName david-eks

EKS config

NameTypeRequiredDescription
clusterNamestringYesCluster name EKS
portnumberYesPort number of the app being deployed
imageUrlstringYesImage url that is located inside ECR
replicanumberYesAmount of replicas in k8s app
deployDashboardbooleanYesEnable kubernetes dashboard

RDS config

NameTypeRequiredDescription
dbNamestringYesDatabase name (must begin with a letter and contain alphanumeric chars)
enginestringYesSQL engine, just try the default "postgres" havent tried others
userNamestringYesDatabase user
passwordstringYesDatabase password

TODO in future

  • Swap out Helm chart for native pulumi ALB
  • Fix A record for the ALB to make backend domain more nice
  • Fix HTTPS so it can be connected to the deployed frontend from the other template
  • ECR hardcoded, maybe fix in future?

Frequent modules bugs and problems